Topic category: Plugins and third-party tools
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.
Download the plugin on the official page here!
Check out my other developments here:
- Drop The Mag
Amazing! Can you add "Get attribute" too? Yeah, I did do some research, https://mcreator.net/forum/60635/miscellaneous-plugin-114115?page=1 this plugin has get attribute, but what I want is the Base Value, not just Value like the plugins. I meant, for example, base value of attack damage attribute is just the attribute with out any addition of Strength or Weakness, the plugin above contain value from effect too. That's not I want tho.
I’ll look into it for sure! It shouldn’t be too hard to implement at all, and I’ll make it so they’re in a drop down now, and not all separate like they are currently. :P
God, i really love ur plugin, help me alot, will u add a Get Max Health of Entity, and Get Max Melee Damage of Entity procedure block so we can do a procedure like this: (Set Max Melee Damage to(Get Max Melee Damage(+)x) [x = any number], cuz im afraid that if i put the Max Melee Damage of an entity to 5, and he take a weapon, even with the weapon he will do 5 melee dmg, or if u have another mod that can modify ur melee damage, u will still do 5 of melee.
For sure! There was a user above you who asked as well. :P I have another plugin in the works at the moment, but once I finish that, I'll get this one updated for you all!
Really useful features!!
Agressive mob view range will be cool
I'll add that to the list of things to add as well! I have a couple things I need to finish with this in order to update it, I've just been busy working on my plugin creator. Thanks for the suggestion!
So my procedure looks like this: https://imgur.com/5gHhegU
oh and sorry for writing in the wrong place
wrong link oups here is the right one: https://imgur.com/gallery/LgazYLj
I don't know if this will help but here is the error message:
Executing Gradle task: build
Build info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 12168 MB, Windows 10, JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava FAILED
C:\Users\Admin\MCreatorWorkspaces\terracraftjava\src\main\java\net\mcreator\terracraftjava\procedures\AccesorieSlotsItemInInventoryTickProcedure.java:216: error: cannot find symbol .setBaseValue((livingentity.getAttribute(SharedMonsterAttributes.ARMOR).getBaseValue() + 1));
^
symbol: variable livingentity
location: class AccesorieSlotsItemInInventoryTickProcedure
C:\Users\Admin\MCreatorWorkspaces\terracraftjava\src\main\java\net\mcreator\terracraftjava\procedures\AccesorieSlotsItemInInventoryTickProcedure.java:215: error: cannot find symbol livingentity.getAttribute(SharedMonsterAttributes.ARMOR)
^
symbol: variable livingentity
location: class AccesorieSlotsItemInInventoryTickProcedure
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…
BUILD FAILED in 2s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 4383 milliseconds
You need to re-read the plugin page. In order to use the latest version, you have to use the new “declare entity” or whatever I called it block at the top of the procedure. That way it sets the entity to the correct type and allows you to change it’s attributes.
“Add entity dependency” I mean. Whoops.
Ok thank you i'll try it tomorrow