mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-20 19:22:48 +00:00
Fix decorations
This commit is contained in:
parent
75ca9240a9
commit
68030a4ae7
@ -156,6 +156,25 @@ public class IrisBiomeDecorator
|
||||
return null;
|
||||
}
|
||||
|
||||
public FastBlockData getBlockData100(IrisBiome b, RNG rng, double x, double z, IrisDataManager data)
|
||||
{
|
||||
if(getBlockData(data).isEmpty())
|
||||
{
|
||||
Iris.warn("Empty Block Data for " + b.getName());
|
||||
return null;
|
||||
}
|
||||
|
||||
double xx = x / getZoom();
|
||||
double zz = z / getZoom();
|
||||
|
||||
if(getBlockData(data).size() == 1)
|
||||
{
|
||||
return getBlockData(data).get(0);
|
||||
}
|
||||
|
||||
return getVarianceGenerator(rng, data).fit(getBlockData(data), xx, zz);
|
||||
}
|
||||
|
||||
public FastBlockData getBlockDataForTop(IrisBiome b, RNG rng, double x, double z, IrisDataManager data)
|
||||
{
|
||||
if(getBlockDataTops(data).isEmpty())
|
||||
|
Loading…
x
Reference in New Issue
Block a user