#Detect if Blaze Burner is Heated on RightClickEvent
31 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
looks like the blaze burner has 3 designated types in the blaze block property
under the blaze block property, they are smouldering, kindled, and seething, from least heated to most heated respectively
ty!
sooo smth like this yea?
hold on one sec
nod
I believe it would probably be like
something like this... maybe:
const { target: block } = event
const { properties } = block
if (block.id != 'create:blaze_burner') return
if (properties.get('blaze') != 'kindled' || properties.get('blaze') != 'seething') {
...
}
sorry if that took long
tyy!! ill test it now!
what's your full code block?
knowing the code makes it easier to find out what yer trying to achieve
oh ok hold on
nodnod, take ur time!
the blaze burner is already being referenced in that
so no need for the block check
BlockEvents.rightClicked('create:blaze_burner', event => {
const { block } = event
const { properties } = block
if (properties.get('blaze') != 'kindled' || properties.get('blaze') != 'seething') {
...
}
})
this should work
albeit I can't 100% guarantee because I haven't really worked with this stuff in depth
but it is code that I've used prior
it works!! tysm!!!
👍