Uses of Enum Class
net.minecraft.client.render.model.json.ModelTransformationMode
Package
Description
-
Uses of ModelTransformationMode in net.minecraft.client.render.entity.feature
Modifier and TypeMethodDescriptionprotected void
HeldItemFeatureRenderer.renderItem
(LivingEntity entity, ItemStack stack, ModelTransformationMode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) protected void
PlayerHeldItemFeatureRenderer.renderItem
(LivingEntity entity, ItemStack stack, ModelTransformationMode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) -
Uses of ModelTransformationMode in net.minecraft.client.render.item
Modifier and TypeMethodDescriptionvoid
BuiltinModelItemRenderer.render
(ItemStack stack, ModelTransformationMode mode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay) void
HeldItemRenderer.renderItem
(LivingEntity entity, ItemStack stack, ModelTransformationMode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) void
ItemRenderer.renderItem
(@Nullable LivingEntity entity, ItemStack item, ModelTransformationMode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int light, int overlay, int seed) void
ItemRenderer.renderItem
(ItemStack stack, ModelTransformationMode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BakedModel model) void
ItemRenderer.renderItem
(ItemStack stack, ModelTransformationMode transformationType, int light, int overlay, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int seed) -
Uses of ModelTransformationMode in net.minecraft.client.render.model.json
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ModelTransformationMode>
ModelTransformationMode.CODEC
static final IntFunction<ModelTransformationMode>
ModelTransformationMode.FROM_INDEX
Modifier and TypeMethodDescriptionstatic ModelTransformationMode
Returns the enum constant of this class with the specified name.static ModelTransformationMode[]
ModelTransformationMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionprivate Transformation
JsonUnbakedModel.getTransformation
(ModelTransformationMode renderMode) ModelTransformation.getTransformation
(ModelTransformationMode renderMode) boolean
ModelTransformation.isTransformationDefined
(ModelTransformationMode renderMode) private Transformation
ModelTransformation.Deserializer.parseModelTransformation
(JsonDeserializationContext ctx, JsonObject jsonObject, ModelTransformationMode modelTransformationMode) -
Uses of ModelTransformationMode in net.minecraft.entity.decoration
Modifier and TypeFieldDescriptionprivate final ModelTransformationMode
DisplayEntity.ItemDisplayEntity.Data.itemTransform
The field for theitemTransform
record component.Modifier and TypeMethodDescriptionprivate ModelTransformationMode
DisplayEntity.ItemDisplayEntity.getTransformationMode()
DisplayEntity.ItemDisplayEntity.Data.itemTransform()
Returns the value of theitemTransform
record component.Modifier and TypeMethodDescriptionprivate void
DisplayEntity.ItemDisplayEntity.setTransformationMode
(ModelTransformationMode transformationMode) ModifierConstructorDescriptionData
(ItemStack itemStack, ModelTransformationMode modelTransformationMode)