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

com.yungnickyoung.minecraft.yungsapi.world.structure.condition.StructureCondition Maven / Gradle / Ivy

The newest version!
package com.yungnickyoung.minecraft.yungsapi.world.structure.condition;

import com.yungnickyoung.minecraft.yungsapi.world.structure.context.StructureContext;

/**
 * A serializable class used for checking specific parameters during world generation.
 * Can be used for jigsaw pieces as well as processors.
 */
public abstract class StructureCondition {
    public static final StructureCondition ALWAYS_TRUE = new AlwaysTrueCondition();
    abstract public StructureConditionType type();
    abstract public boolean passes(StructureContext ctx);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy