Talk:Attribute

From Minecraft Wiki
Jump to: navigation, search

Thanks[edit]

Thanks once again for your excellent work, WolfieMario! LB(T|C) 02:08, 24 May 2013 (UTC)

How to add attributes to items?[edit]

I downloaded NBTedit mod which lets you edit NBT-related things in-game. It works perfectly and it's awesome. It says that since 1.6, you can make a bow the slows down the holder, etc. using attributes. I wanna know how to add attributes to items because I'm currently trying to change the damage boost of a stick to 10 hearts. All I know is how to rename items, edit enchantment on them, change their ID or damage value, and change the amount of the item stack. Please respond. :D J192 10:20, 22 July 2013 (UTC)

Well you can enchant the stick to make it deal 10 hearts, but I don't know how to add attributes on items. I saw that you mentioned making bow slower, is this possible? I've heard it a video of xisuma but that was before the release, did they actually add the option to change the bowloadspeed? --MinecraftChrizz 18:05, 29 July 2013 (UTC)

I don't think you can change the bow draw speed, but you can change the player's movement speed when they hold the item in their hand - it just so happened that they did with with a bow. They could have made you walk slower while holding a torch if they wanted. LB(T|C) 21:30, 29 July 2013 (UTC)
Forgot to reply for 1 month, I found out how to do it 1 month ago. J192 13:34, 24 August 2013 (UTC)

Crash[edit]

I've tried editing attributes using Sethbling's MCedit filters, but if I edit an item, my game crashes when I mouse over it. If I edit a mob, the world won't load for me. Any help? 216.67.63.176 19:31, 27 July 2013 (UTC)

Make sure you redownload the latest version of his filter and ensure you're running Vanilla Minecraft 1.6.2 nd try again. Which attributes are you trying to change and to what values? LB(T|C) 22:41, 27 July 2013 (UTC)

movementSpeed unknown metric[edit]

Would it be possible to estimate the value for that speed to a known metric? Is the base value close to something like, 2 m/s?

Anything related to speed (jump strength, movement speed, fly speed, etc.) is most likely in meters per tick. There are 20 ticks per second. LB(T|C) 17:47, 22 August 2013 (UTC)

Own modifiers?[edit]

At the "Vanilla Modifiers" section, it said that you can create your own modifiers. I'm interested to know how to get custom ones as I only know the generic ones. J192 13:36, 24 August 2013 (UTC)

I don't know what you mean by 'create your own' or 'get custom ones' - it's just a name, and if it doesn't exactly match one used by Vanilla Minecraft, it's custom. The only thing to consider is not using a name that they may use in a future update, e.g. prefixing with your username. LB(T|C) 15:38, 24 August 2013 (UTC)

UUID in commands[edit]

I don't understand that how to get uuidleast and uuidmost from this table?

Take the first 16 hex digits and convert them into decimal to get the UUID Most, then do the last 16 for UUID Least. It may be easier just to have the breakdown shown here, though. It would be more useful for map makers that way. Firebastard (talk) 03:00, 2 February 2015 (UTC)

MovementSpeed Default Wrong?[edit]

Just come from playing around with mob attributes in Bukkit, and according to value pulls, the default movement speed of a Zombie is 0.23000000417232513, not the 0.699 stated on the page? Scimiguy (talk) 23:15, 4 October 2015 (UTC)

History[edit]

There should be a history section. The BlobsPaper.png 02:27, 21 August 2015 (UTC)

Are the UUIDs really static?[edit]

Afaik they have to be unique per attribute/value combination.

And I am able to add functional attributes based on different UUIDs then the ones listed on the page. (Easily testable with different generator give command sites [1] [2]) -Phoenix616 (talk) 01:52, 7 November 2015 (UTC)

The default modifiers simply have pre-defined UUIDs in the source. They are not guidelines for creating your own modifiers (and should actually avoid using the same UUID as those listed on the page for custom modifiers). Skylinerw (talk) 02:37, 7 November 2015 (UTC)
Ah, that makes more sense. Could be explained a bit clearer on the page 'though. I have seen people use these UUIDs on items instead of generating their own, random ones. -Phoenix616 (talk) 02:48, 7 November 2015 (UTC)
Yeah, at the moment the page doesn't explain how to use the UUIDs at all. That should definitely be changed. In my opinion this page explains things somewhat poorly. --84.171.230.59 17:52, 14 November 2015 (UTC)

What does Luck effect affect?[edit]

In this page, is says that Luck effect "Affects the results of loot tables using the quality or bonus_rolls tag (e.g. when opening chests or chest minecarts, fishing, and killing mobs)". However, in the page status effect, is says that "Currently, only fishing uses quality". Can anyone confirm whether Luck effect only affects fishing or it affects other things?--ALWAYSFFtalk·contribs 06:33, 13 February 2016 (UTC)

Luck affects loot tables using the quality or bonus_rolls tags, and loot tables in general are used for things like opening chests, chest minecarts, fishing, and killing mobs. Currently the only loot tables in standard vanilla Minecraft actually using quality or bonus_rolls are those for fishing, but custom maps or mods might also use them for other things. Anomie x (talk) 13:42, 13 February 2016 (UTC)

wrong speed formula[edit]

The formula generic.movementSpeed * 43.1 for speed just works on players and horses. Other mobs would be faster:

Mob generic.movementSpeed Blocks per second
player 0.1 4.3m/s
running player 0.15 6.5m/s
horse random speed between 0.1125 and 0.3375 random speed between 4.85m/s and 14.55m/s
llama 0.175 7.5m/s
cow, mooshroom, snow golem 0.2 8.6m/s
zombie villager, blaze, sheep, husk, zombie, zombie pigman 0.23 9.9m/s
creeper, polar bear, iron golem, stray, endermite, witch, chicken, silverfish, skeleton, pig, wither skeleton 0.25 10.8m/s
enderman, elder guardian, cave spider, rabbit, killer rabbit, ozelot, spider, wolf 0.3 12.9m/s
Vindicator 0.35 15.1m/s
magma cube, slime 0.4 17.2m/s
villager, giant, guardian, evoker 0.5 21.6m/s
wither 0.6 25.9m/s
ender dragon, bat, ghast, shulker, squid, vex 0.7 30.2m/s

  HorseFace.png MarkusRost (talk) 13:18, 8 November 2016 (UTC)

Thanks for putting in the time to make the table, that is interesting. I put it on the page. It would be interesting also to come up with all the 'exceptions' to this top speed, such as status effects, being a baby zombie, being led by a leash, etc. I will watch this page and maybe work on that if time permits. – Sealbudsman talk/contr 19:46, 8 November 2016 (UTC)
My table show the normal speed without modifiers. But they are too slow, so there must be a other formula for mob as for the player   HorseFace.png MarkusRost (talk) 21:25, 8 November 2016 (UTC)
I think, 0.7 (default base) is used for all mobs who won't walk, Flying and teleporting isn't affected from generic.movementSpeed so im sure evoker fangs and ender crystal have also 0.7   HorseFace.png MarkusRost (talk) 21:50, 8 November 2016 (UTC)