Class InsideWorldBoundsBlockPredicate

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

public class InsideWorldBoundsBlockPredicate extends Object implements BlockPredicate
Mappings:
Namespace Name
official dfm
intermediary net/minecraft/class_6783
named net/minecraft/world/gen/blockpredicate/InsideWorldBoundsBlockPredicate
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<InsideWorldBoundsBlockPredicate> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldfm;a:Lcom/mojang/serialization/Codec;
      intermediary field_35700 Lnet/minecraft/class_6783;field_35700:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/blockpredicate/InsideWorldBoundsBlockPredicate;CODEC:Lcom/mojang/serialization/Codec;
    • offset

      private final Vec3i offset
      Mappings:
      Namespace Name Mixin selector
      official e Ldfm;e:Lhu;
      intermediary field_35701 Lnet/minecraft/class_6783;field_35701:Lnet/minecraft/class_2382;
      named offset Lnet/minecraft/world/gen/blockpredicate/InsideWorldBoundsBlockPredicate;offset:Lnet/minecraft/util/math/Vec3i;
  • Constructor Details

    • InsideWorldBoundsBlockPredicate

      public InsideWorldBoundsBlockPredicate(Vec3i offset)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldfm;<init>(Lhu;)V
      intermediary <init> Lnet/minecraft/class_6783;<init>(Lnet/minecraft/class_2382;)V
      named <init> Lnet/minecraft/world/gen/blockpredicate/InsideWorldBoundsBlockPredicate;<init>(Lnet/minecraft/util/math/Vec3i;)V
  • Method Details

    • test

      public boolean test(StructureWorldAccess structureWorldAccess, BlockPos blockPos)
      Specified by:
      test in interface BiPredicate<StructureWorldAccess,BlockPos>
      Mappings:
      Namespace Name Mixin selector
      official a Ldfm;a(Lckp;Lgp;)Z
      intermediary method_39587 Lnet/minecraft/class_6783;method_39587(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
      named test Lnet/minecraft/world/gen/blockpredicate/InsideWorldBoundsBlockPredicate;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
    • getType

      public BlockPredicateType<?> getType()
      Specified by:
      getType in interface BlockPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Ldfi;a()Ldfj;
      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;