Package com.hbm_m.client.render.missile
Class MissileRenderData
java.lang.Object
com.hbm_m.client.render.missile.MissileRenderData
-
Constructor Summary
ConstructorsConstructorDescriptionMissileRenderData(net.minecraft.resources.ResourceLocation itemId, net.minecraft.resources.ResourceLocation texture, float scale, ItemRenderMissileGeneric.RenderMissileType renderType) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationitemId()static MissileRenderDatalarge(net.minecraft.resources.ResourceLocation itemId, net.minecraft.resources.ResourceLocation texture, ItemRenderMissileGeneric.RenderMissileType renderType) voidrender(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, net.minecraft.core.BlockPos lightPos) voidrender(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, net.minecraft.core.BlockPos lightPos, net.minecraft.client.renderer.MultiBufferSource bufferSource) voidrender(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, net.minecraft.core.BlockPos lightPos, net.minecraft.client.renderer.MultiBufferSource bufferSource, net.minecraft.world.level.block.entity.BlockEntity blockEntity) floatscale()static MissileRenderDatastandard(net.minecraft.resources.ResourceLocation itemId, net.minecraft.resources.ResourceLocation texture, ItemRenderMissileGeneric.RenderMissileType renderType) static MissileRenderDatastealth(net.minecraft.resources.ResourceLocation itemId) net.minecraft.resources.ResourceLocationtexture()static MissileRenderDatawithPadScale(net.minecraft.resources.ResourceLocation itemId, net.minecraft.resources.ResourceLocation texture, float padScale) Pad / in-flight fallback; reusesItemRenderMissileGeneric.RenderMissileTypefrom registry when the item is registered.
-
Constructor Details
-
MissileRenderData
public MissileRenderData(net.minecraft.resources.ResourceLocation itemId, net.minecraft.resources.ResourceLocation texture, float scale, ItemRenderMissileGeneric.RenderMissileType renderType)
-
-
Method Details
-
itemId
public net.minecraft.resources.ResourceLocation itemId() -
texture
public net.minecraft.resources.ResourceLocation texture() -
scale
public float scale() -
renderType
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, net.minecraft.core.BlockPos lightPos) -
render
public void render(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, net.minecraft.core.BlockPos lightPos, @Nullable net.minecraft.client.renderer.MultiBufferSource bufferSource) -
render
public void render(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, net.minecraft.core.BlockPos lightPos, @Nullable net.minecraft.client.renderer.MultiBufferSource bufferSource, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity) -
standard
public static MissileRenderData standard(net.minecraft.resources.ResourceLocation itemId, net.minecraft.resources.ResourceLocation texture, ItemRenderMissileGeneric.RenderMissileType renderType) -
large
public static MissileRenderData large(net.minecraft.resources.ResourceLocation itemId, net.minecraft.resources.ResourceLocation texture, ItemRenderMissileGeneric.RenderMissileType renderType) -
stealth
-
withPadScale
public static MissileRenderData withPadScale(net.minecraft.resources.ResourceLocation itemId, net.minecraft.resources.ResourceLocation texture, float padScale) Pad / in-flight fallback; reusesItemRenderMissileGeneric.RenderMissileTypefrom registry when the item is registered.
-