fix kubejs bullshit
This commit is contained in:
parent
ff600fedbc
commit
193fc71acd
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ onEvent('block.loot_tables', event => {
|
||||||
table.addPool(pool => {
|
table.addPool(pool => {
|
||||||
pool.addItem('minecraft:cobblestone', 1)
|
pool.addItem('minecraft:cobblestone', 1)
|
||||||
|
|
||||||
|
var i = 0
|
||||||
for (i = 0; i < stoneLootTable.length; i++) {
|
for (i = 0; i < stoneLootTable.length; i++) {
|
||||||
pool.addItem(stoneLootTable[i],1).randomChance(stoneLootChance)
|
pool.addItem(stoneLootTable[i],1).randomChance(stoneLootChance)
|
||||||
}
|
}
|
||||||
|
@ -34,7 +35,7 @@ onEvent('block.loot_tables', event => {
|
||||||
event.addBlock('minecraft:deepslate', table => {
|
event.addBlock('minecraft:deepslate', table => {
|
||||||
table.addPool(pool => {
|
table.addPool(pool => {
|
||||||
pool.addItem('minecraft:cobbled_deepslate', 1)
|
pool.addItem('minecraft:cobbled_deepslate', 1)
|
||||||
|
var i = 0
|
||||||
for (i = 0; i < deepSlateLootTable.length; i++) {
|
for (i = 0; i < deepSlateLootTable.length; i++) {
|
||||||
pool.addItem(deepSlateLootTable[i],1).randomChance(deepSlateLootChance)
|
pool.addItem(deepSlateLootTable[i],1).randomChance(deepSlateLootChance)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue