Uses of Record Class
net.minecraft.world.entity.animal.pig.PigVariant
Packages that use PigVariant
Package
Description
-
Uses of PigVariant in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as PigVariant -
Uses of PigVariant in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type PigVariantModifier and TypeFieldDescriptionstatic final DataComponentType<Holder<PigVariant>> DataComponents.PIG_VARIANT -
Uses of PigVariant in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type PigVariantModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<PigVariant>> Registries.PIG_VARIANT -
Uses of PigVariant in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type PigVariantModifier and TypeFieldDescriptionstatic final EntityDataSerializer<Holder<PigVariant>> EntityDataSerializers.PIG_VARIANT -
Uses of PigVariant in net.minecraft.world.entity.animal.pig
Fields in net.minecraft.world.entity.animal.pig with type parameters of type PigVariantModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<PigVariant>> PigVariant.CODECstatic final ResourceKey<PigVariant> PigVariants.COLDprivate static final EntityDataAccessor<Holder<PigVariant>> Pig.DATA_VARIANT_IDstatic final ResourceKey<PigVariant> PigVariants.DEFAULTstatic final com.mojang.serialization.Codec<PigVariant> PigVariant.DIRECT_CODECstatic final com.mojang.serialization.Codec<PigVariant> PigVariant.NETWORK_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PigVariant>> PigVariant.STREAM_CODECstatic final ResourceKey<PigVariant> PigVariants.TEMPERATEstatic final ResourceKey<PigVariant> PigVariants.WARMMethods in net.minecraft.world.entity.animal.pig that return types with arguments of type PigVariantModifier and TypeMethodDescriptionprivate static ResourceKey<PigVariant> PigVariants.createKey(Identifier id) Pig.getVariant()Method parameters in net.minecraft.world.entity.animal.pig with type arguments of type PigVariantModifier and TypeMethodDescriptionstatic voidPigVariants.bootstrap(BootstrapContext<PigVariant> context) private static voidPigVariants.register(BootstrapContext<PigVariant> context, ResourceKey<PigVariant> name, PigVariant.ModelType modelType, String textureName, String babyTextureName, TagKey<Biome> spawnBiome) private static voidPigVariants.register(BootstrapContext<PigVariant> context, ResourceKey<PigVariant> name, PigVariant.ModelType modelType, String textureName, String babyTextureName, TagKey<Biome> spawnBiome) private static voidPigVariants.register(BootstrapContext<PigVariant> context, ResourceKey<PigVariant> name, PigVariant.ModelType modelType, String textureName, String babyTextureName, SpawnPrioritySelectors selectors) private static voidPigVariants.register(BootstrapContext<PigVariant> context, ResourceKey<PigVariant> name, PigVariant.ModelType modelType, String textureName, String babyTextureName, SpawnPrioritySelectors selectors) private voidPig.setVariant(Holder<PigVariant> variant)