fix: KubeJS startup errors - remove unbreakable() and basic type
All checks were successful
Build & Release Pack / build (push) Successful in 1m37s
All checks were successful
Build & Release Pack / build (push) Successful in 1m37s
- Remove .unbreakable() from void_stabilizer item (not valid on ItemBuilder; KubeJS forbids it) - Remove explicit 'basic' type from quantum_lattice block creation (defaults to basic; explicit caused unknown type error)
This commit is contained in:
parent
a6aa2db772
commit
b7a4b04a90
2 changed files with 2 additions and 4 deletions
|
|
@ -26,13 +26,12 @@ StartupEvents.registry('item', event => {
|
||||||
event.create('scicraft:void_stabilizer')
|
event.create('scicraft:void_stabilizer')
|
||||||
.texture('scicraft:item/void_stabilizer')
|
.texture('scicraft:item/void_stabilizer')
|
||||||
.maxStackSize(1)
|
.maxStackSize(1)
|
||||||
.unbreakable()
|
|
||||||
.tag('scicraft:stabilizer')
|
.tag('scicraft:stabilizer')
|
||||||
})
|
})
|
||||||
|
|
||||||
StartupEvents.registry('block', event => {
|
StartupEvents.registry('block', event => {
|
||||||
// Quantum Lattice — the Protocol's emitter. Must stay powered.
|
// Quantum Lattice — the Protocol's emitter. Must stay powered.
|
||||||
event.create('scicraft:quantum_lattice', 'basic')
|
event.create('scicraft:quantum_lattice')
|
||||||
.textureAll('scicraft:block/quantum_lattice')
|
.textureAll('scicraft:block/quantum_lattice')
|
||||||
.hardness(5.0)
|
.hardness(5.0)
|
||||||
.resistance(1200.0)
|
.resistance(1200.0)
|
||||||
|
|
|
||||||
|
|
@ -26,13 +26,12 @@ StartupEvents.registry('item', event => {
|
||||||
event.create('scicraft:void_stabilizer')
|
event.create('scicraft:void_stabilizer')
|
||||||
.texture('scicraft:item/void_stabilizer')
|
.texture('scicraft:item/void_stabilizer')
|
||||||
.maxStackSize(1)
|
.maxStackSize(1)
|
||||||
.unbreakable()
|
|
||||||
.tag('scicraft:stabilizer')
|
.tag('scicraft:stabilizer')
|
||||||
})
|
})
|
||||||
|
|
||||||
StartupEvents.registry('block', event => {
|
StartupEvents.registry('block', event => {
|
||||||
// Quantum Lattice — the Protocol's emitter. Must stay powered.
|
// Quantum Lattice — the Protocol's emitter. Must stay powered.
|
||||||
event.create('scicraft:quantum_lattice', 'basic')
|
event.create('scicraft:quantum_lattice')
|
||||||
.textureAll('scicraft:block/quantum_lattice')
|
.textureAll('scicraft:block/quantum_lattice')
|
||||||
.hardness(5.0)
|
.hardness(5.0)
|
||||||
.resistance(1200.0)
|
.resistance(1200.0)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue