All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.lukebemish.biomesquisher.surface.NeverConditionPredicate Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy