#Logic

22 messages · Page 1 of 1 (latest)

stark pulsar
#

Given that i have like 3 inputs named A, B and C how do i produce outputs based on which was clicked first?

In like normal programming language this is easy but what i am using is there is no loops and storing data's stores it 19 times meaning i have to divide it to 19 just to receive 1.

The only thing available are basic arithmetic operations and comparisons.

If you could give me the answer in JS format that would be great because i'll just convert it myself😀

somber tokenBOT
stark pulsar
rotund vine
#

How are you receiving the input

stark pulsar
rotund vine
#

If you're talking about a minecraft mod, then this is not the place

stark pulsar
rotund vine
#

Usually, in game development, you have a complete game loop transmitting data at a fixed or variable frequency

#

Listening to it sequentially eliminates your problem.

stark pulsar
rotund vine
#

If there's "no such thing" then your game will become a single, non moving image

#

It's there

#

Find if they have allowed public API access points for it

stark pulsar
#

Yeah but i am given a mechanics given by minecraft, I'm making a UI with the given things from Minecraft. Looping isn't one of them.

rotund vine
#

Why not have a new loop with your own thread in a parallel loop?

#

It's redundant, but you have an option

#

It's java, so Thread classes exist

stark pulsar
#

Modding isn't a thing on Minecraft Bedrock, all things are data-driven and only controlled by Mojang

#

Theres only JSON

#

So its extra hard