Skip to content

Commit

Permalink
feat: Re-add Bound Scroll item and instead just change its recipe and…
Browse files Browse the repository at this point in the history
… remove right-click binding #779
  • Loading branch information
BlayTheNinth committed Dec 21, 2023
1 parent ad8fbe5 commit 2103efc
Show file tree
Hide file tree
Showing 82 changed files with 331 additions and 195 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public ModItemTagProvider(FabricDataOutput output, CompletableFuture<HolderLooku
protected void addTags(HolderLookup.Provider lookup) {
getOrCreateTagBuilder(ModItemTags.WARP_SCROLLS).add(ModItems.warpScroll);
getOrCreateTagBuilder(ModItemTags.RETURN_SCROLLS).add(ModItems.returnScroll);
getOrCreateTagBuilder(ModItemTags.BOUND_SCROLLS).add(ModItems.boundScroll);
getOrCreateTagBuilder(ModItemTags.WARP_STONES).add(ModItems.warpStone);
getOrCreateTagBuilder(ModItemTags.WARP_SHARDS).add(ModItems.attunedShard, ModItems.crumblingAttunedShard);
getOrCreateTagBuilder(ModItemTags.SINGLE_USE_WARP_SHARDS).add(ModItems.crumblingAttunedShard);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public void generateItemModels(ItemModelGenerators itemModelGenerator) {
itemModelGenerator.generateFlatItem(ModItems.warpStone, ModelTemplates.FLAT_HANDHELD_ITEM);
itemModelGenerator.generateFlatItem(ModItems.warpScroll, ModelTemplates.FLAT_HANDHELD_ITEM);
itemModelGenerator.generateFlatItem(ModItems.returnScroll, ModelTemplates.FLAT_HANDHELD_ITEM);
itemModelGenerator.generateFlatItem(ModItems.boundScroll, ModelTemplates.FLAT_HANDHELD_ITEM);

final var dyedSharestoneTemplate = new ModelTemplate(Optional.of(new ResourceLocation("waystones", "item/dyed_sharestone")), Optional.empty());
for (Block scopedSharestone : ModBlocks.scopedSharestones) {
Expand Down
2 changes: 1 addition & 1 deletion modpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ It can be used in Survival Mode, for Adventure Maps or on Multiplayer Servers as

- Craftable Waystones for Survival Mode
- Teleporting between Waystones or using a Warp Scroll or rechargeable Warp Stone
- Sharing of activated Waystones through Bound Warp Scrolls
- Sharing of activated Waystones through Bound Scrolls
- Optional Inventory Button for warping without any items
- Global Waystones for Multiplayer Servers and Adventure Maps
- Generation of Random Waystones in the World
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "waystones:item/bound_scroll"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:black_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:blackstone_waystone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:blue_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:brown_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:cyan_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:deepslate_waystone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:end_stone_waystone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:gray_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:green_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:landing_stone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:light_blue_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:light_gray_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:lime_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:magenta_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:mossy_waystone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:mossy_waystone_from_vines"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:orange_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:pink_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:portstone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:purple_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:red_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:return_scroll"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:sandy_waystone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:sharestone_from_dyed"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:warp_dust"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:warp_plate"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:warp_scroll"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:warp_stone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"waystones:waystone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:white_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
"recipes": [
"waystones:yellow_sharestone"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
],
"result": {
"item": "waystones:blackstone_waystone"
},
"show_notification": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
],
"result": {
"item": "waystones:deepslate_waystone"
},
"show_notification": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
],
"result": {
"item": "waystones:end_stone_waystone"
},
"show_notification": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
],
"result": {
"item": "waystones:landing_stone"
},
"show_notification": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
],
"result": {
"item": "waystones:mossy_waystone"
},
"show_notification": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
],
"result": {
"item": "waystones:portstone"
},
"show_notification": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
"result": {
"count": 3,
"item": "waystones:return_scroll"
},
"show_notification": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
],
"result": {
"item": "waystones:sandy_waystone"
},
"show_notification": true
}
}
Loading

0 comments on commit 2103efc

Please sign in to comment.