Class BadgeCurioRenderer
java.lang.Object
com.petrolpark.compat.curios.renderer.BadgeCurioRenderer
- All Implemented Interfaces:
top.theillusivec4.curios.api.client.ICurioRenderer
public class BadgeCurioRenderer
extends Object
implements top.theillusivec4.curios.api.client.ICurioRenderer
-
Nested Class Summary
Nested classes/interfaces inherited from interface top.theillusivec4.curios.api.client.ICurioRenderer
top.theillusivec4.curios.api.client.ICurioRenderer.HumanoidRender, top.theillusivec4.curios.api.client.ICurioRenderer.ModelRender<L extends net.minecraft.client.model.Model> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.model.geom.builders.MeshDefinitionmesh()<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>>
voidrender(net.minecraft.world.item.ItemStack stack, top.theillusivec4.curios.api.SlotContext slotContext, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.entity.RenderLayerParent<T, M> renderLayerParent, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int light, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch) Performs rendering of the curio.
-
Constructor Details
-
BadgeCurioRenderer
public BadgeCurioRenderer(net.minecraft.client.model.geom.ModelPart part)
-
-
Method Details
-
render
public <T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>> void render(net.minecraft.world.item.ItemStack stack, top.theillusivec4.curios.api.SlotContext slotContext, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.entity.RenderLayerParent<T, M> renderLayerParent, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int light, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch) Description copied from interface:top.theillusivec4.curios.api.client.ICurioRendererPerforms rendering of the curio.- Specified by:
renderin interfacetop.theillusivec4.curios.api.client.ICurioRendererslotContext- The slot context of the curio that is being rendered
-
mesh
public static net.minecraft.client.model.geom.builders.MeshDefinition mesh()
-