Class EventRenderEntity
java.lang.Object
org.rusherhack.core.event.type.Event
org.rusherhack.core.event.type.EventCancellable
org.rusherhack.client.api.events.render.EventRenderEntity
- All Implemented Interfaces:
org.rusherhack.core.event.stage.IStageable
public class EventRenderEntity
extends org.rusherhack.core.event.type.EventCancellable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Constructor Summary
ConstructorDescriptionEventRenderEntity
(net.minecraft.world.entity.Entity entity, double x, double y, double z, float rotationYaw, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.renderer.MultiBufferSource
net.minecraft.world.entity.Entity
com.mojang.blaze3d.vertex.PoseStack
int
float
org.rusherhack.core.event.stage.Stage
float
org.rusherhack.core.event.stage.Stage
getStage()
double
getX()
double
getY()
double
getZ()
void
setBufferSource
(net.minecraft.client.renderer.MultiBufferSource buffer) Only applies during ON stagevoid
setRenderModel
(boolean shouldRenderModel) boolean
Methods inherited from class org.rusherhack.core.event.type.EventCancellable
isCancelled, setCancelled
Methods inherited from class org.rusherhack.core.event.type.Event
setStage
-
Constructor Details
-
EventRenderEntity
public EventRenderEntity(net.minecraft.world.entity.Entity entity, double x, double y, double z, float rotationYaw, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight)
-
-
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
-
getEntity
public net.minecraft.world.entity.Entity getEntity() -
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
getRotationYaw
public float getRotationYaw() -
getPartialTicks
public float getPartialTicks() -
getMatrixStack
public com.mojang.blaze3d.vertex.PoseStack getMatrixStack() -
getBuffer
public net.minecraft.client.renderer.MultiBufferSource getBuffer() -
setBufferSource
public void setBufferSource(net.minecraft.client.renderer.MultiBufferSource buffer) Only applies during ON stage -
setRenderModel
public void setRenderModel(boolean shouldRenderModel) -
shouldRenderModel
public boolean shouldRenderModel() -
getPackedLight
public int getPackedLight()
-