Class HasSturdyFacePredicate

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

public class HasSturdyFacePredicate extends Object implements BlockPredicate
Mappings:
Namespace Name
official dbb
intermediary net/minecraft/class_6847
named net/minecraft/world/gen/blockpredicate/HasSturdyFacePredicate
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<HasSturdyFacePredicate> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldbb;a:Lcom/mojang/serialization/Codec;
      intermediary field_36284 Lnet/minecraft/class_6847;field_36284:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/blockpredicate/HasSturdyFacePredicate;CODEC:Lcom/mojang/serialization/Codec;
    • offset

      private final Vec3i offset
      Mappings:
      Namespace Name Mixin selector
      official e Ldbb;e:Lhs;
      intermediary field_36285 Lnet/minecraft/class_6847;field_36285:Lnet/minecraft/class_2382;
      named offset Lnet/minecraft/world/gen/blockpredicate/HasSturdyFacePredicate;offset:Lnet/minecraft/util/math/Vec3i;
    • face

      private final Direction face
      Mappings:
      Namespace Name Mixin selector
      official f Ldbb;f:Lgy;
      intermediary field_36286 Lnet/minecraft/class_6847;field_36286:Lnet/minecraft/class_2350;
      named face Lnet/minecraft/world/gen/blockpredicate/HasSturdyFacePredicate;face:Lnet/minecraft/util/math/Direction;
  • Constructor Details

    • HasSturdyFacePredicate

      public HasSturdyFacePredicate(Vec3i offset, Direction face)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldbb;<init>(Lhs;Lgy;)V
      intermediary <init> Lnet/minecraft/class_6847;<init>(Lnet/minecraft/class_2382;Lnet/minecraft/class_2350;)V
      named <init> Lnet/minecraft/world/gen/blockpredicate/HasSturdyFacePredicate;<init>(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/util/math/Direction;)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 Ldbb;a(Lcgs;Lgt;)Z
      intermediary method_39911 Lnet/minecraft/class_6847;method_39911(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
      named test Lnet/minecraft/world/gen/blockpredicate/HasSturdyFacePredicate;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 Lday;a()Ldaz;
      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;