Getting functions with functions or Returning values with functions

Started by Plus-gaming on

Topic category: Help with MCreator software

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Getting functions with functions or Returning values with functions

Is there anyway to call a function with a function?

Im trying to make an axe that breaks and entire tree and is there any way to call a function with a function, for example if it detects a oak log it will call itself but at the position of the oak log and then destroy the detected log

If there is no way to do that, is there a way to return a value so if there is another log it will return the position of the log?

Thanks