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.modelAndTextureThe field for themodelAndTexturerecord component.private final ModelAndTexture<CowVariant.ModelType> CowVariant.modelAndTextureThe field for themodelAndTexturerecord component.private final ModelAndTexture<PigVariant.ModelType> PigVariant.modelAndTextureThe field for themodelAndTexturerecord component.Methods in net.minecraft.world.entity.animal 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.world.entity.animal with parameters of type ModelAndTextureModifierConstructorDescriptionprivateChickenVariant(ModelAndTexture<ChickenVariant.ModelType> p_401944_) ChickenVariant(ModelAndTexture<ChickenVariant.ModelType> modelAndTexture, SpawnPrioritySelectors spawnConditions) Creates an instance of aChickenVariantrecord class.privateCowVariant(ModelAndTexture<CowVariant.ModelType> p_401192_) CowVariant(ModelAndTexture<CowVariant.ModelType> modelAndTexture, SpawnPrioritySelectors spawnConditions) Creates an instance of aCowVariantrecord class.privatePigVariant(ModelAndTexture<PigVariant.ModelType> p_400077_) 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)