Uses of Record Class
net.minecraft.util.ModelAndTexture
Packages that use ModelAndTexture
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of ModelAndTexture in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as ModelAndTextureModifier and TypeFieldDescriptionprivate final ModelAndTexture
<ChickenVariant.Model> ChickenVariant.modelAndTexture
The field for themodelAndTexture
record component.private final ModelAndTexture
<CowVariant.Model> CowVariant.modelAndTexture
The field for themodelAndTexture
record component.private final ModelAndTexture
<PigVariant.Model> PigVariant.modelAndTexture
The field for themodelAndTexture
record component.Methods in net.minecraft.entity.passive 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.entity.passive with parameters of type ModelAndTextureModifierConstructorDescriptionprivate
ChickenVariant
(ModelAndTexture<ChickenVariant.Model> modelAndTexture) ChickenVariant
(ModelAndTexture<ChickenVariant.Model> modelAndTexture, SpawnConditionSelectors spawnConditionSelectors) private
CowVariant
(ModelAndTexture<CowVariant.Model> modelAndTexture) CowVariant
(ModelAndTexture<CowVariant.Model> modelAndTexture, SpawnConditionSelectors spawnConditionSelectors) private
PigVariant
(ModelAndTexture<PigVariant.Model> modelAndTexture) PigVariant
(ModelAndTexture<PigVariant.Model> modelAndTexture, SpawnConditionSelectors spawnConditionSelectors) -
Uses of ModelAndTexture in net.minecraft.util
Methods in net.minecraft.util that return types with arguments of type ModelAndTextureModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.MapCodec
<ModelAndTexture<T>> ModelAndTexture.createMapCodec
(com.mojang.serialization.Codec<T> modelCodec, T model) static <T> PacketCodec
<RegistryByteBuf, ModelAndTexture<T>> ModelAndTexture.createPacketCodec
(PacketCodec<? super RegistryByteBuf, T> modelPacketCodec)