Interface BlockPredicate

All Superinterfaces:
BiPredicate<StructureWorldAccess,BlockPos>
All Known Implementing Classes:
AllOfBlockPredicate, AlwaysTrueBlockPredicate, AnyOfBlockPredicate, CombinedBlockPredicate, HasSturdyFacePredicate, InsideWorldBoundsBlockPredicate, MatchingBlocksBlockPredicate, MatchingBlockTagPredicate, MatchingFluidsBlockPredicate, NotBlockPredicate, OffsetPredicate, ReplaceableBlockPredicate, SolidBlockPredicate, UnobstructedBlockPredicate, WouldSurviveBlockPredicate

public interface BlockPredicate extends BiPredicate<StructureWorldAccess,BlockPos>
Mappings:
Namespace Name
named net/minecraft/world/gen/blockpredicate/BlockPredicate
intermediary net/minecraft/class_6646
official eac
  • Field Details

    • BASE_CODEC

      static final com.mojang.serialization.Codec<BlockPredicate> BASE_CODEC
      Mappings:
      Namespace Name Mixin selector
      named BASE_CODEC Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;BASE_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_35054 Lnet/minecraft/class_6646;field_35054:Lcom/mojang/serialization/Codec;
      official b Leac;b:Lcom/mojang/serialization/Codec;
    • IS_AIR

      static final BlockPredicate IS_AIR
      Mappings:
      Namespace Name Mixin selector
      named IS_AIR Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;IS_AIR:Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary field_35696 Lnet/minecraft/class_6646;field_35696:Lnet/minecraft/class_6646;
      official c Leac;c:Leac;
    • IS_AIR_OR_WATER

      static final BlockPredicate IS_AIR_OR_WATER
      Mappings:
      Namespace Name Mixin selector
      named IS_AIR_OR_WATER Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;IS_AIR_OR_WATER:Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary field_35697 Lnet/minecraft/class_6646;field_35697:Lnet/minecraft/class_6646;
      official d Leac;d:Leac;
  • Method Details

    • getType

      BlockPredicateType<?> getType()
      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;
    • allOf

      static BlockPredicate allOf(List<BlockPredicate> predicates)
      Mappings:
      Namespace Name Mixin selector
      named allOf Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;allOf(Ljava/util/List;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_38880 Lnet/minecraft/class_6646;method_38880(Ljava/util/List;)Lnet/minecraft/class_6646;
      official a Leac;a(Ljava/util/List;)Leac;
    • allOf

      static BlockPredicate allOf(BlockPredicate[] predicates)
      Mappings:
      Namespace Name Mixin selector
      named allOf Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;allOf([Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_38882 Lnet/minecraft/class_6646;method_38882([Lnet/minecraft/class_6646;)Lnet/minecraft/class_6646;
      official a Leac;a([Leac;)Leac;
    • bothOf

      static BlockPredicate bothOf(BlockPredicate first, BlockPredicate second)
      Mappings:
      Namespace Name Mixin selector
      named bothOf Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;bothOf(Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_38878 Lnet/minecraft/class_6646;method_38878(Lnet/minecraft/class_6646;Lnet/minecraft/class_6646;)Lnet/minecraft/class_6646;
      official a Leac;a(Leac;Leac;)Leac;
    • anyOf

      static BlockPredicate anyOf(List<BlockPredicate> predicates)
      Mappings:
      Namespace Name Mixin selector
      named anyOf Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;anyOf(Ljava/util/List;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_38885 Lnet/minecraft/class_6646;method_38885(Ljava/util/List;)Lnet/minecraft/class_6646;
      official b Leac;b(Ljava/util/List;)Leac;
    • anyOf

      static BlockPredicate anyOf(BlockPredicate[] predicates)
      Mappings:
      Namespace Name Mixin selector
      named anyOf Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;anyOf([Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_38887 Lnet/minecraft/class_6646;method_38887([Lnet/minecraft/class_6646;)Lnet/minecraft/class_6646;
      official b Leac;b([Leac;)Leac;
    • eitherOf

      static BlockPredicate eitherOf(BlockPredicate first, BlockPredicate second)
      Mappings:
      Namespace Name Mixin selector
      named eitherOf Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;eitherOf(Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_38884 Lnet/minecraft/class_6646;method_38884(Lnet/minecraft/class_6646;Lnet/minecraft/class_6646;)Lnet/minecraft/class_6646;
      official b Leac;b(Leac;Leac;)Leac;
    • matchingBlocks

      static BlockPredicate matchingBlocks(Vec3i offset, List<Block> blocks)
      Mappings:
      Namespace Name Mixin selector
      named matchingBlocks Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;matchingBlocks(Lnet/minecraft/util/math/Vec3i;Ljava/util/List;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_38881 Lnet/minecraft/class_6646;method_38881(Lnet/minecraft/class_2382;Ljava/util/List;)Lnet/minecraft/class_6646;
      official a Leac;a(Lkh;Ljava/util/List;)Leac;
    • matchingBlocks

      static BlockPredicate matchingBlocks(List<Block> blocks)
      Mappings:
      Namespace Name Mixin selector
      named matchingBlocks Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;matchingBlocks(Ljava/util/List;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_39910 Lnet/minecraft/class_6646;method_39910(Ljava/util/List;)Lnet/minecraft/class_6646;
      official c Leac;c(Ljava/util/List;)Leac;
    • matchingBlocks

      static BlockPredicate matchingBlocks(Vec3i offset, Block[] blocks)
      Mappings:
      Namespace Name Mixin selector
      named matchingBlocks Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;matchingBlocks(Lnet/minecraft/util/math/Vec3i;[Lnet/minecraft/block/Block;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_43288 Lnet/minecraft/class_6646;method_43288(Lnet/minecraft/class_2382;[Lnet/minecraft/class_2248;)Lnet/minecraft/class_6646;
      official a Leac;a(Lkh;[Ldfw;)Leac;
    • matchingBlocks

      static BlockPredicate matchingBlocks(Block[] blocks)
      Mappings:
      Namespace Name Mixin selector
      named matchingBlocks Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;matchingBlocks([Lnet/minecraft/block/Block;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_43290 Lnet/minecraft/class_6646;method_43290([Lnet/minecraft/class_2248;)Lnet/minecraft/class_6646;
      official a Leac;a([Ldfw;)Leac;
    • matchingBlockTag

      static BlockPredicate matchingBlockTag(Vec3i offset, TagKey<Block> tag)
      Mappings:
      Namespace Name Mixin selector
      named matchingBlockTag Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;matchingBlockTag(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_39908 Lnet/minecraft/class_6646;method_39908(Lnet/minecraft/class_2382;Lnet/minecraft/class_6862;)Lnet/minecraft/class_6646;
      official a Leac;a(Lkh;Lawt;)Leac;
    • matchingBlockTag

      static BlockPredicate matchingBlockTag(TagKey<Block> offset)
      Mappings:
      Namespace Name Mixin selector
      named matchingBlockTag Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;matchingBlockTag(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_39907 Lnet/minecraft/class_6646;method_39907(Lnet/minecraft/class_6862;)Lnet/minecraft/class_6646;
      official a Leac;a(Lawt;)Leac;
    • matchingFluids

      static BlockPredicate matchingFluids(Vec3i offset, List<Fluid> fluids)
      Mappings:
      Namespace Name Mixin selector
      named matchingFluids Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;matchingFluids(Lnet/minecraft/util/math/Vec3i;Ljava/util/List;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_38886 Lnet/minecraft/class_6646;method_38886(Lnet/minecraft/class_2382;Ljava/util/List;)Lnet/minecraft/class_6646;
      official b Leac;b(Lkh;Ljava/util/List;)Leac;
    • matchingFluids

      static BlockPredicate matchingFluids(Vec3i offset, Fluid[] fluids)
      Mappings:
      Namespace Name Mixin selector
      named matchingFluids Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;matchingFluids(Lnet/minecraft/util/math/Vec3i;[Lnet/minecraft/fluid/Fluid;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_43289 Lnet/minecraft/class_6646;method_43289(Lnet/minecraft/class_2382;[Lnet/minecraft/class_3611;)Lnet/minecraft/class_6646;
      official a Leac;a(Lkh;[Leox;)Leac;
    • matchingFluids

      static BlockPredicate matchingFluids(Fluid[] fluids)
      Mappings:
      Namespace Name Mixin selector
      named matchingFluids Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;matchingFluids([Lnet/minecraft/fluid/Fluid;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_43291 Lnet/minecraft/class_6646;method_43291([Lnet/minecraft/class_3611;)Lnet/minecraft/class_6646;
      official a Leac;a([Leox;)Leac;
    • not

      static BlockPredicate not(BlockPredicate predicate)
      Mappings:
      Namespace Name Mixin selector
      named not Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;not(Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_38877 Lnet/minecraft/class_6646;method_38877(Lnet/minecraft/class_6646;)Lnet/minecraft/class_6646;
      official a Leac;a(Leac;)Leac;
    • replaceable

      static BlockPredicate replaceable(Vec3i offset)
      Mappings:
      Namespace Name Mixin selector
      named replaceable Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;replaceable(Lnet/minecraft/util/math/Vec3i;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_39010 Lnet/minecraft/class_6646;method_39010(Lnet/minecraft/class_2382;)Lnet/minecraft/class_6646;
      official a Leac;a(Lkh;)Leac;
    • replaceable

      static BlockPredicate replaceable()
      Mappings:
      Namespace Name Mixin selector
      named replaceable Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;replaceable()Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_38883 Lnet/minecraft/class_6646;method_38883()Lnet/minecraft/class_6646;
      official b Leac;b()Leac;
    • wouldSurvive

      static BlockPredicate wouldSurvive(BlockState state, Vec3i offset)
      Mappings:
      Namespace Name Mixin selector
      named wouldSurvive Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;wouldSurvive(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Vec3i;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_39009 Lnet/minecraft/class_6646;method_39009(Lnet/minecraft/class_2680;Lnet/minecraft/class_2382;)Lnet/minecraft/class_6646;
      official a Leac;a(Ldta;Lkh;)Leac;
    • hasSturdyFace

      static BlockPredicate hasSturdyFace(Vec3i offset, Direction face)
      Mappings:
      Namespace Name Mixin selector
      named hasSturdyFace Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;hasSturdyFace(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_39909 Lnet/minecraft/class_6646;method_39909(Lnet/minecraft/class_2382;Lnet/minecraft/class_2350;)Lnet/minecraft/class_6646;
      official a Leac;a(Lkh;Lji;)Leac;
    • hasSturdyFace

      static BlockPredicate hasSturdyFace(Direction face)
      Mappings:
      Namespace Name Mixin selector
      named hasSturdyFace Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;hasSturdyFace(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_39930 Lnet/minecraft/class_6646;method_39930(Lnet/minecraft/class_2350;)Lnet/minecraft/class_6646;
      official a Leac;a(Lji;)Leac;
    • solid

      static BlockPredicate solid(Vec3i offset)
      Mappings:
      Namespace Name Mixin selector
      named solid Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;solid(Lnet/minecraft/util/math/Vec3i;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_39584 Lnet/minecraft/class_6646;method_39584(Lnet/minecraft/class_2382;)Lnet/minecraft/class_6646;
      official b Leac;b(Lkh;)Leac;
    • solid

      static BlockPredicate solid()
      Mappings:
      Namespace Name Mixin selector
      named solid Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;solid()Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_39585 Lnet/minecraft/class_6646;method_39585()Lnet/minecraft/class_6646;
      official c Leac;c()Leac;
    • noFluid

      static BlockPredicate noFluid()
      Mappings:
      Namespace Name Mixin selector
      named noFluid Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;noFluid()Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_45544 Lnet/minecraft/class_6646;method_45544()Lnet/minecraft/class_6646;
      official d Leac;d()Leac;
    • noFluid

      static BlockPredicate noFluid(Vec3i offset)
      Mappings:
      Namespace Name Mixin selector
      named noFluid Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;noFluid(Lnet/minecraft/util/math/Vec3i;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_45543 Lnet/minecraft/class_6646;method_45543(Lnet/minecraft/class_2382;)Lnet/minecraft/class_6646;
      official c Leac;c(Lkh;)Leac;
    • insideWorldBounds

      static BlockPredicate insideWorldBounds(Vec3i offset)
      Mappings:
      Namespace Name Mixin selector
      named insideWorldBounds Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;insideWorldBounds(Lnet/minecraft/util/math/Vec3i;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_39586 Lnet/minecraft/class_6646;method_39586(Lnet/minecraft/class_2382;)Lnet/minecraft/class_6646;
      official d Leac;d(Lkh;)Leac;
    • alwaysTrue

      static BlockPredicate alwaysTrue()
      Mappings:
      Namespace Name Mixin selector
      named alwaysTrue Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;alwaysTrue()Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_39011 Lnet/minecraft/class_6646;method_39011()Lnet/minecraft/class_6646;
      official e Leac;e()Leac;
    • unobstructed

      static BlockPredicate unobstructed(Vec3i offset)
      Mappings:
      Namespace Name Mixin selector
      named unobstructed Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;unobstructed(Lnet/minecraft/util/math/Vec3i;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_60284 Lnet/minecraft/class_6646;method_60284(Lnet/minecraft/class_2382;)Lnet/minecraft/class_6646;
      official e Leac;e(Lkh;)Leac;
    • unobstructed

      static BlockPredicate unobstructed()
      Mappings:
      Namespace Name Mixin selector
      named unobstructed Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;unobstructed()Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary method_60285 Lnet/minecraft/class_6646;method_60285()Lnet/minecraft/class_6646;
      official f Leac;f()Leac;