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
named net/minecraft/world/gen/blockpredicate/HasSturdyFacePredicate
intermediary net/minecraft/class_6847
official eaf
  • Field Details

    • CODEC

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

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

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

    • HasSturdyFacePredicate

      public HasSturdyFacePredicate(Vec3i offset, Direction face)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/blockpredicate/HasSturdyFacePredicate;<init>(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/util/math/Direction;)V
      intermediary <init> Lnet/minecraft/class_6847;<init>(Lnet/minecraft/class_2382;Lnet/minecraft/class_2350;)V
      official <init> Leaf;<init>(Lkh;Lji;)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/HasSturdyFacePredicate;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_39911 Lnet/minecraft/class_6847;method_39911(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
      official a Leaf;a(Lddq;Ljd;)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 Leac;a()Lead;