Class UsedTotemCriterion

All Implemented Interfaces:
Criterion<UsedTotemCriterion.Conditions>

public class UsedTotemCriterion extends AbstractCriterion<UsedTotemCriterion.Conditions>
Mappings:
Namespace Name
official dg
intermediary net/minecraft/class_2148
named net/minecraft/advancement/criterion/UsedTotemCriterion
  • Constructor Details

    • UsedTotemCriterion

      public UsedTotemCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<UsedTotemCriterion.Conditions> getConditionsCodec()
      Mappings:
      Namespace Name Mixin selector
      official a Lap;a()Lcom/mojang/serialization/Codec;
      intermediary method_54937 Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
      named getConditionsCodec Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
    • trigger

      public void trigger(ServerPlayerEntity player, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Ldg;a(Lane;Lcmy;)V
      intermediary method_9165 Lnet/minecraft/class_2148;method_9165(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;)V
      named trigger Lnet/minecraft/advancement/criterion/UsedTotemCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;)V