From dce3e96abfca07d267a6fda11af601c1e3d2b488 Mon Sep 17 00:00:00 2001 From: jojo Date: Sat, 6 Feb 2021 13:17:42 +0100 Subject: [PATCH] Add Region.Prototype.extensionFront Add Region.Prototype.extensionBack Add Region.Prototype.extensionUp Add Region.Prototype.extensionSides --- .../src/de/steamwar/bausystem/world/Region.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/world/Region.java b/BauSystem_Main/src/de/steamwar/bausystem/world/Region.java index 28552ac..cf7b8ff 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/world/Region.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/world/Region.java @@ -240,6 +240,11 @@ public class Region { private final int offsetY; private final int offsetZ; + private final int extensionFront; + private final int extensionBack; + private final int extensionUp; + private final int extensionSides; + private final String schematic; private final boolean rotate; @@ -256,6 +261,10 @@ public class Region { offsetX = config.getInt("offsetX", 0); offsetY = config.getInt("offsetY", 0); offsetZ = config.getInt("offsetZ", 0); + extensionFront = config.getInt("extensionFront", 0); + extensionBack = config.getInt("extensionBack", 0); + extensionUp = config.getInt("extensionUp", 0); + extensionSides = config.getInt("extensionSides", 0); rotate = config.getBoolean("rotate", false); ConfigurationSection testblockSection = config.getConfigurationSection("testblock");