Items: Difference between revisions
Created the Items page with all current items as well as information on bed blocks and TNT. No images. Will likely need to refactor some stuff into separate pages. |
m Changed some accidental page titles into headings. |
||
Line 1: | Line 1: | ||
= Armour = | == Armour == | ||
Armour reduces incoming damage. It essentially works like this:<syntaxhighlight lang="lua"> | Armour reduces incoming damage. It essentially works like this:<syntaxhighlight lang="lua"> | ||
local armour_strength = 0 | local armour_strength = 0 | ||
Line 47: | Line 48: | ||
|} | |} | ||
= Resources = | == Resources == | ||
Emerald | Emerald | ||
Latest revision as of 16:40, 19 May 2025
Armour
Armour reduces incoming damage. It essentially works like this:
local armour_strength = 0
for piece, tier in entity.EquippedArmour do
-- piece = Boots, Chestplate, et cetera
-- tier = Leather, Iron, et cetera
armour_strength += CONSTANTS_ARMOUR[tier][piece]
end
for _, modifier in armour_protection_modifiers do
-- currently the only modifiers are from Bed Wars upgrades
armour_strength = modifier(entity, armour_strength)
end
damage *= 1 - armour_strength
Helmet | Chestplate | Leggings | Boots | |
---|---|---|---|---|
Leather | 0.01 | 0.07 | 0.06 | 0.01 |
Iron | 0.08 | 0.13 | 0.12 | 0.08 |
Gold | 0.11 | 0.15 | 0.14 | 0.11 |
Diamond | 0.13 | 0.17 | 0.18 | 0.13 |
Resources
Emerald
Diamond
Iron
Tools
Sword damage values
- Wooden: 15
- Iron: 25
- Gold: 35
- Diamond: 45
Other damage values
- Hammer: 25
- Metal Staff: 50
- Arrow: 25 * charge (starting at 0, charge increases the longer the bow is charged until it hits 1)
Pickaxe multipliers on how long it takes to mine a block
These values are multiplied with block health, decreasing the time to mine the block (or keeping it the same in the case of the Wooden Pickaxe).
- Wooden: 1
- Iron: 0.8
- Gold: 0.5
- Diamond: 0.225
Projectile Tools
Default Bow: Shoots arrows, consuming them. In most gamemodes, the player has unlimited arrows, in which case the bow does not require arrows and does not consume any.
Admin Launcher: Shoots Admin eggs.
YouTuber Launcher: Shoots YouTuber eggs.
Other tools
Arrow: Used by the Default Bow.
Change Map: Allows for setting a specific map in Prebow Practice.
Blocks
Block health
This is the amount of seconds necessary to mine the block using the Wooden Pickaxe.
- Clay: 1.8
- Wood Planks: 3
- Stone: 5
- Bricks: 8
- Iron: 13
- Diamond: 25
Special cases
The bed object is made out of two blocks, both of which have a health value of 0.3. However, the bed is not an item.
TNT technically has a health value of 999, but it is immediately detonated at which point it is no longer mineable.
Consumables
Gold Apple: Always gives 20 extra health points. Depending on gamemode, either replenishes health to full or gives regeneration 3.
Pearl: Able to be thrown. Teleports the user to where the pearl lands.
Eggs
Admin egg
YouTuber egg