mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
20 lines
No EOL
370 B
PHP
20 lines
No EOL
370 B
PHP
<?php
|
|
|
|
class GoldenLeggingsItem extends ArmorItem{
|
|
|
|
public function __construct($meta = 0, $count = 1){
|
|
parent::__construct(GOLDEN_LEGGINGS, $meta, $count, "Golden Leggings");
|
|
}
|
|
|
|
public function getMaterialDurability(){
|
|
return Material::GOLD;
|
|
}
|
|
|
|
public function getBaseDurability(){
|
|
return 15;
|
|
}
|
|
public function getDamageReduceAmount()
|
|
{
|
|
return 3;
|
|
}
|
|
} |