[Plugin] DTM's Toolkit - Attributes (v1.2.0)

Started by Drop The Mag on

Topic category: Plugins and third-party tools

Last seen on 18:54, 23. Aug 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Plugin] DTM's Toolkit - Attributes (v1.2.0)
Tue, 06/22/2021 - 03:22 (edited)

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

Edited by Drop The Mag on Tue, 06/22/2021 - 03:22
Last seen on 14:59, 4. Mar 2021
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Amazing! Can you add "Get…
Sun, 08/30/2020 - 07:06

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.

Last seen on 18:54, 23. Aug 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I’ll look into it for sure!…
Sun, 08/30/2020 - 07:09

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

Last seen on 23:20, 25. Apr 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
God, i really love ur plugin…
Sat, 09/05/2020 - 01:28

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. 

Last seen on 18:54, 23. Aug 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
God, i really love ur plugin…
Sat, 09/05/2020 - 01:30

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!

Last seen on 01:42, 12. Feb 2024
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Really useful features!!
Sat, 09/05/2020 - 01:31

Really useful features!!

Last seen on 01:42, 12. Feb 2024
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Agressive mob view range…
Wed, 09/09/2020 - 23:10

Agressive mob view range will be cool

Last seen on 18:54, 23. Aug 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Agressive mob view range…
Wed, 09/09/2020 - 23:18

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!

Last seen on 17:35, 27. Oct 2020
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh and sorry for writing in…
Sat, 09/26/2020 - 19:52

oh and sorry for writing in the wrong place

Last seen on 17:35, 27. Oct 2020
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know if this will…
Sat, 09/26/2020 - 19:56

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

Last seen on 18:54, 23. Aug 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to re-read the…
Sun, 09/27/2020 - 02:21

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. 

Last seen on 18:54, 23. Aug 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
“Add entity dependency” I…
Sun, 09/27/2020 - 02:22

“Add entity dependency” I mean. Whoops. 

Last seen on 17:35, 27. Oct 2020
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok thank you i'll try it…
Sun, 09/27/2020 - 04:17

Ok thank you i'll try it tomorrow