ProcedureCode

Published by Addoner312 on
Supported MCreator versions
2024.1
2024.2
Tags / plugin type
Procedures
Variables
Me)
Downloads:
222
Upvotes: 2
About the plugin

ProcedureCode is a plugin that adds procedural blocks to Minecraft. 

It adds a new variable called "data", which can be converted any variable type and back.  Classic programming blocks and other stuff.

 

Made in PluginBuilder


Plugin

  • Blocks:

  1. "try" - If in this block is detected error, then code doesn`t stop working from "Easy Code/do"
  2. "new data" - Create new data from "Minecraft Components"
  3. "for" - It`s upgraded version of standart for from "Easy Code/do"
  4. "call method" - Calls a method from "Easy Code/do"
  5. "call returnable method" - Calls a method and return value as data from "Easy Code/do"
  6.  "is instance of" - Check is object instance of written class from "Easy Code/Get"
  7. "do from data" - Do actions saved in data from "Easy Code/do"
  8. "do from data and return" - Do actions saved in data and returns value as data from "Easy Code/do"
  9. "convert data to" - Converts data to another type from "Easy Code/Get"
  10.  "convert to data" - Converts to data from "Easy Code/Get"
  11. "convert to data from actions" - Converts actions to data from "Easy Code/Get"
  12. "At client side do" - does actions from client side(Not all methods are will support) from "Sync"
  13. "At server side do" - does actions from server side(Not all methods are will support) from "Sync"
  14. "get local player" - return local player(YOU as player) from "Sync/Client"
  15. "get entity hitbox size" - returns the size of hitbox  from "Entity data"
  16. "create new hitbox" - creates new hitbox from "Minecraft Components"
  17. "set hitbox" - sets hitbox size for entity(Minecraft not fully support this) from "Entity management"
  18. "get pose" - returns entity pose from "Entity data"
  19. "set pose" - sets pose for entity from "Entity management"
  20. "Generate seed" - return random seed as Long from "Easy Code/Get"
  21. "Block to registery/Item to registery" - return registred block/item from "(Item/Block)data"
  22. "crash" - crashe game from "Easy Code/do"
  • Variables:

  1. Data - can get any value
  2. Long - Number but can be longer
  3. Hitbox - hitbox
  4. Pose- entity pose
  • Supported  versions:

       0.0.2) Mcreator 2024.1 Forge 1.20.1

       0.0.3) MCreator 2024.1/2024.2 Forge 1.20.1


Newest version

0.0.3:

Fixes:

  • Fixed "set hitbox" block
  • Fixed "set pose" block

Reworks:

  • Fully changed "to data" and "from data"

Blocks:

  • "Generate seed" - return random seed as Long
  • "Block to registery/Item to registery" - return registred block/item

Order:

  1. Deleted "Easy Code/Get/Instances", "Easy Code/Get/from data" and "Easy Code/Get/to data"
  2. "new data" moved to "Minecraft Components"

Variables:

  • Long - Number but can be longer
License
Public Domain

Plugin downloads
EasyCode 0.0.3 on Mcreator 2024.1/2024.2 Forge 1.20.1 - EasyCode_1.zipUploaded on: 07/17/2024 - 05:48   File size: 24.66 KB
EasyCode 0.0.2 on Mcreator 2024.1 Forge 1.20.1 - EasyCode_0.zipUploaded on: 07/10/2024 - 11:31   File size: 34.89 KB

Comments

Hi, @Addoner312! Love your Plugin, I especially needed that "try" block. But now I am getting the Error: exception IOException is never thrown in body of corresponding try statement
} catch (IOException e) {
^
Can you tell me what that means? (Sorry if it's a stupid question.)