Interface PlatformHandler.Internal

All Known Implementing Classes:
NeoForgePlatformHandler.Internal
Enclosing interface:
PlatformHandler

@Internal public static interface PlatformHandler.Internal
  • Method Summary

    Modifier and Type
    Method
    Description
    createBlockEntityAttachment(net.minecraft.resources.Identifier id, Supplier<T> defaultValue, com.mojang.serialization.MapCodec<T> persistenceCodec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, T> syncCodec, BiPredicate<net.minecraft.world.level.block.entity.BlockEntity, net.minecraft.server.level.ServerPlayer> syncPredicate)
     
    createChunkAttachment(net.minecraft.resources.Identifier id, Supplier<T> defaultValue, com.mojang.serialization.MapCodec<T> persistenceCodec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, T> syncCodec, BiPredicate<net.minecraft.world.level.chunk.ChunkAccess, net.minecraft.server.level.ServerPlayer> syncPredicate)
     
    net.minecraft.world.item.CreativeModeTab
    createCreativeModeTab(net.minecraft.world.item.CreativeModeTab.Row row, int column, net.minecraft.network.chat.Component displayName, Supplier<net.minecraft.world.item.ItemStack> iconGenerator, net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator displayItemsGenerator)
     
    createEntityAttachment(net.minecraft.resources.Identifier id, Supplier<T> defaultValue, com.mojang.serialization.MapCodec<T> persistenceCodec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, T> syncCodec, BiPredicate<net.minecraft.world.entity.Entity, net.minecraft.server.level.ServerPlayer> syncPredicate, boolean copyOnDeath)
     
    createLevelAttachment(net.minecraft.resources.Identifier id, Supplier<T> defaultValue, com.mojang.serialization.MapCodec<T> persistenceCodec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, T> syncCodec, BiPredicate<net.minecraft.server.level.ServerLevel, net.minecraft.server.level.ServerPlayer> syncPredicate)
     
     
     
    void
     
  • Method Details

    • getModResourceRoots

      List<Path> getModResourceRoots()
    • prepareRegistryNamespace

      void prepareRegistryNamespace(String namespace)
    • getOxidizables

    • createCreativeModeTab

      net.minecraft.world.item.CreativeModeTab createCreativeModeTab(net.minecraft.world.item.CreativeModeTab.Row row, int column, net.minecraft.network.chat.Component displayName, Supplier<net.minecraft.world.item.ItemStack> iconGenerator, net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator displayItemsGenerator)
    • createEntityAttachment

      <T> UnifiedAttachments.Entity<T> createEntityAttachment(net.minecraft.resources.Identifier id, Supplier<T> defaultValue, com.mojang.serialization.MapCodec<T> persistenceCodec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, T> syncCodec, BiPredicate<net.minecraft.world.entity.Entity, net.minecraft.server.level.ServerPlayer> syncPredicate, boolean copyOnDeath)
    • createBlockEntityAttachment

      <T> UnifiedAttachments.BlockEntity<T> createBlockEntityAttachment(net.minecraft.resources.Identifier id, Supplier<T> defaultValue, com.mojang.serialization.MapCodec<T> persistenceCodec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, T> syncCodec, BiPredicate<net.minecraft.world.level.block.entity.BlockEntity, net.minecraft.server.level.ServerPlayer> syncPredicate)
    • createChunkAttachment

      <T> UnifiedAttachments.Chunk<T> createChunkAttachment(net.minecraft.resources.Identifier id, Supplier<T> defaultValue, com.mojang.serialization.MapCodec<T> persistenceCodec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, T> syncCodec, BiPredicate<net.minecraft.world.level.chunk.ChunkAccess, net.minecraft.server.level.ServerPlayer> syncPredicate)
    • createLevelAttachment

      <T> UnifiedAttachments.Level<T> createLevelAttachment(net.minecraft.resources.Identifier id, Supplier<T> defaultValue, com.mojang.serialization.MapCodec<T> persistenceCodec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, T> syncCodec, BiPredicate<net.minecraft.server.level.ServerLevel, net.minecraft.server.level.ServerPlayer> syncPredicate)