mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-26 18:49:06 +00:00
Parallax support for featuress
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user