Added Interaction for EnergyStorages
This commit is contained in:
@@ -41,7 +41,13 @@
|
||||
}
|
||||
},
|
||||
"Interactions": {
|
||||
"Primary": "Break_Container"
|
||||
"Use": {
|
||||
"Interactions": [
|
||||
{
|
||||
"Type": "StorageUseInteraction"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"BlockSoundSetId": "Wood",
|
||||
"BlockParticleSetId": "Wood",
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
"BlockEntity": {
|
||||
"Components": {
|
||||
"EnergyStorage": {
|
||||
"MaxCapacity": 10000,
|
||||
"MaxCapacity": 1000,
|
||||
"ExtractEnergyPerTick": 100,
|
||||
"ReceiveEnergyPerTick": 1000,
|
||||
"CurrentEnergyAmount": 0
|
||||
},
|
||||
"EnergySource": {
|
||||
"EnergyCapacity": -1,
|
||||
"GeneratesPerTick": 100
|
||||
"GeneratesPerTick": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -51,14 +51,20 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"Interactions": {
|
||||
"Primary": "Break_Container"
|
||||
},
|
||||
"State": {},
|
||||
"BlockSoundSetId": "Wood",
|
||||
"BlockParticleSetId": "Wood",
|
||||
"VariantRotation": "NESW",
|
||||
"ParticleColor": "#3e352a"
|
||||
"ParticleColor": "#3e352a",
|
||||
"Interactions": {
|
||||
"Use": {
|
||||
"Interactions": [
|
||||
{
|
||||
"Type": "StorageUseInteraction"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Scale": 1,
|
||||
"ResourceTypes": [
|
||||
|
||||
Reference in New Issue
Block a user