Minecraft:Entity format/Arrow: Difference between revisions
From SAS Gaming Wiki
More actions
Sync: new page from Minecraft |
Sync: updated from Minecraft |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
**{{nbt|boolean|crit}}: {{cd|1}} or {{cd|0}} ({{cd|true}}/{{cd|false}}) - If {{cd|true}}, the projectile deals critical damage. | **{{nbt|boolean|crit}}: {{cd|1}} or {{cd|0}} ({{cd|true}}/{{cd|false}}) - If {{cd|true}}, the projectile deals critical damage. | ||
** {{nbt|double|damage}}: Damage multiplier of the projectile. Defaults to 2. If shot from a bow, this is increased by a flat 0.5 if any level of Power is present. 0.5 is then added for each level of Power over the first (i.e Power I would result in 3.0, Power II would result in 3.5, etc.){{ | ** {{nbt|double|damage}}: Damage multiplier of the projectile. Defaults to 2. If shot from a bow, this is increased by a flat 0.5 if any level of Power is present. 0.5 is then added for each level of Power over the first (i.e Power I would result in 3.0, Power II would result in 3.5, etc.){{check the code|Trident info}} | ||
** {{nbt|compound|inBlockState}}: Optional. The [[Minecraft:block state]] of the last block that the projectile hit. | ** {{nbt|compound|inBlockState}}: Optional. The [[Minecraft:block state]] of the last block that the projectile hit. | ||
*** {{nbt inherit/block_state}} | *** {{nbt inherit/block_state}} | ||
** {{nbt|boolean|inGround}}: {{cd|1}} or {{cd|0}} ({{cd|true}}/{{cd|false}}) - If {{cd|true}}, the projectile is stuck in the ground. | ** {{nbt|boolean|inGround}}: {{cd|1}} or {{cd|0}} ({{cd|true}}/{{cd|false}}) - If {{cd|true}}, the projectile is stuck in the ground. | ||
** {{nbt|short|life}}: Increments each tick when the projectile is not moving; | ** {{nbt|short|life}}: Increments each tick when the projectile is not moving; keeps its value if the projectile moves. When it ticks to 1200, the projectile despawns. | ||
** {{nbt|byte|pickup}}: 0 = cannot be picked up by players. 1 = can be picked up by players in survival or creative. 2 = can be picked up by players only in creative. | ** {{nbt|byte|pickup}}: 0 = cannot be picked up by players. 1 = can be picked up by players in survival or creative. 2 = can be picked up by players only in creative. | ||
** {{nbt|byte|PierceLevel}}: The amount of remaining times this projectile can pierce through an entity. | ** {{nbt|byte|PierceLevel}}: The amount of remaining times this projectile can pierce through an entity. | ||
Latest revision as of 11:09, 24 September 2026
- Template:Nbt: Template:Cd or Template:Cd (Template:Cd/Template:Cd) - If Template:Cd, the projectile deals critical damage.
- Template:Nbt: Damage multiplier of the projectile. Defaults to 2. If shot from a bow, this is increased by a flat 0.5 if any level of Power is present. 0.5 is then added for each level of Power over the first (i.e Power I would result in 3.0, Power II would result in 3.5, etc.)Template:Check the code
- Template:Nbt: Optional. The Minecraft:block state of the last block that the projectile hit.
- Template:Nbt: Template:Cd or Template:Cd (Template:Cd/Template:Cd) - If Template:Cd, the projectile is stuck in the ground.
- Template:Nbt: Increments each tick when the projectile is not moving; keeps its value if the projectile moves. When it ticks to 1200, the projectile despawns.
- Template:Nbt: 0 = cannot be picked up by players. 1 = can be picked up by players in survival or creative. 2 = can be picked up by players only in creative.
- Template:Nbt: The amount of remaining times this projectile can pierce through an entity.
- Template:Nbt: Ticks until the projectile can be picked up by players. This is set to 7 when the projectile initially hits a block.
- Template:Nbt: Template:Cd or Template:Cd (Template:Cd/Template:Cd) - If Template:Cd, the arrow was shot from a crossbow. If inGround is Template:Cd, this is always set to Template:Cd. Does not exist if false.
- Template:Nbt: The Minecraft:server-side sound event to play when hitting a block/mob. Cannot use non-vanilla sound events, since custom server-side sound events can't be added directly.
- Template:Nbt: The item that was consumed to shoot/throw the arrow/trident. Represents the entity's Template:Cd (Template:Cd) slot.
- Template:Nbt: The bow or crossbow item that the arrow was shot using.
Minecraft:fr:Format de chunk/Flèche Minecraft:ja:Chunkフォーマット/Arrow Minecraft:pt:Formato de chunk/Flecha Minecraft:uk:Формат чанку/Стріла