Class PlaceSupplyTrigger

All Implemented Interfaces:
net.minecraft.advancements.CriterionTrigger<PlaceSupplyCriterionInstance>

Triggered when a supply camp or supply ship has been placed
  • Constructor Details

    • PlaceSupplyTrigger

      public PlaceSupplyTrigger()
  • Method Details

    • trigger

      public void trigger(net.minecraft.server.level.ServerPlayer player)
      Triggers the listener checks if there are any listening in
      Parameters:
      player - the player the check regards
    • createInstance

      @NotNull public @NotNull PlaceSupplyCriterionInstance createInstance(@NotNull @NotNull com.google.gson.JsonObject jsonObject, @NotNull @NotNull net.minecraft.advancements.critereon.DeserializationContext conditionArrayParser)