public function clearRepairCost()
{
if (!$this->hasCompoundTag()) {
return $this;
}
$tag = $this->getNamedTag();
if (isset($tag->RepairCost) and $tag->RepairCost instanceof IntTag) {
unset($tag->RepairCost);
$this->setNamedTag($tag);
}
return $this;
}