dev.lukebemish.biomesquisher.surface.NeverConditionPredicate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biomesquisher Show documentation
Show all versions of biomesquisher Show documentation
Allows for injection of new biomes into Minecraft's biome parameter space by "squishing" existing biomes
The newest version!
package dev.lukebemish.biomesquisher.surface;
import com.mojang.serialization.MapCodec;
import net.minecraft.world.level.levelgen.SurfaceRules;
public final class NeverConditionPredicate implements ConditionPredicate {
private NeverConditionPredicate() {}
public static final NeverConditionPredicate INSTANCE = new NeverConditionPredicate();
public static final MapCodec CODEC = MapCodec.unit(INSTANCE);
@Override
public MapCodec codec() {
return CODEC;
}
@Override
public boolean matches(RuleModifier.Context context, SurfaceRules.ConditionSource source) {
return false;
}
}