infinity syntax error

Started by da_blob_boi on

Topic category: Troubleshooting, bugs, and solutions

Active 3 weeks ago
Joined Feb 2024
Points:
94

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
infinity syntax error

hi, so i was making a condemned state for my mod (shadows 2) but when i tried to launch the client it made an error so i looked at what had gone wrong and it didn't like me using infinity as a time even though it just autocorrects to it if you type in 1e+10000000000000000(etc)

can somebody tell me if this is a bug or something and what should i do?

You should not use infinity…
Sat, 01/04/2025 - 15:10

You should not use infinity for numerical values in most cases. Minecraft does not operate on infinity timepoint, this will simply not work

Active 3 weeks ago
Joined Feb 2024
Points:
94

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
but it auto corrects to it…
Sat, 01/04/2025 - 17:10

but it auto corrects to it and when i try the maximum amount without numbers (100000000000000000000) it doesnt allow it either

There is limit to what…
Sun, 01/05/2025 - 17:11

There is limit to what values computers accept. Why do you need such a high value since time is periodic anyways?

Setting time to such values makes no sense

Active 3 weeks ago
Joined Feb 2024
Points:
94

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
i need an affect to last…
Mon, 01/06/2025 - 18:14

i need an affect to last infinitely

If you are doing potion…
Mon, 01/06/2025 - 18:27

If you are doing potion effects, in MCreator 2024.4 you can check a box to make certain effect infinite

Active 3 weeks ago
Joined Feb 2024
Points:
94

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
what box?
Wed, 04/09/2025 - 14:29

what box?