Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
d854a25
RS2 RS Bridge without bridge
SirEndii Jan 14, 2025
ddb4d2c
RS Bridge can now connect to a RS System
SirEndii Jan 14, 2025
28be7b8
Use for the RS functions our `IStorageSystemPeripheral` implementatio…
SirEndii Jan 14, 2025
15878c7
Merge branch 'dev/1.21.1' into dev/1.21.1-rs2
SirEndii Jan 15, 2025
7daf848
get and list items functions
SirEndii Jan 15, 2025
9a76fac
Initialize the network node container
SirEndii Jan 16, 2025
36520b8
Merge branch 'dev/1.21.1' into dev/1.21.1-rs2
SirEndii Jan 16, 2025
bde4fb4
Merge branch 'refs/heads/dev/1.21.1' into dev/1.21.1-rs2
SirEndii Feb 3, 2025
3c04f09
listFluids and getFluid
SirEndii Feb 3, 2025
fcd6ec4
Implement listCraftables functions
SirEndii Feb 13, 2025
c2643ff
Add patterns and filtered patterns support
SirEndii Feb 22, 2025
35b226d
Implement `listDrives` and `listCells`
SirEndii Feb 24, 2025
faf98c2
Implement `getStoredEnergy` and `getEnergyCapacity`. Remove `getFilte…
SirEndii Feb 26, 2025
7bb5685
Implement used, total and available storage functions for internal an…
SirEndii Feb 26, 2025
e1bb4c4
implement import and export functions
SirEndii Feb 28, 2025
2d4f391
Added peripheral block support and make some inventory and fluid util…
SirEndii Feb 28, 2025
a5ccc5a
Somewhat implemented the craftItems function, but it's not done yet. …
SirEndii Mar 3, 2025
b32745d
Change order of IStorageSystemPeripheral
SirEndii Mar 4, 2025
1413ea6
Basic chemical support
SirEndii Mar 7, 2025
db4806a
Implemented all RS functions - the crafting job needs some love but I…
SirEndii Mar 11, 2025
6b3ad98
more chemical functions
SirEndii Mar 11, 2025
8740678
Chemical support for listing functions
SirEndii Mar 13, 2025
a4b851b
Full chemical support
SirEndii Mar 14, 2025
8e72c63
More cursed RS2 implementations but the bridge should be completed by…
SirEndii Mar 19, 2025
a0dabec
Update src/main/java/de/srendi/advancedperipherals/common/addons/refi…
SirEndii Mar 19, 2025
cef035c
Update src/main/java/de/srendi/advancedperipherals/common/addons/refi…
SirEndii Mar 19, 2025
33137c5
Merge branch 'refs/heads/dev/1.21.1' into dev/1.21.1-rs2
SirEndii Mar 19, 2025
dc59544
Merge remote-tracking branch 'origin/dev/1.21.1-rs2' into dev/1.21.1-rs2
SirEndii Mar 19, 2025
31a7118
Add missing final keywords and lua function annotations
SirEndii Mar 19, 2025
9786d9d
Refined Storage 2 -> Refined Storage for the RS Bridge's description
SirEndii Mar 19, 2025
aa04750
getAvgPowerInjection -> getAverageEnergyInput
SirEndii Mar 20, 2025
f9e4718
Also rename the method that uses it
SirEndii Mar 20, 2025
0e034f6
Make StatusConstants.withInfo return a String directly
SirEndii Mar 20, 2025
1eb2ec6
Remove redundant null arguments
SirEndii Mar 21, 2025
339ce6a
Don't create new Map instances when using the default parameter for t…
SirEndii Mar 21, 2025
3bbfa01
use present functions of Pair's instead
SirEndii Mar 21, 2025
f0f7181
Validate filters for `getPatterns`
SirEndii Mar 21, 2025
0524358
Improve debug message for import and export functions when no invento…
SirEndii Mar 21, 2025
4512968
Improve readability of RsChemicalHandler
SirEndii Mar 21, 2025
eb51d76
Remove redstone mode since it is not possible to get that state via t…
SirEndii Mar 21, 2025
56db1d4
Extract method calls from storage handlers to improve readability
SirEndii Mar 21, 2025
3ee0bfa
Uncomment forgotten jobStateChanged from our TaskStatusListener the b…
SirEndii Mar 21, 2025
81452b8
Refactor how we call our methods for implementation and lua functions…
SirEndii Mar 21, 2025
2e77c94
Use a global EMPTY instance for our filters and don't always create a…
SirEndii Mar 21, 2025
9d0e53e
Fix typo
SirEndii Mar 21, 2025
3ee4f83
Print the craft job exceptions using log4j
SirEndii Mar 21, 2025
f6bac59
Change how we compare percentage completed of the rs craft job to pre…
SirEndii Mar 21, 2025
c11e393
Rename extern to external for our lua functions and implementatioons
SirEndii Mar 21, 2025
d5af46c
implement getEnergyUsage for the RS Bridge
SirEndii Mar 21, 2025
4f7a745
CPU_DOES_NOT_EXIST -> CPU_NOT_FOUND
SirEndii Mar 23, 2025
18e3ab8
Remove old todos
SirEndii Mar 24, 2025
0854a3c
Add comments to status constants
SirEndii Mar 24, 2025
70accc0
protected static -> private static event field
SirEndii Mar 24, 2025
4eeab7b
remove empty line
SirEndii Mar 24, 2025
667dd4b
change logic of listCells helper method
SirEndii Mar 24, 2025
05f63a4
Change order of fireEvent to improve readability
SirEndii Mar 24, 2025
622ad78
Add chemical type to storage disk property
SirEndii Mar 24, 2025
3b4f3d8
Change == to equals for TaskId check
SirEndii Mar 24, 2025
18dbed2
use boolean instead of MethodResult for isConnected() lua function
SirEndii Mar 24, 2025
357601b
Prevent peripheral creation issues when third party addons are not lo…
SirEndii Mar 26, 2025
ff27797
Improve todo comment on getTotalExternalStorage
SirEndii Mar 26, 2025
9f9e8b2
begone import
SirEndii Mar 26, 2025
e94c125
Changelog
SirEndii Mar 28, 2025
a327ed9
AE2 Stuff -> RS Stuff
SirEndii Mar 28, 2025
9f7c1dc
Remove unnecessary copy
SirEndii Mar 28, 2025
247013e
remove print stack trace and use log4j
SirEndii Mar 28, 2025
3ce9dd2
Fixed that filters can't specify a type while having a name property
SirEndii Mar 28, 2025
0359a50
Use constant instead of creating a new object everytime for an empty …
SirEndii Mar 28, 2025
9a20cf0
Uncomment methods from testing and improve `getCraftingTask`
SirEndii Mar 28, 2025
b834284
rename Me bridge to ME bridge
SirEndii Apr 18, 2025
fdc72b7
Switch to a nested if statement in inventory logic for better readabi…
SirEndii Apr 18, 2025
168c206
remove useless mekanism check
SirEndii Apr 18, 2025
c9744fd
Fixed crash with storage functions when the mekanism addon is not loaded
SirEndii Apr 18, 2025
aeb6688
More nested if statements
SirEndii Apr 18, 2025
9348515
More nested if statements
SirEndii Apr 18, 2025
7f34eaf
More nested if statements
SirEndii Apr 18, 2025
ab032aa
More nested if statements
SirEndii Apr 18, 2025
703f022
More nested if statements
SirEndii Apr 18, 2025
6a3133e
Rename Me -> ME and Rs -> RS
SirEndii Apr 19, 2025
4b0e9eb
Bump CC to fix a runtime bug
SirEndii Apr 25, 2025
0d93afa
Add a custom default to the notConnected helper method.
SirEndii Apr 25, 2025
9fcfa81
Use null as a default return type for collections
SirEndii Apr 27, 2025
78cb608
RsBridgeEntity -> RSBridgeEntity
SirEndii Apr 28, 2025
4a3ba97
Chain stream filters in RSBridgeEntity for craft jobs
SirEndii Apr 28, 2025
6ee5474
fluid -> chemical in ChemicalUtil.java
SirEndii Apr 28, 2025
7d4e608
Remove empty line
SirEndii Apr 28, 2025
7a32929
Fully upper case loop label
SirEndii Apr 28, 2025
e4df39f
Implement the actual support for chemical resources and fixed some cr…
SirEndii Apr 28, 2025
8978dfb
Fixed IllegalStateException when trying to get a holder from the regi…
SirEndii Apr 28, 2025
f82228c
Also return crafting tasks that weren't submitted by the Bridge
SirEndii Apr 29, 2025
6c263cf
add debug message to RS mekanism addon specific functions when the ad…
SirEndii Apr 30, 2025
42bb7c2
Update src/main/java/de/srendi/advancedperipherals/common/addons/refi…
SirEndii May 4, 2025
1c9dc39
clean up RS insert/extracts
zyxkad May 4, 2025
acb51ee
fix insertChemical
zyxkad May 4, 2025
71dcd02
Switch to Lists instead of using HashSet implementations for the RS B…
SirEndii May 6, 2025
88c270c
Move Storage Type check to the beginning of the function to save time
SirEndii May 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed
- We enhanced the RS Bridge in a major way including new functions, a better crafting system and more. Refer to the [docs](https://docs.advanced-peripherals.de/0.7-bridges/guides/storage_system_functions/)

### Fixed
- [#711] Fixed that the block reader would not be able to access registries for component information

Expand Down
26 changes: 21 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,23 @@ repositories {
}
}
maven {
url = uri("https://maven.pkg.github.com/refinedmods/refinedstorage")
url = uri("https://maven.pkg.github.com/refinedmods/refinedstorage2")
credentials {
username = "anything"
password = "\u0067hp_oGjcDFCn8jeTzIj4Ke9pLoEVtpnZMP4VQgaX"
}
content {
includeModule("com.refinedmods", "refinedstorage")
}
maven {
url = uri("https://maven.pkg.github.com/refinedmods/refinedstorage-mekanism-integration")
credentials {
username = "anything"
password = "\u0067hp_oGjcDFCn8jeTzIj4Ke9pLoEVtpnZMP4VQgaX"
}
}
maven {
name = "EMI"
url = uri("https://maven.terraformersmc.com/")
}
maven {
name = 'Kotlin for Forge'
url = 'https://thedarkcolour.github.io/KotlinForForge/'
Expand Down Expand Up @@ -214,13 +222,21 @@ dependencies {
compileOnly "org.jetbrains:annotations:${jb_annotations}"
implementation "net.neoforged:neoforge:${neo_version}"
implementation "cc.tweaked:cc-tweaked-${minecraft_version}-forge:${cc_version}"

// Minimal requirements end

compileOnly("com.refinedmods.refinedstorage:refinedstorage-neoforge:${refinedstorage_version}")
runtimeOnly("com.refinedmods.refinedstorage:refinedstorage-neoforge:${refinedstorage_version}")

compileOnly("com.refinedmods.refinedstorage:refinedstorage-mekanism-integration:${refinedstorage_mekanism_version}")
runtimeOnly("com.refinedmods.refinedstorage:refinedstorage-mekanism-integration:${refinedstorage_mekanism_version}")

// Needed for the refined storage mek integration
compileOnlyApi("dev.emi:emi-neoforge:${emiVersion}")

// Extended requirements
// We don't use the api since we need a specific class from mekanism
compileOnly "mekanism:Mekanism:${mekanism_version}"
// runtimeOnly "mekanism:Mekanism:${mekanism_version}"
runtimeOnly "mekanism:Mekanism:${mekanism_version}"

// Applied Energistics 2
compileOnly "appeng:appliedenergistics2:${appliedenergistics_version}"
Expand Down
10 changes: 7 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mod_id=advancedperipherals
mod_version=0.7.49a
minecraft_version=1.21.1
mod_artifact_suffix=
neo_version=21.1.115
neo_version=21.1.133
parchment_minecraft_version=1.21.1
parchment_mappings_version=2024.11.17
loader_version=4
Expand All @@ -25,14 +25,16 @@ kotlinx_coroutines_version=1.6.0-RC3
ttoolkit_version=0.1.3

# Mod dependencies
cc_version=1.113.1
cc_version=1.115.1

ae2things_version=5637783
appliedenergistics_version=19.1.2-beta
appliedmekanistics_version=5978711
mekanism_version=1.21.1-10.7.8.70
refinedstorage_version=2.0.0-beta.2
refinedstorage_mekanism_version=1.0.0
minecolonies_version=1.1.846-1.21.1-snapshot
patchouli_version=1.21-87
mekanism_version=1.21.1-10.7.12.77
powah_version=6143661

# Mod dependencies which are needed for other mods
Expand All @@ -41,6 +43,8 @@ structurize_version=1.0.755-1.21.1-snapshot
multipiston_version=1.2.51-1.21.1-snapshot
blockui_version=1.0.192-1.21.1-snapshot
domumornamentum_version=1.0.204-1.21.1-snapshot
# refined storage mek integration
emiVersion=1.1.11+1.21
# powah
cloth_config_version=15.0.127

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// 1.21.1 2025-01-15T03:22:26.2798836 Languages: en_us for mod: advancedperipherals
df95afe714aeff7559b0093257aeca501dabb1e2 assets/advancedperipherals/lang/en_us.json
// 1.21.1 2025-03-20T00:32:42.9859105 Languages: en_us for mod: advancedperipherals
d2006c7f1d9c5f1f768b50a3c445dc8b566bf9dd assets/advancedperipherals/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21.1 2025-01-14T18:51:29.8897473 Loot Tables
// 1.21.1 2025-01-14T21:35:41.3183672 Loot Tables
9b54955770745d55de988a86cbd08aa9ae23ff86 data/advancedperipherals/loot_table/blocks/block_reader.json
d4f1bc579f83dc67ce9f94d35926d34b8894c990 data/advancedperipherals/loot_table/blocks/chat_box.json
9ac96b8e3da827886d8da459a2f146e8ae3ee798 data/advancedperipherals/loot_table/blocks/colony_integrator.json
Expand All @@ -11,3 +11,4 @@ ae62bfa75e39a59374602c8a87cc2afe8b4923dd data/advancedperipherals/loot_table/blo
fa56de9a073f32ab8a65b5f17c57f360a157b5c1 data/advancedperipherals/loot_table/blocks/peripheral_casing.json
d61b1c54dd6da8f0213d5eb8a5b40d78bff5ba90 data/advancedperipherals/loot_table/blocks/player_detector.json
6bad9bed7baa7af4b5ca3cae7c4cb8d47dc7b593 data/advancedperipherals/loot_table/blocks/redstone_integrator.json
76cdba2795aafc897a579670afb264b75147f498 data/advancedperipherals/loot_table/blocks/rs_bridge.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21.1 2025-01-14T19:12:56.350339 Recipes
// 1.21.1 2025-01-14T21:43:25.122686 Recipes
f5ba1f7d129c88dca1a13c8deaae2d269644c7fa data/advancedperipherals/advancement/recipes/redstone/block_reader.json
e172645262ade9fc4a1c999a2c0041711c2eab55 data/advancedperipherals/advancement/recipes/redstone/chat_box.json
213de9a7e340c5eb9c01d82a72e7b58921c5290a data/advancedperipherals/advancement/recipes/redstone/chunk_controller.json
Expand All @@ -17,6 +17,7 @@ f218420f4c94524614229bb2d50e5c7f8e6beb28 data/advancedperipherals/advancement/re
2c38bc3468e8db1caac94d8ddfff68f50d596439 data/advancedperipherals/advancement/recipes/redstone/peripheral_casing.json
7dd96be9f8e31ce60752727119aa9fc738c43e3b data/advancedperipherals/advancement/recipes/redstone/player_detector.json
38be5210a7d2bb22d63674af46867a1b38c022e1 data/advancedperipherals/advancement/recipes/redstone/redstone_integrator.json
a0cab6b6139cd0d6fa86842031a59a3eff69a4ea data/advancedperipherals/advancement/recipes/redstone/rs_bridge.json
6489fff67f0d703c3a087d728eb4801413b686f5 data/advancedperipherals/advancement/recipes/redstone/weak_automata_core.json
b48e0eed6f4cfbe62c8b7c411e92e3b38ad4e4f9 data/advancedperipherals/recipe/block_reader.json
c8d06dd085c0477f94d90f3a5f0800c3efc08d02 data/advancedperipherals/recipe/chat_box.json
Expand All @@ -36,4 +37,5 @@ ba80666226c2a0d1aa30709e31756ca27076069a data/advancedperipherals/recipe/overpow
0d659e0d2c832e4eef3e43cb77ddad64e071345a data/advancedperipherals/recipe/peripheral_casing.json
205166613824976d691cd0503f0e399e5b17616e data/advancedperipherals/recipe/player_detector.json
b219e8902fcea47776cb23c85e25e58efecc8f00 data/advancedperipherals/recipe/redstone_integrator.json
e0228e5cddd9cc266fadb0fd7c9476285f79143c data/advancedperipherals/recipe/rs_bridge.json
898d1243e5d1038e934f3ef5522aeae2f0468f43 data/advancedperipherals/recipe/weak_automata_core.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21.1 2025-01-15T03:30:04.6987737 Block States: advancedperipherals
// 1.21.1 2025-01-15T15:11:12.9901322 Block States: advancedperipherals
5e28ce1be9a6996d982641e5df1fa7162090b8cc assets/advancedperipherals/blockstates/block_reader.json
f42bdde60f84fdb312f7cf3b2be461d9c11ebdc8 assets/advancedperipherals/blockstates/chat_box.json
1227aa092fcf1327547ace6ccc9db230e45891b0 assets/advancedperipherals/blockstates/colony_integrator.json
Expand All @@ -11,6 +11,7 @@ d1fe6188b0b0ce8779cb9795a746177858cbaa41 assets/advancedperipherals/blockstates/
51d1ce8b8772773acc82895ff6314370138c9d5a assets/advancedperipherals/blockstates/peripheral_casing.json
ff12c7217911184266589813a2c8f9b0d46cfd65 assets/advancedperipherals/blockstates/player_detector.json
726cf2599b0c765bcfacda88a1943be74f985877 assets/advancedperipherals/blockstates/redstone_integrator.json
6b176e8fdb048f7b6678bfbc1c4baf2bcfa67a1f assets/advancedperipherals/blockstates/rs_bridge.json
544ff1ecb58622350b58940036b4b1908e1146da assets/advancedperipherals/models/block/block_reader.json
dab55424ec184c5495c7ca11e5bbe77210e04c26 assets/advancedperipherals/models/block/chat_box.json
7e207db9b2b170f52565c8ed23bcc92762be6c4d assets/advancedperipherals/models/block/colony_integrator.json
Expand All @@ -23,3 +24,4 @@ dab55424ec184c5495c7ca11e5bbe77210e04c26 assets/advancedperipherals/models/block
36b6ac01be085492aa6298eeb89e6ecaa3cb6f82 assets/advancedperipherals/models/block/peripheral_casing.json
120df29f21059aa9d4dff53bbb80953dee8d5214 assets/advancedperipherals/models/block/player_detector.json
d08b8946e1eb01cc9c8af4fa297b582614d1034b assets/advancedperipherals/models/block/redstone_integrator.json
15685a3c58f78db663609d56ee6fdb29652eef5f assets/advancedperipherals/models/block/rs_bridge.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21.1 2025-01-14T18:51:29.8886424 Block tags
6566cca83fe6d74441cb2b220aa517b93951dac9 data/minecraft/tags/blocks/mineable/pickaxe.json
5c9d90b6cb82fe772165b794f1eb511db72cb639 data/minecraft/tags/blocks/needs_iron_tool.json
// 1.21.1 2025-01-14T21:35:41.316368 Block tags
ad2dad8f4f2ec5a67735fe462d83d1ac4c3ef006 data/minecraft/tags/blocks/mineable/pickaxe.json
f4459900cde17548776562b1a6f3c12ccc86efa5 data/minecraft/tags/blocks/needs_iron_tool.json
e1f71dcb4f9e7e36e29b0ad09d6520dc3adfa4a6 data/neoforge/tags/blocks/needs_wood_tool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"variants": {
"orientation=down_east": {
"model": "advancedperipherals:block/rs_bridge",
"x": 90,
"y": 90
},
"orientation=down_north": {
"model": "advancedperipherals:block/rs_bridge",
"x": 90
},
"orientation=down_south": {
"model": "advancedperipherals:block/rs_bridge",
"x": 90,
"y": 180
},
"orientation=down_west": {
"model": "advancedperipherals:block/rs_bridge",
"x": 90,
"y": 270
},
"orientation=east_up": {
"model": "advancedperipherals:block/rs_bridge",
"y": 90
},
"orientation=north_up": {
"model": "advancedperipherals:block/rs_bridge"
},
"orientation=south_up": {
"model": "advancedperipherals:block/rs_bridge",
"y": 180
},
"orientation=up_east": {
"model": "advancedperipherals:block/rs_bridge",
"x": 270,
"y": 90
},
"orientation=up_north": {
"model": "advancedperipherals:block/rs_bridge",
"x": 270
},
"orientation=up_south": {
"model": "advancedperipherals:block/rs_bridge",
"x": 270,
"y": 180
},
"orientation=up_west": {
"model": "advancedperipherals:block/rs_bridge",
"x": 270,
"y": 270
},
"orientation=west_up": {
"model": "advancedperipherals:block/rs_bridge",
"y": 270
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"block.advancedperipherals.peripheral_casing": "Peripheral Casing",
"block.advancedperipherals.player_detector": "Player Detector",
"block.advancedperipherals.redstone_integrator": "Redstone Integrator",
"block.advancedperipherals.rs_bridge": "RS Bridge",
"entity.minecraft.villager.advancedperipherals.computer_scientist": "Computer Scientist",
"item.advancedperipherals.chunk_controller": "Chunk Controller",
"item.advancedperipherals.computer_tool": "Computer Tool",
Expand Down Expand Up @@ -59,6 +60,7 @@
"item.advancedperipherals.tooltip.peripheral_casing": "&7An empty hull without the love it deserves. Used as a crafting ingredient",
"item.advancedperipherals.tooltip.player_detector": "&7This peripheral can be used to interact with players, but don't be a stalker.",
"item.advancedperipherals.tooltip.redstone_integrator": "&7This block is able to interact with redstone. Works exactly like the redstone api of an computer.",
"item.advancedperipherals.tooltip.rs_bridge": "&7The RS Bridge interacts with Refined Storage to manage your items.",
"item.advancedperipherals.tooltip.show_desc": "&b[&7%s&b] &7For Description",
"item.advancedperipherals.tooltip.weak_automata_core": "&7Upgrade for turtles, which makes turtles more useful.",
"item.advancedperipherals.weak_automata_core": "Weak Automata Core",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "advancedperipherals:block/rs_bridge",
"north": "advancedperipherals:block/rs_bridge_front",
"particle": "advancedperipherals:block/rs_bridge_front",
"up": "advancedperipherals:block/rs_bridge_top"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "refinedstorage"
}
],
"parent": "minecraft:recipes/root",
"criteria": {
"has_item": {
"conditions": {
"items": [
{
"items": "advancedperipherals:peripheral_casing"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "advancedperipherals:rs_bridge"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_item"
]
],
"rewards": {
"recipes": [
"advancedperipherals:rs_bridge"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:copy_components",
"include": [
"minecraft:custom_name"
],
"source": "block_entity"
}
],
"name": "advancedperipherals:rs_bridge"
}
],
"rolls": 1.0
}
],
"random_sequence": "advancedperipherals:blocks/rs_bridge"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "refinedstorage"
}
],
"type": "minecraft:crafting_shaped",
"category": "redstone",
"key": {
"C": {
"item": "advancedperipherals:peripheral_casing"
},
"E": {
"tag": "refinedstorage:exporters"
},
"I": {
"item": "refinedstorage:interface"
},
"P": {
"item": "refinedstorage:advanced_processor"
},
"R": {
"tag": "refinedstorage:importers"
},
"X": {
"tag": "refinedstorage:external_storages"
}
},
"pattern": [
"PXP",
"ECR",
"PIP"
],
"result": {
"count": 1,
"id": "advancedperipherals:rs_bridge"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"advancedperipherals:chat_box",
"advancedperipherals:player_detector",
"advancedperipherals:me_bridge",
"advancedperipherals:rs_bridge",
"advancedperipherals:energy_detector",
"advancedperipherals:peripheral_casing",
"advancedperipherals:inventory_manager",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"advancedperipherals:chat_box",
"advancedperipherals:player_detector",
"advancedperipherals:me_bridge",
"advancedperipherals:rs_bridge",
"advancedperipherals:energy_detector",
"advancedperipherals:inventory_manager",
"advancedperipherals:redstone_integrator",
Expand Down
Loading