Class EnterBlockCriterion

All Implemented Interfaces:
Criterion<EnterBlockCriterion.Conditions>

public class EnterBlockCriterion extends AbstractCriterion<EnterBlockCriterion.Conditions>
Mappings:
Namespace Name
official bl
intermediary net/minecraft/class_2037
named net/minecraft/advancement/criterion/EnterBlockCriterion
  • Constructor Details

    • EnterBlockCriterion

      public EnterBlockCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<EnterBlockCriterion.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, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lbl;a(Lane;Ldjh;)V
      intermediary method_8885 Lnet/minecraft/class_2037;method_8885(Lnet/minecraft/class_3222;Lnet/minecraft/class_2680;)V
      named trigger Lnet/minecraft/advancement/criterion/EnterBlockCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/block/BlockState;)V