#Help downgrading to 1.18.2

7 messages · Page 1 of 1 (latest)

terse ocean
#

I wrote a script in 1.20.1 but I need to downgrade it.
I already fixed some things but the block is now acting as wood and doesn't give an effect anymore when standing on it.

onEvent('block.registry', event => {
    event.create("adventurous_block")
        .displayName('Block of Adventurous')
        .material('netherite_block')
        .soundType("netherite_block")
        .hardness(75)
        .tagBlock('forge:needs_netherite_tool')
        .tagBlock('minecraft:mineable/pickaxe')
        .requiresTool(true)
        .resistance(1500)
        .steppedOn(ctx =>{
            ctx.entity.potionEffects.add('glowing', 1200, 0, true, true)
        })
        .item(ctx => {
            ctx.rarity("EPIC")
            ctx.tooltip(Text.gold("The rarest block to exist, made from the rarest ingot to exist."))
        })
        .lightLevel(15)
})
nimble solarBOT
#

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

terse ocean
#

It also doesn't have the tooltip or rarity anymore

#

And light isn't emitted

#

This script runs 0 errors so I can’t figure out why it doesn’t work

terse ocean
#

Can someone help?

terse ocean
#

rip