Skip to content

Commit

Permalink
.18: Auto stash before rebase of "origin/version/1.18"
Browse files Browse the repository at this point in the history
  • Loading branch information
klikli-dev committed Jul 12, 2023
1 parent 8c96b7a commit 5a5ea27
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"S": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"S": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"S": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"S": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"G": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"W": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"W": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"W": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"W": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"W": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"W": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"W": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
},
"C": {
"type": "modonomicon:tag",
"tag": "#minecraft:candles",
"display": "occultism:candle_white"
"tag": "#minecraft:candles"
},
"W": {
"type": "modonomicon:block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,10 @@ private MappingBuilder display(char c, Supplier<? extends Block> display) {
return this.element(c, json);
}

private MappingBuilder tag(char c, TagKey<Block> tag, Supplier<? extends Block> display) {
private MappingBuilder tag(char c, TagKey<Block> tag) {
JsonObject json = new JsonObject();
json.addProperty("type", "modonomicon:tag");
json.addProperty("tag", "#" + tag.location());
json.addProperty("display", ForgeRegistries.BLOCKS.getKey(display.get()).toString());
return this.element(c, json);
}

Expand All @@ -368,7 +367,7 @@ private MappingBuilder bowl() {
}

private MappingBuilder candle() {
return this.tag('C', OccultismTags.CANDLES, OccultismBlocks.CANDLE_WHITE);
return this.tag('C', OccultismTags.CANDLES);
}

private MappingBuilder whiteChalk() {
Expand Down

0 comments on commit 5a5ea27

Please sign in to comment.