Lightsaber

A lightsaber is a melee weapon of a Jedi Knight that is mainly used to damage entities and protecting the player against attacks.

=Obtaining=

Crafting
WIP 1 lightsaber can be crafted from 2 iron ingots and 1 or 2 of ? lightsaber crystals.

Repairing
WIP Lightsabers can be repaired on an anvil by using another lightsaber. Lightsabers repaired on anvils retain their color.

=Usage= Despite using iron in its crafting recipe, it cannot be smelted into iron nuggets.

Attacking
Lightsabers aren't as clumsy to use as blasters. Pressing attack while holding a lightsaber inflicts damage on both mobs and other players.

Defense
Lightsabers can be used for blocking attacks coming from in front of the wielder by using it. Blocking causes the player to slow to a sneaking pace. Incoming laser beams can be deflected into other targets.

Lightsabers can't block:
 * Slugs from a cycler rifle
 * Status effects from splash/lingering potions
 * TNT that the blocking player lit themselves‌
 * TNT that a redstone mechanism lit
 * Fall damage
 * Strikes from axe-wielding gamorreans or from axe-wielding players that are sprinting
 * Such axe strikes disable the lightsaber for 5 seconds‌.
 * Axe strikes from a player that isn't sprinting still have a 25% chance to disable the lightsaber.

=Sounds= WIP
 * Degauss sound when blocking and hitting