#Alter create blaze burner recipe
45 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
probably going to have to listen for a entity interaction with the empty burner and cancel it
you will need to watch for a block right click interaction too
https://github.com/Creators-of-Create/Create/blob/mc1.19/dev/src/main/java/com/simibubi/create/content/processing/burner/BlazeBurnerBlockItem.java#L79-L137
shouldn't be too bad
Im still getting used to kubeJS is the thing so i gotta look up constantly
How would I get the entity from event parameter?
??
totally writing this off the cuff with no testing, but something like
ItemEvents.entityInteracted('create:empty_blaze_burner', event => {
if (event.target.type == 'minecraft:blaze') {
event.cancel()
}
})
how do I know what event attributes I look for? where is the doc for that
I call my documentation.... 'the code' lol
just been around it enough to know where to look for what I want
probejs is also insanely helpful
ProbeJS is an addon mod for KubeJS that generates typings files for VSCode, allowing VSCode to offer autocompletions for a ton of things!
Mod by @molten summit
Thats what i've been looking for all my life
🤩
crying joy rn
thanks for the pointers dude
How do I get the item suggestions? im only getting json file suggestions and such
Did you do /probejs dump inside mc?
yup
[side question, how would I add color to this: e.player.tell('To Create a blaze burner, You must kill a greater blaze and infuse its power within')]
EDIT: I DID IT (the text thing)
look, i type stone and I don't get suggest minecraft:stone or anything else
and i launched my instance folder, should i open workspace from the .vscode instead?
like my workspace is the 'New Custom' Folder
that's where you should open it from
it's probably just way down the list of suggestions. what if you start with minecraft:s
should I try dumping again or something?
I tried that too and nothing appears
I've tried with other items too and 😦
Do I have all the probe files?
in item attributes I see items
but it's like the full json schem
no clue, truthfully I rarely use the item part, mostly just for mc/kjs methods