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
  • 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 class org.rusherhack.core.event.type.Event
    • getStage

      public org.rusherhack.core.event.stage.Stage getStage()
      Specified by:
      getStage in interface org.rusherhack.core.event.stage.IStageable
      Overrides:
      getStage in class org.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()