Interface PlatformHandler.Internal
- All Known Implementing Classes:
NeoForgePlatformHandler.Internal
- Enclosing interface:
PlatformHandler
@Internal
public static interface PlatformHandler.Internal
-
Method Summary
Modifier and TypeMethodDescriptioncreateBlockEntityAttachment(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) <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) net.minecraft.world.item.CreativeModeTabcreateCreativeModeTab(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) <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) <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) voidprepareRegistryNamespace(String namespace)
-
Method Details
-
getModResourceRoots
-
prepareRegistryNamespace
-
getOxidizables
BlockConversionsImpl.Oxidizables 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)
-