diff --git a/src/main/java/sunsetsatellite/signalindustries/SIBlocks.java b/src/main/java/sunsetsatellite/signalindustries/SIBlocks.java index 44eb97f..f6b008f 100644 --- a/src/main/java/sunsetsatellite/signalindustries/SIBlocks.java +++ b/src/main/java/sunsetsatellite/signalindustries/SIBlocks.java @@ -262,7 +262,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/energy/prototype/conduit_all.json") @@ -282,7 +281,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/energy/basic/conduit_all.json") @@ -302,7 +300,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/energy/reinforced/conduit_all.json") @@ -322,7 +319,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/energy/awakened/conduit_all.json") @@ -342,7 +338,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/catalyst/basic/conduit_all.json") @@ -362,7 +357,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/catalyst/reinforced/conduit_all.json") @@ -382,7 +376,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/catalyst/awakened/conduit_all.json") @@ -402,7 +395,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/fluid/prototype/conduit_all.json") @@ -422,7 +414,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/fluid/basic/conduit_all.json") @@ -442,7 +433,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/fluid/reinforced/conduit_all.json") @@ -462,7 +452,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/item/prototype/conduit_all.json") @@ -482,7 +471,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/item/basic/conduit_all.json") @@ -502,7 +490,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/item/basic/restrict/conduit_all.json") @@ -522,7 +509,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("conduit/item/basic/sensor/off/conduit_all.json") @@ -540,7 +526,6 @@ public void init() { .setBlockModel( block -> { BlockModelMultipart modelMultipart = new MultipartBlockModelBuilder(CatalystMultipart.MOD_ID) - .setBlockModel("cover.json") .build(block); modelMultipart.parentModel = new DFBlockModelBuilder(MOD_ID) .setBlockModel("multi_conduit/frame.json") diff --git a/src/main/java/sunsetsatellite/signalindustries/util/IndexRenderer.java b/src/main/java/sunsetsatellite/signalindustries/util/IndexRenderer.java index a7ddfa9..dba6047 100644 --- a/src/main/java/sunsetsatellite/signalindustries/util/IndexRenderer.java +++ b/src/main/java/sunsetsatellite/signalindustries/util/IndexRenderer.java @@ -228,9 +228,9 @@ public static void drawScreen(Minecraft mc, int mouseX, int mouseY, int width, i } public static void keyTyped(char c, int i, int mouseX, int mouseY) { - if(c == Keyboard.KEY_ADD || c == Keyboard.KEY_RIGHT){ + if(i == Keyboard.KEY_ADD || i == Keyboard.KEY_RIGHT){ if(page < pageMax) page++; - } else if (c == Keyboard.KEY_SUBTRACT || c == Keyboard.KEY_LEFT) { + } else if (i == Keyboard.KEY_SUBTRACT || i == Keyboard.KEY_LEFT) { if(page > 0) page--; } }