How does the "Trim" text block work?

Started by IndyJacksonTT on

Topic category: Help with MCreator software

Last seen on 04:13, 6. May 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How does the "Trim" text block work?
Sat, 05/06/2023 - 04:13 (edited)

so im trying to make a shockwave procedure that utilizes falling blocks and so the coordinates need to be exact so the block fall back into place right and I'm using "get player x/z position" and of course that has a lot of numbers after the decimal place and I tried using the "format number" block but that would just end up rounding the number which isn't what I want.

I need to cut off everything on the right side of the decimal, not round the number itself.

so I thought converting the number to text and then using the trim block would maybe work but I cant seem to figure out how to use the time block.

 

anyone here know how it works?

Edited by IndyJacksonTT on Sat, 05/06/2023 - 04:13