Skip to content

Commit

Permalink
Fix index page turn keybinds.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSVK12 committed Sep 22, 2024
1 parent 0ae67af commit 1f0054e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
15 changes: 0 additions & 15 deletions src/main/java/sunsetsatellite/signalindustries/SIBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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--;
}
}
Expand Down

0 comments on commit 1f0054e

Please sign in to comment.