KubeJS

KubeJS

69M Downloads

Block Loot Tables Aren't Working?

AnAwesomGuy opened this issue ยท 3 comments

commented

Minecraft Version

1.18.2

KubeJS Version

1802.5.5-build.569

Rhino Version

1802.2.1-build.255

Architectury Version

4.11.89

Forge/Fabric Version

Fabric 0.14.14

Describe your issue

// priority: 0

settings.logAddedRecipes = true
settings.logRemovedRecipes = true
settings.logSkippedRecipes = false
settings.logErroringRecipes = true

onEvent('block.loot_tables', event => {
event.addSimpleBlock('minecraft:dirt', 'minecraft:red_sand')
})

This is script.js in kubejs\server_scripts.

video in discord: https://discord.com/channels/166630061217153024/166630061217153024/1076789590926557204

Crash report/logs

No response

commented

nvm it works now wtf

commented

Fixed video link:

Minecraft__1.18.2_-_Singleplayer_2023-02-19_16-50-51.mp4
commented

ok thx i couldnt upload it for some reason
modlist in case it helps,
modlist.txt
oh wait sorry for closing it
misclick