Class AnyBlockUseCriterion

All Implemented Interfaces:
Criterion<AnyBlockUseCriterion.Conditions>

public class AnyBlockUseCriterion extends AbstractCriterion<AnyBlockUseCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/AnyBlockUseCriterion
intermediary net/minecraft/class_9104
official av
  • Constructor Details

    • AnyBlockUseCriterion

      public AnyBlockUseCriterion()
  • Method Details

    • getConditionsCodec

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

      public void trigger(ServerPlayerEntity player, BlockPos pos, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/AnyBlockUseCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)V
      intermediary method_56049 Lnet/minecraft/class_9104;method_56049(Lnet/minecraft/class_3222;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)V
      official a Lav;a(Lasi;Ljh;Lcxo;)V