Class BlockPredicate

java.lang.Object
net.minecraft.predicate.block.BlockPredicate
All Implemented Interfaces:
Predicate<BlockState>

public class BlockPredicate extends Object implements Predicate<BlockState>
Mappings:
Namespace Name
named net/minecraft/predicate/block/BlockPredicate
intermediary net/minecraft/class_2717
official dsm
  • Field Details

    • block

      private final Block block
      Mappings:
      Namespace Name Mixin selector
      named block Lnet/minecraft/predicate/block/BlockPredicate;block:Lnet/minecraft/block/Block;
      intermediary field_12423 Lnet/minecraft/class_2717;field_12423:Lnet/minecraft/class_2248;
      official a Ldsm;a:Ldfb;
  • Constructor Details

    • BlockPredicate

      public BlockPredicate(Block block)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/predicate/block/BlockPredicate;<init>(Lnet/minecraft/block/Block;)V
      intermediary <init> Lnet/minecraft/class_2717;<init>(Lnet/minecraft/class_2248;)V
      official <init> Ldsm;<init>(Ldfb;)V
  • Method Details

    • make

      public static BlockPredicate make(Block block)
      Mappings:
      Namespace Name Mixin selector
      named make Lnet/minecraft/predicate/block/BlockPredicate;make(Lnet/minecraft/block/Block;)Lnet/minecraft/predicate/block/BlockPredicate;
      intermediary method_11766 Lnet/minecraft/class_2717;method_11766(Lnet/minecraft/class_2248;)Lnet/minecraft/class_2717;
      official a Ldsm;a(Ldfb;)Ldsm;
    • test

      public boolean test(@Nullable @Nullable BlockState blockState)
      Specified by:
      test in interface Predicate<BlockState>
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/predicate/block/BlockPredicate;test(Lnet/minecraft/block/BlockState;)Z
      intermediary method_11765 Lnet/minecraft/class_2717;method_11765(Lnet/minecraft/class_2680;)Z
      official a Ldsm;a(Ldse;)Z