diff --git a/src/main/java/slimeknights/mantle/client/gui/book/BoxRenderer.java b/src/main/java/slimeknights/mantle/client/gui/book/BoxRenderer.java deleted file mode 100644 index db4d11c..0000000 --- a/src/main/java/slimeknights/mantle/client/gui/book/BoxRenderer.java +++ /dev/null @@ -1,68 +0,0 @@ -package slimeknights.mantle.client.gui.book; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.Gui; -import net.minecraft.util.math.MathHelper; - -import static slimeknights.mantle.client.gui.book.Textures.TEX_BOX; - -public class BoxRenderer { - - public static final int TEX_SIZE = 128; - - public static void drawBox(int x, int y, int width, int height, int index) { - drawBox(x, y, width, height, index, 16, 16, 4, 4, 2, 2); - } - - public static void drawBox(int x, int y, int width, int height, int index, int sprW, int sprH, int segW, int segH, int segGW, int segGH) { - Minecraft.getMinecraft().renderEngine.bindTexture(TEX_BOX); - - int sx = x, sy = y; - - for(int i = 0; i < 3; i++) { - int sgW = width - segW * 2; - - if(i % 2 == 0) { - sgW = segW; - } - - for(int j = 0; j < 3; j++) { - int sgH = height - segH * 2; - - if(j % 2 == 0) { - sgH = segH; - } - - int[] matrix = getTextureMatrixCoords(index, sprW, sprH, segW, segH, segGW, segGH, i + j * 3); - Gui.drawScaledCustomSizeModalRect(sx, sy, matrix[0], matrix[1], segW, segH, sgW, sgH, TEX_SIZE, TEX_SIZE); - - sy += sgH; - } - - sx += sgW; - sy = y; - } - } - - public static int[] getTextureMatrixCoords(int index, int sprW, int sprH, int segW, int segH, int segGW, int segGH, int segId) { - int totalWidth = segW * 3 + segGW * 2; - int totalHeight = segH * 3 + segGH * 2; - - return getTextureMatrixCoords((index % (256 / sprW) * sprW) + (sprW / 2 - totalWidth / 2), (MathHelper - .floor(index / (256F / sprH)) * sprH) + (sprH / 2 - totalHeight / 2), segW, segH, segGW, segGH, segId); - } - - public static int[] getTextureMatrixCoords(int u, int v, int segW, int segH, int segGW, int segGH, int segId) { - int[] coords = new int[4]; - - int col = segId % 3; - int row = MathHelper.floor(segId / 3F); - - coords[0] = u + col * segW + col * segGW; - coords[1] = v + row * segH + row * segGH; - coords[2] = coords[0] + segW; - coords[3] = coords[1] + segH; - - return coords; - } -} diff --git a/src/main/java/slimeknights/mantle/client/gui/book/Textures.java b/src/main/java/slimeknights/mantle/client/gui/book/Textures.java index 4d9059b..bd6145f 100644 --- a/src/main/java/slimeknights/mantle/client/gui/book/Textures.java +++ b/src/main/java/slimeknights/mantle/client/gui/book/Textures.java @@ -6,7 +6,6 @@ public class Textures { public static final ResourceLocation TEX_BOOK = new ResourceLocation("mantle:textures/gui/book/book.png"); public static final ResourceLocation TEX_BOOKFRONT = new ResourceLocation("mantle:textures/gui/book/bookfront.png"); - public static final ResourceLocation TEX_BOX = new ResourceLocation("mantle:textures/gui/box.png"); public static final ResourceLocation TEX_CRAFTING = new ResourceLocation("mantle:textures/gui/book/crafting.png"); public static final ResourceLocation TEX_SMELTING = new ResourceLocation("mantle:textures/gui/book/smelting.png"); diff --git a/src/main/java/slimeknights/mantle/client/gui/book/editor/GuiBookEditor.java b/src/main/java/slimeknights/mantle/client/gui/book/editor/GuiBookEditor.java deleted file mode 100644 index 12ef85c..0000000 --- a/src/main/java/slimeknights/mantle/client/gui/book/editor/GuiBookEditor.java +++ /dev/null @@ -1,103 +0,0 @@ -package slimeknights.mantle.client.gui.book.editor; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.GuiButton; -import net.minecraft.client.gui.GuiScreen; -import net.minecraft.client.renderer.GlStateManager; -import net.minecraft.client.renderer.texture.TextureManager; - -import javax.annotation.Nullable; - -import slimeknights.mantle.client.book.data.BookData; -import slimeknights.mantle.client.gui.book.BoxRenderer; -import slimeknights.mantle.client.gui.book.GuiBook; -import slimeknights.mantle.client.gui.book.Textures; - -public class GuiBookEditor extends GuiScreen { - - private static final int SIDEBAR_WIDTH = 120; - - private GuiBook innerUi; - private int side; - - public GuiBookEditor(@Nullable BookData book) { - if(book == null) { - book = new BookData(); - } - - innerUi = new GuiBook(book, null); - innerUi.mc = Minecraft.getMinecraft(); - - innerUi._setPage(-1); - } - - @Override - public void drawScreen(int mouseX, int mouseY, float partialTicks) { - GlStateManager.pushMatrix(); - - TextureManager render = this.mc.renderEngine; - - if(mc.gameSettings.guiScale == 1) { - GlStateManager.scale(2F, 2F, 2F); - - mouseX /= 2; - mouseY /= 2; - } - - BoxRenderer.drawBox(width / 2 - (GuiBook.PAGE_WIDTH_UNSCALED + SIDEBAR_WIDTH) / 2, - height / 2 - (GuiBook.PAGE_HEIGHT_UNSCALED - GuiBook.PAGE_PADDING_TOP) / 2, - SIDEBAR_WIDTH + GuiBook.PAGE_PADDING_RIGHT + GuiBook.PAGE_MARGIN, - GuiBook.PAGE_HEIGHT_UNSCALED - GuiBook.PAGE_PADDING_BOT, 0); - - if(innerUi.getPage_() == -1) { - GlStateManager.pushMatrix(); - if(mc.gameSettings.guiScale == 1) { - GlStateManager.scale(0.5F, 0.5F, 0.5F); - } - innerUi.openCover(); - innerUi - .drawScreen(mouseX * (mc.gameSettings.guiScale == 1 ? 2 : 1), mouseY * (mc.gameSettings.guiScale == 1 ? 2 : 1), partialTicks); - GlStateManager.popMatrix(); - } else { - render.bindTexture(Textures.TEX_BOOK); - - GlStateManager.color(1F, 1F, 1F); - drawModalRectWithCustomSizedTexture(width / 2 - GuiBook.PAGE_WIDTH_UNSCALED / 2, - height / 2 - GuiBook.PAGE_HEIGHT_UNSCALED / 2, - 0, GuiBook.PAGE_HEIGHT_UNSCALED, - GuiBook.PAGE_WIDTH_UNSCALED - GuiBook.PAGE_MARGIN - GuiBook.PAGE_PADDING_LEFT, - GuiBook.PAGE_HEIGHT_UNSCALED, - GuiBook.TEX_SIZE, GuiBook.TEX_SIZE); - drawModalRectWithCustomSizedTexture(width / 2 - GuiBook.PAGE_WIDTH_UNSCALED / 2 + GuiBook.PAGE_MARGIN + GuiBook.PAGE_PADDING_LEFT, - height / 2 - GuiBook.PAGE_HEIGHT_UNSCALED / 2, - GuiBook.PAGE_WIDTH_UNSCALED + GuiBook.PAGE_MARGIN + GuiBook.PAGE_PADDING_LEFT, - GuiBook.PAGE_HEIGHT_UNSCALED, - GuiBook.PAGE_WIDTH_UNSCALED - GuiBook.PAGE_MARGIN - GuiBook.PAGE_PADDING_RIGHT, - GuiBook.PAGE_HEIGHT_UNSCALED, - GuiBook.TEX_SIZE, GuiBook.TEX_SIZE); - } - - super.drawScreen(mouseX, mouseY, partialTicks); - GlStateManager.popMatrix(); - } - - @Override - public void initGui() { - buttonList.clear(); - - innerUi.width = width + SIDEBAR_WIDTH * (mc.gameSettings.guiScale == 1 ? 2 : 1); - innerUi.height = height; - - if(mc.gameSettings.guiScale == 1) { - width /= 2F; - height /= 2F; - } - - innerUi.initGui(); - innerUi.updateScreen(); - innerUi.buttonList.clear(); - - buttonList.add(new GuiButton(0, 0, height - 20, 50, 20, "Import")); - buttonList.add(new GuiButton(1, 55, height - 20, 50, 20, "Export")); - } -} diff --git a/src/main/resources/assets/mantle/books/TestBook/appearance.json b/src/main/resources/assets/mantle/books/TestBook/appearance.json deleted file mode 100644 index 0e2bdb5..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/appearance.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - //"coverColor": "0x8B4631", - //"arrowColor": "0xFFFFD3", - //"arrowColorHover": "0xFF541C", - //"indexBookmark": true, - //"lockedSectionColor": "0xFFFFFF", - "title": "Materials and You", - "subtitle": "By Skyla", - "drawPageNumbers": true -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/language.lang b/src/main/resources/assets/mantle/books/TestBook/en_US/language.lang deleted file mode 100644 index 7644376..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/language.lang +++ /dev/null @@ -1,11 +0,0 @@ -// Sections -test section=Test Section -section 2=Locked Section -section 3=Hidden Section -// Test Section Pages -test section.page1=Blank Page -test section.pagecrafter=Crafting Page -test section.pagesmallcrafting=Small Crafting Page -test section.pagesmelting=Smelting Page -test section.pageblockinteraction=Block Interaction Page -test section.pagestructure=3D Model Page \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page2.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page2.json deleted file mode 100644 index c4da5fc..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page2.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "text": [ - { - "text": "Long ago in a galaxy far ", - "color": "gold" - }, - { - "text": "far", - "underlined": true, - "tooltip": [ - "You missed the joke", - "By Skyla" - ], - "action": "go-to-page:Test Section.Page5", - "color": "gold" - }, - { - "text": " away. ", - "action": "go-to-page:Test Section.Page4", - "color": "gold" - }, - { - "text": "Use the force, " - }, - { - "text": "Harry!", - "scale": 2 - }, - { - "text": "For I am the wizard that you seek! $(language.name)$", - "paragraph": true - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page3.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page3.json deleted file mode 100644 index 762a4c6..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page3.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "image": { - "file": "images/test.png" - } -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page4_5.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page4_5.json deleted file mode 100644 index 215eb99..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page4_5.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "text": [ - { - "text": "Test of mississipi" - } - ], - "image": { - "file": "images/test.png" - } -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page6_7.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page6_7.json deleted file mode 100644 index e151556..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/page6_7.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "text1": [ - { - "text": "Test of mississipi" - } - ], - "text2": [ - { - "text": "Test of mississipi" - } - ], - "image": { - "file": "images/test.png" - } -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pageblkinteraction.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pageblkinteraction.json deleted file mode 100644 index c4ff182..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pageblkinteraction.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "title": "Interacting with Blocks", - "input": { - "itemList": "items/records.json" - }, - "block": { - "id": "minecraft:jukebox" - }, - "description": [ - { - "text": "That's my jam!" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagecrafting.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagecrafting.json deleted file mode 100644 index e3fc391..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagecrafting.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Crafting a Thing", - "grid_size": "large", - "grid": [ - [ - {}, - { - "id": "minecraft:redstone_torch" - } - ], - [ - { - "id": "minecraft:redstone_torch" - }, - { - "id": "minecraft:quartz" - }, - { - "id": "minecraft:redstone_torch" - } - ], - [ - { - "id": "minecraft:stone" - }, - { - "id": "minecraft:stone" - }, - { - "id": "minecraft:stone" - } - ] - ], - "result": { - "id": "minecraft:comparator" - }, - "description": [ - { - "text": "This item does stuff and, of course, " - }, - { - "text": "things.", - "underlined": true - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagecraftingsmall.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagecraftingsmall.json deleted file mode 100644 index 648a90c..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagecraftingsmall.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "title": "Crafting a Thing", - "grid_size": "small", - "grid": [ - [ - { - "id": "minecraft:stick" - }, - { - "id": "minecraft:planks" - } - ], - [ - { - "id": "minecraft:planks" - }, - { - "id": "minecraft:stick" - } - ] - ], - "result": { - "id": "tconstruct:stencil" - }, - "description": [ - { - "text": "This item does stuff and, of course, " - }, - { - "text": "things.", - "underlined": true - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagesmelting.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagesmelting.json deleted file mode 100644 index c8b7d86..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagesmelting.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "title": "Smelting a Thing", - "input": { - "id": "minecraft:iron_ore" - }, - "result": { - "id": "minecraft:iron_ingot" - }, - "description": [ - { - "text": "Very delicious iron." - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagesmithing.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagesmithing.json deleted file mode 100644 index a6795a0..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagesmithing.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "title": "Smithing a Thing", - "input": { - "id": "minecraft:diamond_sword" - }, - "modifier": { - "id": "minecraft:enchanted_book", - "nbt": { - "ench": [ - { - "id": 16, - "lvl": 5 - } - ] - } - }, - "result": { - "id": "minecraft:diamond_sword", - "nbt": { - "ench": [ - { - "id": 16, - "lvl": 5 - } - ] - } - }, - "description": [ - { - "text": "Ow, that's sharp." - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure.json deleted file mode 100644 index 47552f7..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "data": "structures/netherportal2.json" -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure2.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure2.json deleted file mode 100644 index 1e85a71..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure2.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "data": "structures/stonesmeltery2.json" -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure3.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure3.json deleted file mode 100644 index d9fc30a..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure3.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "data": "structures/stonesmeltery3.json" -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure4.json b/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure4.json deleted file mode 100644 index 0edf4ec..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/en_US/section1/pagestructure4.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "data": "structures/stonesmeltery4.json" -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/images/test.png b/src/main/resources/assets/mantle/books/TestBook/images/test.png deleted file mode 100644 index 1ece863..0000000 Binary files a/src/main/resources/assets/mantle/books/TestBook/images/test.png and /dev/null differ diff --git a/src/main/resources/assets/mantle/books/TestBook/index.json b/src/main/resources/assets/mantle/books/TestBook/index.json deleted file mode 100644 index 1ce3d84..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/index.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "name": "test section", - "icon": { - "file": "images/test.png" - }, - "data": "sections/section1.json" - }, - { - "name": "section 2", - "icon": { - "item": { - "id": "minecraft:command_block" - } - }, - "data": "sections/section1.json", - "requirements": [ - "achievement.buildHoe", - "achievement.makeBread" - ] - }, - { - "name": "section 3", - "title": "Hidden Section", - "icon": { - "file": "images/test.png" - }, - "data": "sections/section1.json", - "requirements": [ - "achievement.mineWood" - ], - "hideWhenLocked": true - } -] \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/items.json b/src/main/resources/assets/mantle/books/TestBook/items.json deleted file mode 100644 index c1845d2..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/items.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "item": { - "id": "minecraft:golden_apple", - "damage": 1 - }, - "damageSensitive": true, - "action": "go-to-page-rtn:test section.page5" - } -] \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/items/records.json b/src/main/resources/assets/mantle/books/TestBook/items/records.json deleted file mode 100644 index df667bf..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/items/records.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "items": [ - { - "id": "record_13" - }, - { - "id": "record_cat" - }, - { - "id": "record_blocks" - }, - { - "id": "record_chirp" - }, - { - "id": "record_far" - }, - { - "id": "record_mall" - }, - { - "id": "record_mellohi" - }, - { - "id": "record_stal" - }, - { - "id": "record_strad" - }, - { - "id": "record_ward" - }, - { - "id": "record_11" - }, - { - "id": "record_wait" - } - ], - "action": "go-to-page-rtn:test section.page5" -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/sections/section1.json b/src/main/resources/assets/mantle/books/TestBook/sections/section1.json deleted file mode 100644 index e26cc75..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/sections/section1.json +++ /dev/null @@ -1,81 +0,0 @@ -[ - { - "name": "Page1", - "type": "blank" - }, - { - "name": "PageCrafter", - "type": "crafting", - "data": "section1/pagecrafting.json" - }, - { - "name": "PageSmallCrafter", - "type": "crafting", - "data": "section1/pagecraftingsmall.json" - }, - { - "name": "PageSmelting", - "type": "smelting", - "data": "section1/pagesmelting.json" - }, - { - "name": "PageSmithing", - "type": "smithing", - "data": "section1/pagesmithing.json" - }, - { - "name": "PageBlockInteraction", - "type": "block interaction", - "data": "section1/pageblkinteraction.json" - }, - { - "name": "PageStructure", - "type": "structure", - "data": "section1/pagestructure2.json" - }, - { - "name": "PageStructure", - "type": "structure", - "data": "section1/pagestructure3.json" - }, - { - "name": "PageStructure", - "type": "structure", - "data": "section1/pagestructure4.json" - }, - { - "name": "PageStructure", - "type": "structure", - "data": "section1/pagestructure.json" - }, - { - "name": "Page2", - "type": "text", - "data": "section1/page2.json" - }, - { - "name": "Page3", - "type": "image", - "data": "section1/page3.json" - }, - { - "name": "Page4", - "type": "image with text below", - "data": "section1/page4_5.json" - }, - { - "name": "Page5", - "type": "text with image below", - "data": "section1/page4_5.json" - }, - { - "name": "Page6", - "type": "text with left image etch", - "data": "section1/page6_7.json" - }, - { - "name": "Page7", - "type": "text with right image etch", - "data": "section1/page6_7.json" - } -] \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/structures/netherportal.json b/src/main/resources/assets/mantle/books/TestBook/structures/netherportal.json deleted file mode 100644 index 60f2b69..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/structures/netherportal.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "size": [4, 5, 1], - "structure": [ - { - "pos": [0, 0, 0], - "endPos": [3, 0, 0], - "block": "minecraft:obsidian" - }, - { - "pos": [0, 0, 0], - "endPos": [0, 4, 0], - "block": "minecraft:obsidian" - }, - { - "pos": [3, 0, 0], - "endPos": [3, 4, 0], - "block": "minecraft:obsidian" - }, - { - "pos": [0, 4, 0], - "endPos": [3, 4, 0], - "block": "minecraft:obsidian" - }, - { - "pos": [1, 1, 0], - "endPos": [2, 3, 0], - "block": "minecraft:portal", - "meta": 2 - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/structures/netherportal2.json b/src/main/resources/assets/mantle/books/TestBook/structures/netherportal2.json deleted file mode 100644 index d9ab3f8..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/structures/netherportal2.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "size": [1, 5, 4], - "text": "This is a nether portal. It leads to the nether.Pretty cool, eh?Lorem Ipsum dolor, Lorem Ipsum Dolores", - "structure": [ - { - "pos": [0, 0, 0], - "endPos": [0, 0, 3], - "block": "minecraft:obsidian" - }, - { - "pos": [0, 0, 0], - "endPos": [0, 4, 0], - "block": "minecraft:obsidian" - }, - { - "pos": [0, 0, 3], - "endPos": [0, 4, 3], - "block": "minecraft:obsidian" - }, - { - "pos": [0, 4, 0], - "endPos": [0, 4, 3], - "block": "minecraft:obsidian" - }, - { - "pos": [0, 1, 1], - "endPos": [0, 3, 2], - "block": "minecraft:portal", - "meta": 2 - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery.json b/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery.json deleted file mode 100644 index bde3d0b..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "size": [5, 3, 5], - "structure": [ - { - "pos": [1, 0, 1], - "endPos": [3, 0, 3], - "block": "minecraft:stonebrick" - }, - { - "pos": [0, 1, 1], - "endPos": [0, 2, 3], - "block": "minecraft:stonebrick", - "meta": 0 - }, - { - "pos": [4, 1, 1], - "endPos": [4, 2, 3], - "block": "minecraft:stonebrick", - "meta": 1 - }, - { - "pos": [1, 1, 0], - "endPos": [3, 2, 0], - "block": "minecraft:stonebrick", - "meta": 2 - }, - { - "pos": [1, 1, 4], - "endPos": [3, 2, 4], - "block": "minecraft:wool", - "state": { - "color": "orange" - } - }, - { - "pos": [2, 2, 2], - "endPos": [2, 2, 2], - "block": "minecraft:glowstone" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery2.json b/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery2.json deleted file mode 100644 index ffad0dd..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery2.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "size": [4, 4, 4], - "text": "This is a nether portal. It leads to the nether.Pretty cool, eh?Lorem Ipsum dolor, Lorem Ipsum Dolores", - "structure": [ - { - "pos": [0, 0, 0], - "endPos": [3, 3, 3], - "block": "minecraft:stonebrick" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery3.json b/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery3.json deleted file mode 100644 index f64e3db..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery3.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "size": [9, 9, 9], - "structure": [ - { - "pos": [0, 0, 0], - "endPos": [8, 8, 8], - "block": "minecraft:stonebrick" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery4.json b/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery4.json deleted file mode 100644 index 086c2c4..0000000 --- a/src/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery4.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "size": [1, 1, 1], - "structure": [ - { - "pos": [0, 0, 0], - "endPos": [0, 0, 0], - "block": "minecraft:stonebrick" - } - ] -} \ No newline at end of file