Uses of Record Class
net.minecraft.world.entity.variant.ModelAndTexture
Packages that use ModelAndTexture
Package
Description
-
Uses of ModelAndTexture in net.minecraft.world.entity.animal.chicken
Fields in net.minecraft.world.entity.animal.chicken declared as ModelAndTextureModifier and TypeFieldDescriptionprivate final ModelAndTexture<ChickenVariant.ModelType> ChickenVariant.modelAndTextureThe field for themodelAndTexturerecord component.Methods in net.minecraft.world.entity.animal.chicken that return ModelAndTextureModifier and TypeMethodDescriptionChickenVariant.modelAndTexture()Returns the value of themodelAndTexturerecord component.Constructors in net.minecraft.world.entity.animal.chicken with parameters of type ModelAndTextureModifierConstructorDescriptionprivateChickenVariant(ModelAndTexture<ChickenVariant.ModelType> p_478757_) ChickenVariant(ModelAndTexture<ChickenVariant.ModelType> modelAndTexture, SpawnPrioritySelectors spawnConditions) Creates an instance of aChickenVariantrecord class. -
Uses of ModelAndTexture in net.minecraft.world.entity.animal.cow
Fields in net.minecraft.world.entity.animal.cow declared as ModelAndTextureModifier and TypeFieldDescriptionprivate final ModelAndTexture<CowVariant.ModelType> CowVariant.modelAndTextureThe field for themodelAndTexturerecord component.Methods in net.minecraft.world.entity.animal.cow that return ModelAndTextureModifier and TypeMethodDescriptionCowVariant.modelAndTexture()Returns the value of themodelAndTexturerecord component.Constructors in net.minecraft.world.entity.animal.cow with parameters of type ModelAndTextureModifierConstructorDescriptionprivateCowVariant(ModelAndTexture<CowVariant.ModelType> p_479802_) CowVariant(ModelAndTexture<CowVariant.ModelType> modelAndTexture, SpawnPrioritySelectors spawnConditions) Creates an instance of aCowVariantrecord class. -
Uses of ModelAndTexture in net.minecraft.world.entity.animal.nautilus
Fields in net.minecraft.world.entity.animal.nautilus declared as ModelAndTextureModifier and TypeFieldDescriptionprivate final ModelAndTexture<ZombieNautilusVariant.ModelType> ZombieNautilusVariant.modelAndTextureThe field for themodelAndTexturerecord component.Methods in net.minecraft.world.entity.animal.nautilus that return ModelAndTextureModifier and TypeMethodDescriptionZombieNautilusVariant.modelAndTexture()Returns the value of themodelAndTexturerecord component.Constructors in net.minecraft.world.entity.animal.nautilus with parameters of type ModelAndTextureModifierConstructorDescriptionprivateZombieNautilusVariant(ModelAndTexture<ZombieNautilusVariant.ModelType> modelAndTexture, SpawnPrioritySelectors spawnConditions) Creates an instance of aZombieNautilusVariantrecord class. -
Uses of ModelAndTexture in net.minecraft.world.entity.animal.pig
Fields in net.minecraft.world.entity.animal.pig declared as ModelAndTextureModifier and TypeFieldDescriptionprivate final ModelAndTexture<PigVariant.ModelType> PigVariant.modelAndTextureThe field for themodelAndTexturerecord component.Methods in net.minecraft.world.entity.animal.pig that return ModelAndTextureModifier and TypeMethodDescriptionPigVariant.modelAndTexture()Returns the value of themodelAndTexturerecord component.Constructors in net.minecraft.world.entity.animal.pig with parameters of type ModelAndTextureModifierConstructorDescriptionprivatePigVariant(ModelAndTexture<PigVariant.ModelType> p_478429_) PigVariant(ModelAndTexture<PigVariant.ModelType> modelAndTexture, SpawnPrioritySelectors spawnConditions) Creates an instance of aPigVariantrecord class. -
Uses of ModelAndTexture in net.minecraft.world.entity.variant
Methods in net.minecraft.world.entity.variant that return types with arguments of type ModelAndTextureModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.MapCodec<ModelAndTexture<T>> ModelAndTexture.codec(com.mojang.serialization.Codec<T> pModelCodec, T pDefaultModel) static <T> StreamCodec<RegistryFriendlyByteBuf, ModelAndTexture<T>> ModelAndTexture.streamCodec(StreamCodec<? super RegistryFriendlyByteBuf, T> pModelCodec)