Procedures Plus+

Supported MCreator versions
2022.3
2023.1
2023.2
2023.3
2023.4
Tags / plugin type
Procedures
ppicon
Downloads:
6287
Upvotes: 104
About the plugin

PROCEDURES PLUS

Available for forge: 1.16.5, 1.18.2, 1.19.2, 1.19.4, 1.20.1

 

I'd like to share with a few procedures that I think might come in handy. Each time I think of new procedures to add, an update will be available here!

A few explanations:
- Morph procedures (orange) are for the "Identity" mod, that I often use, so I don't have to write a new command each time I use it. They will not morph you in mcreator though, as you need the identity mod installed.
- If Then Else operator is the exact same that MCreator offers, however my version lets you stack them inside of each other!
- "Set no physics" is basically spectator mode in survival, but if you don't give yourself flying somehow - you will literally drown in the ground and fall into void eventually. Also, it can only be used with the trigger On loaded entity tick update, otherwise it will not work.
- Shape X, Y, and Z blocks should only be used inside the sphere procedures, nowhere else. Otherwise you'll get errors.

The procedures:



Examples of some mechanics, that may require explaining and understanding before using:

IF THEN ELSE:

example1-ternary
example2-ternary

SPHERE SHAPES:

example1-circularexample2-circular

The positions of generating the spheres are also adjustable, you just need to use the Shape X/Y/Z blocks correctly, like in the above images

MAKE ENTITIES FACE PLAYER:



If you find any bugs, let me know in the comments. Expect future updates!
Enjoy!

 

----------------------------------------
Changelog:

v1.4

- Support for 2023.3
- Added true/false checking for armor trims materials on armor pieces (1.20.1 only)
- Probably some bug fixes if there were any (i don't remember cuz i forgot to upload the updated version, well 💀)

----------------------------------------

v1.3.4

- Added support for forge 1.19.4
- Added 5 new procedures:
   - "Drop the whole off-hand of entity player"
   - "Drop the whole main-hand of entity player"
   - "Drop one item from the off-hand of entity player"
   - "Drop one item from the main-hand of entity player"
   - "Amplify the current motion of entity by a factor of <number>"
- [BUG FIX] "is player flying" couldn't work properly with certain logic operators

----------------------------------------

v1.3.3

- Added "Is player flying" that checks if a player is flying at all. (works with players only)
- [BUG FIX] In "get number of slots of block at x y z..." replacing xyz with variables would sometimes return errors

----------------------------------------

v1.3.2

- [BUG FIX] For loop is now working correctly, and is fully customizable when it comes to variables
- [BUG FIX] Sphere Shape procedures will now accept variables as radius size

----------------------------------------
v1.3.1 hotfix
-Changed variable names, so different shape blocks can be used in one procedure
----------------------------------------
v1.3
-Added 2 new "make entity face entity" and "make all entities (with optional exceptions) face player" 
       -to add an exception -> write e.g. "type=!minecraft:pig, type=!minecraft:creeper, type=!my_mod_id:entity_id" in the text field to exclude those 3 example entities
-Fixed all the shape procedures -> the shapes were acting weird and didn't generate properly
-All shape procedures now use one type of XYZ blocks -> it's "Shape X/Y/Z"
-Added "Set attack targeting of entity to none" that prevents enemies from targetting you. The best effect of this procedure is on a tick update
-Shape procedures have now their own tab "Procedures+ shapes"
----------------------------------------
v1.2
-Added a new "for loop" procedure
-Added a new "reverse the vanilla texture" procedure
-Put data procedures into a seperate "Procedures+ data" tab
-Changed colors of the blocks to be nicer for the eye
-Remade the sphere procedure:
       -it's more clear now
       -added full sphere shape
       -added upper hemisphere
       -now there's 3 procedures
              -In a sphere shape
              -In an upper hemisphere shape
              -In a lower hemisphere shape (the original was "in a circular shape")
----------------------------------------
v1.1
-New procedure: Get selected hotbar slot
-Added support for 1.18.2 and 1.16.5 for the "Get key that keybind ... is assigned to" procedure

License
MIT License

Plugin downloads
Marwinekks_Procedures_Plus-1.3.4 - Marwinekks_Procedures_Plus-1.3.4.zip Uploaded on: 07/03/2023 - 22:48   File size: 45.03 KB
Marwinekks_Procedures_Plus-1.4 - Marwinekks_Procedures_Plus-1.4.zip Uploaded on: 10/05/2023 - 20:47   File size: 54.3 KB

Comments

Im having a problem with the change vanilla texture, sometimes when I use it changes other vanilla texures randomly is there a way to fix that?

How does the "Get Key that Keybind _______ is assigned to" work. I put in the name of the key, the localized name, and the registry name with and without underscores

can you guys just read the documentation for the morph procedure... its right there, its for the identity mod

1.4 1.20.1 versions "set attack targeting to none" block does NOT work at all.

Might I trouble you in a tutorial as to how to get your Identity Extension to Work. As I cannot compile my mod without it functioning within the IDE. But Need to test it outside the IDE environment to function

How Morph works??? I just thought it could be used to play Geckolib animations in procedures.

If i use change vanilla texture on a item would someone elses inventory (with the same item) also change? And could you change a nonvanilla texture to another texture?

I have a suggestion:

How about adding a procedure that allow us to add text to things? It would be something like:

"Render [string or lang key] on the face [north/south/east/west/up/down] of the [block/blockentity] block at [blockpos] with the rotation [x, y, z or other procedure]"
OR
"Render [string or lang key] on the face [north/south/east/west/up/down] of the [item] on the player's hand with the rotation [x, y, z or other procedure]"

And then, when we use it, the text would render on top of the selected face of the block or item with the selected formatting options. For example:

https://media.discordapp.net/attachments/1116211620415283201/1208754971864997888/image.png

And then you could also add a procedures for us to control the text formating, like:

"Set the size of the [string or other text procedure] to [number or other number procedure]"

"Set the color of the [string or other text procedure] to [coler or other procedure]"

"Get the rotation/orientation of [block or item model] at [blockpos or player hand]"

Hello. I found a bug in Mcreator 2023.4 Forge 1.20.1

Procedure - https://drive.google.com/file/d/14iJ7Qmz6EkReLhOE1ayJ8vJd0bt54o_f/view?usp=sharing
Error - https://drive.google.com/file/d/1W0l7cvyWnUw3szkfV_Mbc8Br5OnnZcQf/view?usp=sharing

Just wanted to ask if this plugin still works in 2023.4, since I plan to update my workspace in the near future.

Hello can you update your mod and add the function to break out of the for loop?

i love it to work with the "i" you know what i mean :)

but i cannot break the mod and thats a problem for me

screen:
https://prnt.sc/MzhPuoss1gjg

if you can add these fuction or fix it I would be happy

the plugin looks nice, could you put it to version 2023.3 (1.20.1)?