Fix controller not persisting energy across drops

This commit is contained in:
raoulvdberge
2019-10-29 17:54:16 +01:00
parent 0917dde80d
commit 234dc6f77f
7 changed files with 88 additions and 19 deletions

View File

@@ -9,24 +9,7 @@
"name": "refinedstorage:controller",
"functions": [
{
"function": "minecraft:copy_nbt",
"source": "block_entity",
"ops": [
{
"source": "Energy",
"target": "Energy",
"op": "replace"
}
]
},
{
"function": "minecraft:set_contents",
"entries": [
{
"type": "minecraft:dynamic",
"name": "minecraft:contents"
}
]
"function": "refinedstorage:controller"
}
]
}

View File

@@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "refinedstorage:creative_controller"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}