Class UndertakerTotemTrigger

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

A Trigger that is triggered when the undertaker recieves a totem of undying
  • Constructor Details

    • UndertakerTotemTrigger

      public UndertakerTotemTrigger()
  • 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 UndertakerTotemCriterionInstance createInstance(@NotNull @NotNull com.google.gson.JsonObject object, @NotNull @NotNull net.minecraft.advancements.critereon.DeserializationContext conditions)