Class ModelEntityBlock<T extends net.minecraft.world.level.block.entity.BlockEntity>
java.lang.Object
net.minecraft.client.model.Model
com.pixelmonmod.pixelmon.client.models.blocks.ModelEntityBlock<T>
- Direct Known Subclasses:
ModelBrokenCloningMachine
,ModelCloningMachine
public abstract class ModelEntityBlock<T extends net.minecraft.world.level.block.entity.BlockEntity>
extends net.minecraft.client.model.Model
-
Field Summary
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
ConstructorsConstructorDescriptionModelEntityBlock
(Function<net.minecraft.resources.ResourceLocation, net.minecraft.client.renderer.RenderType> renderTypeIn) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
renderTileEntity
(T tileEnt, com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) void
renderToBuffer
(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) Methods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Constructor Details
-
ModelEntityBlock
public ModelEntityBlock(Function<net.minecraft.resources.ResourceLocation, net.minecraft.client.renderer.RenderType> renderTypeIn)
-
-
Method Details
-
renderTileEntity
public abstract void renderTileEntity(T tileEnt, com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) -
renderToBuffer
public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) - Specified by:
renderToBuffer
in classnet.minecraft.client.model.Model
-