Uses of Record Class
net.minecraft.world.entity.variant.ModelAndTexture
Packages that use ModelAndTexture
-
Uses of ModelAndTexture in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as ModelAndTextureModifier and TypeFieldDescriptionprivate final ModelAndTexture
<ChickenVariant.ModelType> ChickenVariant.modelAndTexture
The field for themodelAndTexture
record component.private final ModelAndTexture
<CowVariant.ModelType> CowVariant.modelAndTexture
The field for themodelAndTexture
record component.private final ModelAndTexture
<PigVariant.ModelType> PigVariant.modelAndTexture
The field for themodelAndTexture
record component.Methods in net.minecraft.world.entity.animal that return ModelAndTextureModifier and TypeMethodDescriptionChickenVariant.modelAndTexture()
Returns the value of themodelAndTexture
record component.CowVariant.modelAndTexture()
Returns the value of themodelAndTexture
record component.PigVariant.modelAndTexture()
Returns the value of themodelAndTexture
record component.Constructors in net.minecraft.world.entity.animal with parameters of type ModelAndTextureModifierConstructorDescriptionprivate
ChickenVariant
(ModelAndTexture<ChickenVariant.ModelType> p_401944_) ChickenVariant
(ModelAndTexture<ChickenVariant.ModelType> modelAndTexture, SpawnPrioritySelectors spawnConditions) Creates an instance of aChickenVariant
record class.private
CowVariant
(ModelAndTexture<CowVariant.ModelType> p_401192_) CowVariant
(ModelAndTexture<CowVariant.ModelType> modelAndTexture, SpawnPrioritySelectors spawnConditions) Creates an instance of aCowVariant
record class.private
PigVariant
(ModelAndTexture<PigVariant.ModelType> p_400077_) PigVariant
(ModelAndTexture<PigVariant.ModelType> modelAndTexture, SpawnPrioritySelectors spawnConditions) Creates an instance of aPigVariant
record 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> p_399564_, T p_400177_) static <T> StreamCodec
<RegistryFriendlyByteBuf, ModelAndTexture<T>> ModelAndTexture.streamCodec
(StreamCodec<? super RegistryFriendlyByteBuf, T> p_400232_)