#How would I change the hardness value of a block?

10 messages · Page 1 of 1 (latest)

humble juniper
#

Specifically, in such a way that if I added the mod to an existing server, the new hardness value would apply to already existing blocks.

#

(I want to change deepslate to be the same hardness as stone, so from 3.0 to 1.5)

winged forum
#

Mixins! It should apply properly, since hardness isn't per-instance iirc

humble juniper
winged forum
#

Blocks I think. Wherever the hardness is defined.

humble juniper
#

I finally managed to get it working, but it seems like the client needs to have the mod as well, is there any way around this?

granite dust
#

Not until blocks are datafied I don't think

winged forum
#

Sending update packets for explosions and such maybe

granite dust
#

I mean if you make it faster than usual it should be fine, idk about slower than normal tho

#

Still, requires advanced packet hackery.. I would maybe ask patbox if he dealt with this