DTM's Toolkit - Attributes:
Version 1.2.0:
- Updated to work with the latest version of MCreator (2021+), Minecraft (1.16.5), and Forge!
- Removed the "add entity dependency block" as I've since streamlined the plugin to no longer require it. ;)
- Only two blocks remain, both allowing you to edit multiple available attributes currently within the game.
Version 1.2.0 of DTM's Toolkit - Attributes streamlines the process by making everything very "plug-and-play", with no prior knowledge or tutorials required. Oh, and yeah...it also works on the latest version of MCreator! Do keep in mind though that every attribute has a base value, minimum value, and max value specific to itself. You can find this information here: Attribute – Official Minecraft Wiki (fandom.com).
Always refer to the attribute data sheet to make sure you don't go over or under on any of your numbers!
Version 1.1.0:
- Combined all entity attributes in to one block!
- Added a new "get attribute" block that allows you to get the current base value of the entity.
- Added a brand new "add entity dependency block" in order to use the new features.
Version 1.1.0 of DTM's Toolkit - Attributes cleans up the procedures a little bit (it will require you to replace your current procedures), by combining everything in to one block! It also adds the ability to "get" the entity attribute's current base value. In order to use the procedure, please be sure to use the new "Add entity attribute dependency" block by adding it to the top of each procedure you use it in!
Please remember to use the "add entity dependency" block at the top of each procedure (or within an if block) for these new features to work!
Version 1.0.3 (first public build):
- Set max health of entity.
- Set armor value of entity.
- Set armor toughness of entity.
- Set attack damage of entity.
- Set knockback resistance of entity.
- Set attack speed of entity (players only).
- Set luck of entity (players only).
Version 1.0.3 of DTM's Toolkit - Attributes offers the ability to modify many of the "SharedMonsterAttributes" shared between all living entities, allowing you to set and modify their base values. Both "attack speed" and "luck" are available only to players, while the other attributes within this version will work for any other entity, whether it be custom or vanilla.
Overtime, I'll be releasing consistent updates to this plugin. Hopefully offering multiple new procedures, triggers, and templates that may be useful to every one of you.
The next update to be released (hopefully) will finalize the "Attributes" that aren't included with this version, including movement speed, flight speed (for flying mobs), and more.
Please request any procedures you would like to see in this plugin as well, and I'll do my best to make it happen! Also, please comment about any bugs or issues you may have, and I'll look in to all of them ASAP.
You can find all the procedure blocks listed above in the custom category labeled "DTMs Toolkit" in your procedure builder.
You can install this plugin through your preferences and plugin manager, or you may just drop the ".zip" into your plugins folder, then restart MCreator.
This plugin currently supports MCreator 2020.4, 2020.5, 2021.1, 2021.2, as well as the latest snapshots and the Minecraft Forge Generator for 1.15.2 and 1.16.5.
Check out my other developments here:
- Drop The Mag
Comments
When I try to modify a player's max health in a procedure, the compilation fails and gives this error:
D:\Data\MCreatorWorkspaces\enchantments_unlimited\src\main\java\net\mcreator\enchantmentsunlimited\procedures\MaxHealthModificationProcedure.java:17: error: a type with the same simple name is already defined by the single-type-import of net.minecraft.entity.ai.attributes.Attributes
For information I'm using 2021.3 with the latest version of the plugin on the 1.16.5 forge generator.
Good afternoon, this message to you and the author at the same time, after updating to version 2021.3, the plugin does not work. For use on version 1.16.5 you need to rollback to 2021.2. The author I ask you just I beg you. Add compatibility with 1.17.1 for version 2021.3. I really need it, I can't work, I tried to rename the version, but compilation to 1.17.1 from 2021.3 does not work
sorry from my bad english
I have the one issue, when I put the procedure block from this plugin I always have the same error.
Namely:
C:\Users\user\MCreatorWorkspaces\armod_abyssal_pit\src\main\java\net\mcreator\armodabyssalpit\procedures\TestProcedure.java:25: error: cannot find symbol
((LivingEntity) entity).getAttribute(Attributes.MAX_HEALTH).setBaseValue(1);
^
symbol: variable MAX_HEALTH
location: class Attributes
1 error
Hey, everyone you did missed one thing:
The author of this plugin isn't here since 5 month ago!!!
So, I think if wouldn't better, if such procedures would be to merged to MCreator itself...
This plugin seems tiny and this is two procedures only, so...