From 24494186cb631c873f133c907bd26b15db61a096 Mon Sep 17 00:00:00 2001 From: strubium <113206902+strubium@users.noreply.github.com> Date: Thu, 1 Feb 2024 11:44:43 -0600 Subject: [PATCH] Update IPrimerDriver.java --- .../world/driver/IPrimerDriver.java | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/main/java/mcjty/lostcities/dimensions/world/driver/IPrimerDriver.java b/src/main/java/mcjty/lostcities/dimensions/world/driver/IPrimerDriver.java index df9e15a6..622982e9 100644 --- a/src/main/java/mcjty/lostcities/dimensions/world/driver/IPrimerDriver.java +++ b/src/main/java/mcjty/lostcities/dimensions/world/driver/IPrimerDriver.java @@ -33,6 +33,29 @@ public interface IPrimerDriver { int getZ(); + void setBlockRange(int x, int y, int z, int y2, char c); + + void setBlockRangeSafe(int x, int y, int z, int y2, char c); + + /// Set a block at the current position + IPrimerDriver block(char c); + + /// Set a block at the current position + IPrimerDriver block(IBlockState c); + + /// Set a block at the current position and increase the height with 1 + IPrimerDriver add(char c); + + char getBlock(); + + char getBlockDown(); + char getBlockEast(); + char getBlockWest(); + char getBlockSouth(); + char getBlockNorth(); + + char getBlock(int x, int y, int z); + IIndex getIndex(int x, int y, int z); IPrimerDriver copy();