mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
20 lines
No EOL
376 B
PHP
20 lines
No EOL
376 B
PHP
<?php
|
|
|
|
class GoldenChestplateItem extends ArmorItem{
|
|
|
|
public function __construct($meta = 0, $count = 1){
|
|
parent::__construct(GOLDEN_CHESTPLATE, $meta, $count, "Golden Chestplate");
|
|
}
|
|
|
|
public function getMaterialDurability(){
|
|
return Material::GOLD;
|
|
}
|
|
|
|
public function getBaseDurability(){
|
|
return 16;
|
|
}
|
|
public function getDamageReduceAmount()
|
|
{
|
|
return 5;
|
|
}
|
|
} |