Small def fix

This commit is contained in:
paulevsGitch 2021-06-06 12:15:43 +03:00
parent 4230fb7e6c
commit 4ff79c2b60

View file

@ -89,12 +89,11 @@ public class BCLBiomeDef {
* @param id * @param id
* @return {@link BCLBiomeDef}. * @return {@link BCLBiomeDef}.
*/ */
public static BCLBiomeDef netherBiome(ResourceLocation id) { public BCLBiomeDef netherBiome() {
BCLBiomeDef def = new BCLBiomeDef(id); this.foliageColor = DEF_FOLIAGE_NETHER;
def.foliageColor = DEF_FOLIAGE_NETHER; this.grassColor = DEF_FOLIAGE_NETHER;
def.grassColor = DEF_FOLIAGE_NETHER; this.setCategory(BiomeCategory.NETHER);
def.setCategory(BiomeCategory.NETHER); return this;
return def;
} }
/** /**
@ -102,12 +101,11 @@ public class BCLBiomeDef {
* @param id * @param id
* @return {@link BCLBiomeDef}. * @return {@link BCLBiomeDef}.
*/ */
public static BCLBiomeDef endBiome(ResourceLocation id) { public BCLBiomeDef endBiome() {
BCLBiomeDef def = new BCLBiomeDef(id); this.foliageColor = DEF_FOLIAGE_END;
def.foliageColor = DEF_FOLIAGE_END; this.grassColor = DEF_FOLIAGE_END;
def.grassColor = DEF_FOLIAGE_END; this.setCategory(BiomeCategory.THEEND);
def.setCategory(BiomeCategory.THEEND); return this;
return def;
} }
/** /**