Ejemplo n.º 1
0
    public override bool ConditionsMet(System.Random rng, Block below, Block current, Biome biome, Vector3Int worldPosition, out Varient varient)
    {
        if (current != _air)
        {
            varient = null;
            return(false);
        }

        if (DetermineClosestMatch(below, biome, out Varient[] varients))
Ejemplo n.º 2
0
 public virtual bool ConditionsMet(System.Random rng, Block below, Block current, Biome biome, Vector3Int worldPosition, out Varient varient)
 {
     varient = null;
     return(false);
 }