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