#1.20.80 cooldowns?? (resolved, for now.)

1 messages · Page 1 of 1 (latest)

paper mulch
#

on new 1.20.80 version my cooldowns are all invisible and i am struggling to fix it

i have a script that fixes this but it only works on 1.11.0 to my knowledge, which according to the microsoft page, is currently literally the only unavailable version, so i can't use that.

all help is appreciated

quaint ledge
#

It's 1.11.0-beta

#

Afaik

paper mulch
#

but also my script that was working around a week ago just

#

doesnt now

#

thanks, mojang

paper mulch
#

nevermind, got the help of a friend to get this to work

#

1.20.80 cooldowns?? (resolved, for now.)

torpid dust
#

thanks mojang for ruining the item system for literally no fucking reason tho!!!

paper mulch
#

true

grim pendant
paper mulch
#

i deleted the on_use component in my item and then put this in my script

import { system, world } from "@minecraft/server";
world.afterEvents.itemUse.subscribe((data) => {
    const Player = data.source
    const Item = data.itemStack
    const Cooldown = Item.getComponent("minecraft:cooldown")
    if (Item.typeId === "woc:domainclash" && Cooldown.cooldownTicks == 20 &&         Cooldown.getCooldownTicksRemaining(Player) == 0) {
        Player.runCommandAsync("scoreboard players add @s domainclash 1")
        Cooldown.startCooldown(Player)
    }
})```

and it worked
***(1.11.0-beta btw)***
#

oh wait thats just part of it hollup

#

i tested it on 1.10 scripts and 1.19 and it broke on both so im pretty sure it requires beta apis because it grabs the cooldown component from the item?

#

imma be fr tho i have barely any knowledge of scripting so don ask me bout the inner workings of this thing 😭

grim pendant
paper mulch
#

for some reason

#

replace on_use with a script

#

fixed the cooldown

grim pendant
#

cooldown works fine in the new update, just that the cooldown texture not showing is the problem

paper mulch
#

yea

grim pendant
#

does it fix the texture?

paper mulch
grim pendant
#

that's weird

#

eh I have too many items I would rather wait for them to fix it lol

paper mulch
grim pendant
#

maybe replacing it with something

paper mulch
#

but i think they are also involved with scripting in some way

#

(cus mojang hates us)

grim pendant
#

quick random question if you don't mind

#

why do addon creators not name their items in the bp json and choose to name it in the rp texts

paper mulch
devout spindle
paper mulch
devout spindle
#

I suggest getting up to date with the new format versions as 1.16.100 will eventually not work anymore

paper mulch
devout spindle
paper mulch
devout spindle
paper mulch
#

true

devout spindle
#

Also, bridge auto sets to 1.16.100?

paper mulch
#

yep

#

it allows me to manually swap to the other versions but it defaults to that

devout spindle
#

Yikes 😬

#

Setting up for failure bridge

floral sleet
#

is that not a project setting?

paper mulch
#

hollup

floral sleet
#

i got 1.10.0

#

you probably have the HCF experiment enabled

#

I think that switches it

paper mulch
floral sleet
#

yeah, that's probably why it defaults to it

#

sorta annoying that you can't set the default format version

paper mulch
#

yea

floral sleet
#

just write your files from scratch

paper mulch
torpid dust
# devout spindle Its not for no reason. It literally is inproving the api

improving the api, but also making it like 5 times harder to make an item. the entire reason me and my friends got into mc coding in the first place was because we didnt have to learn any of allat javascript spaghetti code. it was simple, it worked great, anyone could do it, and now they take that away? could they not have just left the easy stuff in for the old versions, for people who dont want to learn scripting, and then put the newer scripting stuff into the newer versions? whatever their thought process here was, i really don't think it's a smart one if it causes people to straight up drop coding altogether, while their entire game is built on the concept of creativity.

paper mulch
torpid dust
paper mulch
#

actually i was gonna use an example but its not a good one cus i think the guy i was gonna mention is also busy with irl stuff so

#

:JoeShrug:

torpid dust
paper mulch
paper mulch
#

yea

torpid dust
#

yea i think bro has a job now

#

hes actually ancient

paper mulch
#

😭

#

one gust of wind and bro turns into dust 😭

torpid dust
#

:kanye: the rot consumes

floral sleet
grim pendant
jade orbit
#

This may be one of the worst decisions Mojang has made regarding custom content, if they're gonna remove Holiday Creator Features at least make the items/blocks work without it, cus not everyone wants to learn scripting which can get super complicated

devout spindle
devout spindle
jade orbit
grim pendant
grim pendant
devout spindle
#

Likely summer

grim pendant
#

If it's a good long time, then im sticking to it for now

#

oh nvm

devout spindle
#

So July

grim pendant
#

breh

jade orbit
paper mulch
#

in any script

#

1.11.0-beta version on minecraft/server

#

or it dont work

clever mantle
paper mulch
paper mulch
#

1.9 and 1.10 werent working for me but im actual dogwater when it comes to scripting so maybe i screwed sm up

#

u can try it but im not positive itll work

clever mantle
#

Alright