Class ColonyPopulationTrigger

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

  • Constructor Details

    • ColonyPopulationTrigger

      public ColonyPopulationTrigger()
  • Method Details

    • trigger

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

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