Class LivingEntityUseBlockEvent

java.lang.Object
com.hypixel.hytale.server.core.event.events.entity.LivingEntityUseBlockEvent
All Implemented Interfaces:
IBaseEvent<String>, IEvent<String>

@Deprecated(forRemoval=true) public class LivingEntityUseBlockEvent extends Object implements IEvent<String>
Deprecated, for removal: This API element is subject to removal in a future version.
Use UseBlockEvent instead, which is the more ECS-friendly version of this event.
An event that is called when a LivingEntity uses (right-clicks) a block in the world.
  • Constructor Details

    • LivingEntityUseBlockEvent

      public LivingEntityUseBlockEvent(Ref<EntityStore> ref, String blockType)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getBlockType

      public String getBlockType()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getRef

      public Ref<EntityStore> getRef()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toString

      @Nonnull public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object