Class SemiblockEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
me.desht.pneumaticcraft.api.semiblock.SemiblockEvent
Direct Known Subclasses:
SemiblockEvent.BreakEvent, SemiblockEvent.PlaceEvent

public class SemiblockEvent extends net.minecraftforge.eventbus.api.Event
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Fired when a semiblock has been removed from the world.
    static class 
    Fired when a semiblock has been added to the world.

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.core.BlockPos
     
     
    net.minecraft.core.Direction
     
    net.minecraft.world.level.Level
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getWorld

      public net.minecraft.world.level.Level getWorld()
    • getPos

      public net.minecraft.core.BlockPos getPos()
    • getSemiblock

      public ISemiBlock getSemiblock()
    • getSide

      public net.minecraft.core.Direction getSide()