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
ConstructorDescriptionModelEntityBlock
(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, float red, float green, float blue, float alpha) void
renderToBuffer
(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) Methods inherited from class net.minecraft.client.model.Model
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, float red, float green, float blue, float alpha) -
renderToBuffer
public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) - Specified by:
renderToBuffer
in classnet.minecraft.client.model.Model
-