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 cul
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 Lcul;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 Lcul;e:Lhc;
      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 Lcul;f:Lgm;
      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> Lcul;<init>(Lhc;Lgm;)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 Lcul;a(Lcav;Lgh;)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 Lcui;a()Lcuj;
      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;