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

    Constructors
    Constructor
    Description
    EventRenderBlockEntity(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 Type
    Method
    Description
    net.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
     
    void
    setBufferSource(net.minecraft.client.renderer.MultiBufferSource bufferSource)
    Only applies during ON stage

    Methods inherited from class org.rusherhack.core.event.type.EventCancellable

    isCancelled, setCancelled

    Methods inherited from class org.rusherhack.core.event.type.Event

    setStage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 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
    • 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