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
named net/minecraft/world/gen/blockpredicate/InsideWorldBoundsBlockPredicate
intermediary net/minecraft/class_6783
official efa
  • Field Details

    • CODEC

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

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

    • InsideWorldBoundsBlockPredicate

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

    • test

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

      public BlockPredicateType<?> getType()
      Specified by:
      getType in interface BlockPredicate
      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;