Class RegistryUtil
java.lang.Object
de.cech12.bucketlib.util.RegistryUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<net.minecraft.core.Holder<net.minecraft.world.level.block.Block>> static final com.mojang.serialization.Codec<net.minecraft.core.Holder<net.minecraft.world.entity.EntityType<?>>> static final com.mojang.serialization.Codec<net.minecraft.core.Holder<net.minecraft.world.level.material.Fluid>> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, net.minecraft.core.Holder<net.minecraft.world.level.block.Block>> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, net.minecraft.core.Holder<net.minecraft.world.entity.EntityType<?>>> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, net.minecraft.core.Holder<net.minecraft.world.level.material.Fluid>> -
Method Summary
Modifier and TypeMethodDescriptionstatic RegistryUtil.BucketBlockgetBucketBlock(net.minecraft.world.level.block.Block block) static List<RegistryUtil.BucketBlock> static List<RegistryUtil.BucketEntity> static RegistryUtil.BucketEntitygetBucketEntity(net.minecraft.world.entity.EntityType<?> entityType) static net.minecraft.core.RegistryAccess
-
Field Details
-
FLUID_CODEC
public static final com.mojang.serialization.Codec<net.minecraft.core.Holder<net.minecraft.world.level.material.Fluid>> FLUID_CODEC -
STREAM_FLUID_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, net.minecraft.core.Holder<net.minecraft.world.level.material.Fluid>> STREAM_FLUID_CODEC -
BLOCK_CODEC
public static final com.mojang.serialization.Codec<net.minecraft.core.Holder<net.minecraft.world.level.block.Block>> BLOCK_CODEC -
STREAM_BLOCK_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, net.minecraft.core.Holder<net.minecraft.world.level.block.Block>> STREAM_BLOCK_CODEC -
ENTITY_TYPE_CODEC
public static final com.mojang.serialization.Codec<net.minecraft.core.Holder<net.minecraft.world.entity.EntityType<?>>> ENTITY_TYPE_CODEC -
STREAM_ENTITY_TYPE_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, net.minecraft.core.Holder<net.minecraft.world.entity.EntityType<?>>> STREAM_ENTITY_TYPE_CODEC
-
-
Method Details
-
getBucketBlocks
-
getBucketBlock
-
getBucketEntities
-
getBucketEntity
public static RegistryUtil.BucketEntity getBucketEntity(net.minecraft.world.entity.EntityType<?> entityType) -
getRegistryAccess
public static net.minecraft.core.RegistryAccess getRegistryAccess()
-