#Error Parsing Noise Molang in Custom Block

1 messages · Page 1 of 1 (latest)

vague cave
#

I'm trying to set a block property based on where a block is in the world(affected by a noise value). This is not working. Below is the error I get.

[Molang][error]-block_definitions | C:/Users/maxim/AppData/Local/Packages/Microsoft.MinecraftWindowsBeta_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/The Deep End BP | blocks/perlosome.json | deep_end:perlosome | events | deep_end:change_state | condition | condition | Error parsing: q.noise(v.worldx/1024,v.worldz/1024)>=-1&&q.noise(v.worldx/1024,v.worldz/1024)<-0.66

proper hill
vague cave
#

It's in "events"

proper hill
#

eah I cant see it

vague cave
#

uhh you're right

#

whaaa

#

This has it

#

It seems like I can't even use v.worldx as a replacement for the condition of the first entry of the change_state sequence

#

(the first entry is the one i'm trying to test)

proper hill
#

Interesting, it could be that blocks cant use q.noise?

vague cave
#

No, I think blocks can't use v.worldx

#

actually

#

I think they can't use either

#

What should I do?

proper hill
#

I dont think there is a solution, probably scripting but that cant access noise but can access world coords

vague cave
#

scripting can't access noise?