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 eventParameterIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
Block |
getBlock() |
int |
getEventID() |
int |
getEventParameter() |
BlockPos |
getPosition() |
int |
hashCode() |
java.lang.String |
toString() |
private final BlockPos position
private final Block blockType
private final int eventID
private final int eventParameter
public BlockPos getPosition()
public Block getBlock()
public int getEventID()
public int getEventParameter()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object