public class EnterBlockTrigger extends AbstractCriterionTrigger<EnterBlockTrigger.Instance>
Modifier and Type | Class and Description |
---|---|
static class |
EnterBlockTrigger.Instance |
ICriterionTrigger.Listener<T extends ICriterionInstance>
Constructor and Description |
---|
EnterBlockTrigger() |
Modifier and Type | Method and Description |
---|---|
EnterBlockTrigger.Instance |
deserializeInstance(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
ResourceLocation |
getId() |
void |
trigger(ServerPlayerEntity player,
BlockState state) |
addListener, func_227070_a_, func_227071_b_, removeAllListeners, removeListener
public ResourceLocation getId()
public EnterBlockTrigger.Instance deserializeInstance(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public void trigger(ServerPlayerEntity player, BlockState state)