net.minecraft.world.gen.blockpredicate

public abstract class OffsetPredicate

implements BlockPredicate

net.minecraft.world.level.levelgen.blockpredicates.StateTestingPredicate
net.minecraft.class_6679
net.minecraft.world.gen.blockpredicate.OffsetPredicate

Field summary

Modifier and TypeField
protected final Vec3i
offset
field_35157
offset

Constructor summary

ModifierConstructor
protected (Vec3i offset)

Method summary

Modifier and TypeMethod
protected static <P extends OffsetPredicate> com.mojang.datafixers.Products$P1<com.mojang.serialization.codecs.RecordCodecBuilder$Mu<P>, Vec3i>
stateTestingCodec(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> instance)
method_39013(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
registerOffsetField(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> instance)
public final boolean
test(LevelAccessor level, BlockPos origin)
method_39012(class_1936 arg0, class_2338 arg1)
test(WorldAccess arg0, BlockPos arg1)
protected abstract boolean
test(BlockState state)
method_38893(class_2680 arg0)
test(BlockState state)
public boolean
test(Object level, Object origin)
test(Object arg0, Object arg1)
test(Object world, Object pos)
private static Vec3i
lambda$stateTestingCodec$0(StateTestingPredicate arg0)
method_39014(class_6679 arg0)
method_39014(OffsetPredicate predicate)