public class ShotCrossbowTrigger extends AbstractCriterionTrigger<ShotCrossbowTrigger.Instance>
| Modifier and Type | Class and Description |
|---|---|
static class |
ShotCrossbowTrigger.Instance |
ICriterionTrigger.Listener<T extends ICriterionInstance>| Modifier and Type | Field and Description |
|---|---|
private static ResourceLocation |
ID |
| Constructor and Description |
|---|
ShotCrossbowTrigger() |
| Modifier and Type | Method and Description |
|---|---|
ShotCrossbowTrigger.Instance |
deserializeInstance(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
void |
func_215111_a(ServerPlayerEntity shooter,
ItemStack stack) |
ResourceLocation |
getId() |
addListener, func_227070_a_, func_227071_b_, removeAllListeners, removeListenerprivate static final ResourceLocation ID
public ResourceLocation getId()
public ShotCrossbowTrigger.Instance deserializeInstance(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public void func_215111_a(ServerPlayerEntity shooter, ItemStack stack)