Class GuiGameElement.GuiBlockPartialRenderBuilder
java.lang.Object
com.simibubi.create.foundation.gui.element.RenderElement
com.simibubi.create.foundation.gui.element.GuiGameElement.GuiRenderBuilder
com.simibubi.create.foundation.gui.element.GuiGameElement.GuiBlockPartialRenderBuilder
- All Implemented Interfaces:
ScreenElement
- Enclosing class:
- GuiGameElement
public static class GuiGameElement.GuiBlockPartialRenderBuilder
extends GuiGameElement.GuiRenderBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.gui.element.RenderElement
RenderElement.SimpleRenderElement -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.client.resources.model.BakedModelprotected net.minecraft.world.level.block.state.BlockStateFields inherited from class com.simibubi.create.foundation.gui.element.GuiGameElement.GuiRenderBuilder
color, customLighting, rotationOffset, scale, xLocal, xRot, yLocal, yRot, zLocal, zRot -
Constructor Summary
ConstructorsConstructorDescriptionGuiBlockPartialRenderBuilder(com.jozufozu.flywheel.core.PartialModel partial) -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(com.mojang.blaze3d.vertex.PoseStack matrixStack) protected voidrenderModel(net.minecraft.client.renderer.block.BlockRenderDispatcher blockRenderer, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer, net.minecraft.client.renderer.RenderType renderType, com.mojang.blaze3d.vertex.VertexConsumer vb, com.mojang.blaze3d.vertex.PoseStack ms) Methods inherited from class com.simibubi.create.foundation.gui.element.GuiGameElement.GuiRenderBuilder
atLocal, cleanUpLighting, cleanUpMatrix, color, lighting, prepareLighting, prepareMatrix, rotate, rotateBlock, scale, transformMatrix, withRotationOffset
-
Field Details
-
blockModel
protected net.minecraft.client.resources.model.BakedModel blockModel -
blockState
protected net.minecraft.world.level.block.state.BlockState blockState
-
-
Constructor Details
-
GuiBlockPartialRenderBuilder
public GuiBlockPartialRenderBuilder(com.jozufozu.flywheel.core.PartialModel partial)
-
-
Method Details
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack matrixStack) - Specified by:
renderin classRenderElement
-
renderModel
protected void renderModel(net.minecraft.client.renderer.block.BlockRenderDispatcher blockRenderer, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer, net.minecraft.client.renderer.RenderType renderType, com.mojang.blaze3d.vertex.VertexConsumer vb, com.mojang.blaze3d.vertex.PoseStack ms)
-