#custom block

22 messages · Page 1 of 1 (latest)

shadow moon
#

I made a custom ore block, but when i try breaking it in game with a diamond pickaxe the block takes ages to break and the item wont drop(yes ive made a loot table).

event.create('arc_deepslate_ore')
   .textureAll('kubejs:block/arc_deepslate_ore')
   .material('stone')
   .hardness(4.5)
   .tagBlock('minecraft:mineable/pickaxe')
   .tagBlock('minecraft:needs_diamond_tool')
   .requiresTool(true)

i guess it has something to do with the .tagBlock but cant figure out why it wont workd

dusky crownBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

regal saffron
#

.hardness(1)

shadow moon
#

default iron ore is 3 in hardness tho

regal saffron
#

about the loot table dropping thing ill have to check on something

#

yours is 4.5 right

shadow moon
#

yes thats default for deepslate

regal saffron
#

so try setting it lower🤷‍♂️

#

in other scripts for some reason thier "iron blocks" are .5 hardness

#

odd

shadow moon
#

hmm

#

il tr

#

*try

regal saffron
#

kk

fierce swiftBOT
#

[Quote ➤](#1108742440703230073 message) Ah crap, so I was just backwards.

test.js in server_scripts
orehardness.js in startup_scripts

and that's working just fine, right now.

shadow moon
#

got it to work somehow

#

i did what renik did but after doing

#

the way i did it first worked

#

doesnt make sense

regal saffron
#

ah nice nice

#

odd stuff indeed heh