How comes this doesn't work?

Started by sundxy on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined May 2022
Points:
508

User statistics:

  • Modifications: 0
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
How comes this doesn't work?
Thu, 08/04/2022 - 16:24 (edited)

basically, i made a enchantment that has a 1 in 8 chance of exploding when getting this butthis just doesn't work.

Edited by sundxy on Thu, 08/04/2022 - 16:24
Active 1 year ago
Joined Mar 2022
Points:
599

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
there's no picture but i…
Thu, 08/04/2022 - 13:11

there's no picture but i could probably help

Active 2 years ago
Joined May 2022
Points:
508

User statistics:

  • Modifications: 0
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
sorry i thought that i put…
Thu, 08/04/2022 - 16:24

sorry i thought that i put an image i added it now

Active 1 year ago
Joined Mar 2022
Points:
599

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
instead of using the "random…
Fri, 08/05/2022 - 14:03

instead of using the "random number block" use the "random integer" block. the random number goes into decimal like 0.1 - 0.2. integer is a whole number like 1,2,3,4,5,6,7,8

Active 1 year ago
Joined Mar 2022
Points:
599

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
https://imgur.com/a/kukI6hT…
Fri, 08/05/2022 - 14:07

https://imgur.com/a/kukI6hT This One Will Work If Yours Changing The Number to Integer Doesnt work