This Procedure Block Snippet doesn't work for some reason for a procedure block

Started by SparkleArts on

Topic category: Plugins and third-party tools

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This Procedure Block Snippet doesn't work for some reason for a procedure block

I'm making an Plugin that adds various Procedure Blocks to make Percentage Calculation easier.

so first of this Code Snippet works:

(${input$percentage} / 100 * ${input$value})

But if I try to make an Procedure Block with this Code Snippet, then it outputs everytime a 0 ingame:

(${input$value_y} / ${input$value_x} * 100)

Know someone why this code snippet outputs a 0?