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
official cyd
intermediary net/minecraft/class_2717
named net/minecraft/predicate/block/BlockPredicate
  • Field Details

    • block

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

    • BlockPredicate

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

    • make

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

      public boolean method_11765(@Nullable @Nullable BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official a Lcyd;a(Lcxu;)Z
      intermediary method_11765 Lnet/minecraft/class_2717;method_11765(Lnet/minecraft/class_2680;)Z
      named method_11765 Lnet/minecraft/predicate/block/BlockPredicate;method_11765(Lnet/minecraft/block/BlockState;)Z