Started by
SomeoneElse
on
Topic category: Plugins and third-party tools
This plugin adds some utility blocks for procedures. It supports versions 1.12, 1.14 and 1.15
List of features
- Block procedures
- Get namespaced id of block (ex. dirt -> "minecraft:dirt") and viceversa
- Can block be fertilized with bonemeal
- Get/Set boolean blockstate property of block at x y z (ex. you can set a button to activated)
- Get/Set integer blockstate property of block at x y z (ex. you can grow carrots to the last stage)
- Check plant type of block at x y z
- Get light opacity of block at x y z
- Item procedures
- Is item food
- Get namespaced id of item (ex. stick -> "minecraft:stick") and viceversa
- World procedures
- Is block loaded at x y z
- Simulate block breaking event at x y z (spawns the breaking particles and plays the block breaking sound)
- Spawn bonemeal particles at x y z
- Simulate bonemeal use at x y z (Can be glitchy with certain triggers)
- Direction procedures
- Get x/y/z offset of direction
- Rotate direction around x/y/z axis (1.14 only)
- Rotate direction (counter)clockwise around Y axis (both 1.14 and 1.15)
- Entity procedures
- Is entity in spectator mode
- Is entity swimming
- Is entity sleeping
- Check entity type (ex. undead, arthropod)
- Dismount entity / Remove passengers from entity
- Can entity1 see entity2
- Get value of attribute of entity (or -1 if it doesn't exist)
- Player procedures
- Get saturation of player
- Add exhaustion to player
- Get luck of player
- Get XP bar cap of player
- Grant recipe to player
- Has player unlocked recipe (server-side)
- Open enderchest to player
- Text procedures
- Mod id
- Get namespace of namespaced id (ex. "minecraft:dirt" -> "minecraft")
- Get path of namespaced id (ex. "minecraft:dirt" -> "dirt")
- Get localized text from resource key (ex. "minecraft.block.dirt" -> "Dirt" in English, "Terra" in Italian)
- Other
- "Quit procedure", or
return;
- Advancement trigger: "Player enters block"
- Some procedure templates, such as "Directional cobblestone generator"
- "Quit procedure", or
Download link
You can download the plugin here: https://drive.google.com/file/d/1FePLQqncl6R_KSkAWwuHGnvpXk7pAc0n/view?…
Edited by SomeoneElse on Sun, 06/28/2020 - 15:47
Wow, cool!
Wow, this are some useful procedures :)
a custom blockstates plugin for all objects (entity, item,..) would be so nice
Do you think it could be posible to get/set attributes for mobs? it could be really neat
@Rotmax Only blocks use blockstates, so adding them to entities or items doesn't really make sense. Even then, plugins don't let you edit elements, so adding more fields to them is impossible.
@Crawler Yeah, it should be doable. I'll look into it.
Cool plugin, those procedures will be very useful :D
is the version version for 2020.2 still on the works or it got scrapped?
It is, I'm taking a small break from MCreator to focus on uni. Since a 1.12 generator is available for 2020.3+, I won't make a 2020.2 version of this plugin
I guess it is for finals. Good luck ;)
Another thing, base on your tracker contributions, you might be interested in this: https://mcreator.net/forum/62785/survey-contributorsdevelopers-if-mcreator-would-go-open-source
Maybe you could add a procedure that detects if a player already has a certain recipe unlocked?
New version of the plugin is now available, including support for 1.12, "Get attribute value of entity" block, "Check if player has recipe" block, and more!
Nice work !
Could you add "Simulate breaking event for [block] and spawn particles at x y z " ?
Doesn't that already exist loky?