mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Parallax support for featuress
This commit is contained in:
parent
4627303008
commit
bc8f25ff4b
@ -40,6 +40,10 @@ public interface ParallaxAccess {
|
||||
return getMetaR(x, z).isGenerated();
|
||||
}
|
||||
|
||||
default boolean isFeatureGenerated(int x, int z) {
|
||||
return getMetaR(x, z).isFeatureGenerated();
|
||||
}
|
||||
|
||||
default void setParallaxGenerated(int x, int z) {
|
||||
setParallaxGenerated(x, z, true);
|
||||
}
|
||||
@ -48,6 +52,10 @@ public interface ParallaxAccess {
|
||||
setChunkGenerated(x, z, true);
|
||||
}
|
||||
|
||||
default void setFeatureGenerated(int x, int z) {
|
||||
setFeatureGenerated(x, z, true);
|
||||
}
|
||||
|
||||
default void setParallaxGenerated(int x, int z, boolean v) {
|
||||
getMetaRW(x, z).setParallaxGenerated(v);
|
||||
}
|
||||
@ -75,6 +83,10 @@ public interface ParallaxAccess {
|
||||
getMetaRW(x, z).setGenerated(v);
|
||||
}
|
||||
|
||||
default void setFeatureGenerated(int x, int z, boolean v) {
|
||||
getMetaRW(x, z).setFeatureGenerated(v);
|
||||
}
|
||||
|
||||
public Hunk<BlockData> getBlocksR(int x, int z);
|
||||
|
||||
public Hunk<BlockData> getBlocksRW(int x, int z);
|
||||
|
Loading…
x
Reference in New Issue
Block a user