Πρότυπο:Attribute

Από Minecraft Wiki
Μετάβαση σε: πλοήγηση, αναζήτηση
[view | edit | history | purge]Documentation

This template is used to illustrate Mob Attribute tags. It is heavily based on Template:Nbt.

Usage[επεξεργασία κώδικα]

{{attribute|<tagname>|display text (optional)}}

Available tags[επεξεργασία κώδικα]

Icon Tag name(s)
list
attribute-list
attributes
attribute
inherited
inherited-attribute
 (Operation 0) 0
modifier-0
operation-0
 (Operation 1) 1
modifier-1
operation-1
 (Operation 2) 2
modifier-2
operation-2
blank
modifier

Example[επεξεργασία κώδικα]

Usage with treeview list[επεξεργασία κώδικα]

<div class="treeview">
* {{attribute|list}} DinnerboneDance has these additional Attributes (see Attribute Format and this list's format above):
** {{attribute|attribute|Max Duration}}: The maximum duration in gameticks of this dance; determines the longest amount of time any dancer will be able to dance. Minimum 0.0, Maximum 1.7976931348623157E+308, Default 24000.
** {{attribute|attribute|Audible Range}}: Unknown behavior. Minimum 0, Maximum 30000000, Default 128. Actual value used by most dances is 16384; if Zombies and/or Thriller are involved, it overflows to infinity (see the IEEE Standard for Floating-Point Arithmetic for details).
*** {{attribute|modifier-1|Random karma bonus}}: Generated upon upvotes/downvotes; a random number from a Gaussian distribution ranging from negative to positive infinity.
*** {{attribute|modifier-0|Incessant begging bonus}}: "The louder you scream, the less they hear".
** {{attribute|inherited-attribute|Style}} (Inherited from general dance attributes)
*** {{attribute|modifier-2|Dinnerbonus}}: Generated when Dinnerbone joins in on a Dinnerbone Dance. Defaults to arbitrary values requiring quadruple-precision floating point format for accurate representation.
</div>
  • DinnerboneDance has these additional Attributes (see Attribute Format and this list's format above):
    •  Max Duration: The maximum duration in gameticks of this dance; determines the longest amount of time any dancer will be able to dance. Minimum 0.0, Maximum 1.7976931348623157E+308, Default 24000.
    •  Audible Range: Unknown behavior. Minimum 0, Maximum 30000000, Default 128. Actual value used by most dances is 16384; if Zombies and/or Thriller are involved, it overflows to infinity (see the IEEE Standard for Floating-Point Arithmetic for details).
      •  Random karma bonus (Operation 1): Generated upon upvotes/downvotes; a random number from a Gaussian distribution ranging from negative to positive infinity.
      •  Incessant begging bonus (Operation 0): "The louder you scream, the less they hear".
    •  Style (Inherited from general dance attributes)
      •  Dinnerbonus (Operation 2): Generated when Dinnerbone joins in on a Dinnerbone Dance. Defaults to arbitrary values requiring quadruple-precision floating point format for accurate representation.

See also[επεξεργασία κώδικα]

[view | edit | history | purge]The above documentation is transcluded from Πρότυπο:Attribute/doc.