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.modelAndTextureThe field for themodelAndTexturerecord component.private final ModelAndTexture<CowVariant.Model> CowVariant.modelAndTextureThe field for themodelAndTexturerecord component.private final ModelAndTexture<PigVariant.Model> PigVariant.modelAndTextureThe field for themodelAndTexturerecord component.Methods in net.minecraft.entity.passive that return ModelAndTextureModifier and TypeMethodDescriptionChickenVariant.modelAndTexture()Returns the value of themodelAndTexturerecord component.CowVariant.modelAndTexture()Returns the value of themodelAndTexturerecord component.PigVariant.modelAndTexture()Returns the value of themodelAndTexturerecord component.Constructors in net.minecraft.entity.passive with parameters of type ModelAndTextureModifierConstructorDescriptionprivateChickenVariant(ModelAndTexture<ChickenVariant.Model> modelAndTexture) ChickenVariant(ModelAndTexture<ChickenVariant.Model> modelAndTexture, SpawnConditionSelectors spawnConditionSelectors) privateCowVariant(ModelAndTexture<CowVariant.Model> modelAndTexture) CowVariant(ModelAndTexture<CowVariant.Model> modelAndTexture, SpawnConditionSelectors spawnConditionSelectors) privatePigVariant(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)