Class EventRenderBlockEntity
java.lang.Object
org.rusherhack.core.event.type.Event
org.rusherhack.core.event.type.EventCancellable
org.rusherhack.client.api.events.render.EventRenderBlockEntity
- All Implemented Interfaces:
org.rusherhack.core.event.stage.IStageable
public class EventRenderBlockEntity
extends org.rusherhack.core.event.type.EventCancellable
-
Constructor Summary
ConstructorDescriptionEventRenderBlockEntity
(net.minecraft.world.level.block.entity.BlockEntity blockEntity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.entity.BlockEntity
net.minecraft.client.renderer.MultiBufferSource
float
com.mojang.blaze3d.vertex.PoseStack
org.rusherhack.core.event.stage.Stage
org.rusherhack.core.event.stage.Stage
getStage()
void
setBufferSource
(net.minecraft.client.renderer.MultiBufferSource bufferSource) Only applies during ON stageMethods inherited from class org.rusherhack.core.event.type.EventCancellable
isCancelled, setCancelled
Methods inherited from class org.rusherhack.core.event.type.Event
setStage
-
Constructor Details
-
EventRenderBlockEntity
public EventRenderBlockEntity(net.minecraft.world.level.block.entity.BlockEntity blockEntity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource)
-
-
Method Details
-
getPreferredStage
public org.rusherhack.core.event.stage.Stage getPreferredStage()- Overrides:
getPreferredStage
in classorg.rusherhack.core.event.type.Event
-
getStage
public org.rusherhack.core.event.stage.Stage getStage()- Specified by:
getStage
in interfaceorg.rusherhack.core.event.stage.IStageable
- Overrides:
getStage
in classorg.rusherhack.core.event.type.Event
-
getBlockEntity
public net.minecraft.world.level.block.entity.BlockEntity getBlockEntity() -
getPartialTicks
public float getPartialTicks() -
getPoseStack
public com.mojang.blaze3d.vertex.PoseStack getPoseStack() -
getBufferSource
public net.minecraft.client.renderer.MultiBufferSource getBufferSource() -
setBufferSource
public void setBufferSource(net.minecraft.client.renderer.MultiBufferSource bufferSource) Only applies during ON stage
-