类 StateTestingPredicate

java.lang.Object
net.minecraft.world.level.levelgen.blockpredicates.StateTestingPredicate
所有已实现的接口:
BiPredicate<WorldGenLevel,BlockPos>, BlockPredicate
直接已知子类:
MatchingBlocksPredicate, MatchingBlockTagPredicate, MatchingFluidsPredicate, ReplaceablePredicate, SolidPredicate

public abstract class StateTestingPredicate extends Object implements BlockPredicate
  • 字段详细资料

    • offset

      protected final Vec3i offset
  • 构造器详细资料

    • StateTestingPredicate

      protected StateTestingPredicate(Vec3i p_190541_)
  • 方法详细资料

    • stateTestingCodec

      protected static <P extends StateTestingPredicate> com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>,Vec3i> stateTestingCodec(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> p_190547_)
    • test

      public final boolean test(WorldGenLevel p_190543_, BlockPos p_190544_)
      指定者:
      test 在接口中 BiPredicate<WorldGenLevel,BlockPos>
    • test

      protected abstract boolean test(BlockState p_190545_)