LivingEntityUseBlockEvent

public class LivingEntityUseBlockEvent implements IEvent

Event fired when livingentityuseblock occurs. Listen for this event using EventBus.register.

java.lang.Object > LivingEntityUseBlockEvent

Field Summary

ref

private Ref ref

Field ref.

blockType

private String blockType

Field blockType.

Method Detail

LivingEntityUseBlockEvent

public public LivingEntityUseBlockEvent (final Ref ref, final String blockType)

Method LivingEntityUseBlockEvent.

Parameters:
final Ref ref
final String blockType

getBlockType

public String getBlockType ()

Method getBlockType.

getRef

public Ref getRef ()

Method getRef.

toString

public String toString ()

Method toString.