Class BlockEventData

java.lang.Object
net.minecraft.world.level.BlockEventData

public class BlockEventData extends Object
  • Field Details

    • pos

      private final BlockPos pos
    • block

      private final Block block
    • paramA

      private final int paramA
    • paramB

      private final int paramB
  • Constructor Details

    • BlockEventData

      public BlockEventData(BlockPos p_45534_, Block p_45535_, int p_45536_, int p_45537_)
  • Method Details

    • getPos

      public BlockPos getPos()
    • getBlock

      public Block getBlock()
    • getParamA

      public int getParamA()
    • getParamB

      public int getParamB()
    • equals

      public boolean equals(Object p_45543_)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object