public class BlockEventData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Block |
blockType |
private int |
eventID |
private int |
eventParameter |
private BlockPos |
position |
Constructor and Description |
---|
BlockEventData(BlockPos pos,
Block blockType,
int eventId,
int p_i45756_4_) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
Block |
getBlock() |
int |
getEventID() |
int |
getEventParameter() |
BlockPos |
getPosition() |
java.lang.String |
toString() |
private final BlockPos position
private final Block blockType
private final int eventID
private final int eventParameter
public BlockPos getPosition()
public int getEventID()
public int getEventParameter()
public Block getBlock()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object