Class ReplaceableBlockPredicate

java.lang.Object
net.minecraft.world.gen.blockpredicate.OffsetPredicate
net.minecraft.world.gen.blockpredicate.ReplaceableBlockPredicate
All Implemented Interfaces:
BiPredicate<StructureWorldAccess,BlockPos>, BlockPredicate

class ReplaceableBlockPredicate extends OffsetPredicate
Mappings:
Namespace Name
named net/minecraft/world/gen/blockpredicate/ReplaceableBlockPredicate
intermediary net/minecraft/class_6652
official eff
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<ReplaceableBlockPredicate> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/blockpredicate/ReplaceableBlockPredicate;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_35071 Lnet/minecraft/class_6652;field_35071:Lcom/mojang/serialization/MapCodec;
      official a Leff;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • ReplaceableBlockPredicate

      public ReplaceableBlockPredicate(Vec3i offset)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;<init>(Lnet/minecraft/util/math/Vec3i;)V
      intermediary <init> Lnet/minecraft/class_6679;<init>(Lnet/minecraft/class_2382;)V
      official <init> Lefh;<init>(Lkl;)V
  • Method Details

    • test

      protected boolean test(BlockState state)
      Specified by:
      test in class OffsetPredicate
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;test(Lnet/minecraft/block/BlockState;)Z
      intermediary method_38893 Lnet/minecraft/class_6679;method_38893(Lnet/minecraft/class_2680;)Z
      official a Lefh;a(Ldxu;)Z
    • getType

      public BlockPredicateType<?> getType()
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;getType()Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
      intermediary method_38873 Lnet/minecraft/class_6646;method_38873()Lnet/minecraft/class_6647;
      official a Leew;a()Leex;