Miscellaneous plugin (2020.3+)

Started by SomeoneElse on

Topic category: Plugins and third-party tools

Active 3 months ago
Joined Nov 2017
Points:
900

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 2
  • MCreator plugins: 0
  • Comments: 180
Miscellaneous plugin (2020.3+)
Sun, 06/28/2020 - 15:47 (edited)

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"

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
Active 3 years ago
Joined Mar 2018
Points:
741

User statistics:

  • Modifications: 0
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 24
Wow, cool!
Fri, 05/08/2020 - 14:34

Wow, cool!

Active 11 months ago
Joined Nov 2015
Points:
905

User statistics:

  • Modifications: 1
  • Forum topics: 26
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 113
a custom blockstates plugin…
Sun, 05/10/2020 - 06:13

a custom blockstates plugin for all objects (entity, item,..) would be so nice

Active 3 years ago
Joined Apr 2019
Points:
671

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
Do you think it could be…
Mon, 05/11/2020 - 01:03

Do you think it could be posible to get/set attributes for mobs? it could be really neat

Active 3 months ago
Joined Nov 2017
Points:
900

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 2
  • MCreator plugins: 0
  • Comments: 180
@Rotmax Only blocks use…
Mon, 05/11/2020 - 22:02

@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.

Active 4 years ago
Joined Jun 2016
Points:
3743

User statistics:

  • Modifications: 10
  • Forum topics: 39
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5490
Cool plugin, those…
Sun, 05/31/2020 - 07:59

Cool plugin, those procedures will be very useful :D

Active 3 years ago
Joined Apr 2019
Points:
671

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
is the version version for…
Sun, 06/14/2020 - 01:58

is the version version for 2020.2 still on the works or it got scrapped?

Active 3 months ago
Joined Nov 2017
Points:
900

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 2
  • MCreator plugins: 0
  • Comments: 180
It is, I'm taking a small…
Thu, 06/18/2020 - 10:40

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

Active 2 years ago
Joined May 2020
Points:
670

User statistics:

  • Modifications: 3
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 40
Maybe you could add a…
Thu, 06/18/2020 - 17:51

Maybe you could add a procedure that detects if a player already has a certain recipe unlocked?

Active 3 months ago
Joined Nov 2017
Points:
900

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 2
  • MCreator plugins: 0
  • Comments: 180
New version of the plugin is…
Sun, 06/28/2020 - 15:49

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!

Active 2 years ago
Joined Jan 2016
Points:
709

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
Nice work ! Could you add …
Mon, 07/20/2020 - 14:58

Nice work !

Could you add "Simulate breaking event for [block] and spawn particles at x y z " ?

Active 2 years ago
Joined Nov 2018
Points:
969

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 572
Doesn't that already exist…
Mon, 07/20/2020 - 15:37

Doesn't that already exist loky?