public class BlockEventData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Block |
blockType |
private int |
eventID
Different for each blockID
|
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()
Get the Event ID (different for each BlockID)
|
int |
getEventParameter() |
BlockPos |
getPosition() |
java.lang.String |
toString() |
private BlockPos position
private Block blockType
private int eventID
private 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