Class SolidBlockPredicate

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

public class SolidBlockPredicate extends OffsetPredicate
Mappings:
Namespace Name
official dcg
intermediary net/minecraft/class_6784
named net/minecraft/world/gen/blockpredicate/SolidBlockPredicate
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<SolidBlockPredicate> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldcg;a:Lcom/mojang/serialization/Codec;
      intermediary field_35702 Lnet/minecraft/class_6784;field_35702:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/blockpredicate/SolidBlockPredicate;CODEC:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • SolidBlockPredicate

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

    • test

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

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