# Cheatsheet

[ToLaserBlade](https://github.com/Iunius118/ToLaserBlade)
Version 1.15.2-3.1.2.0.

Adds a simple sword with a laser blade.

## Requirements

- Minecraft 1.15.2
- Forge 1.15.2-31.2.57+

## How to Get Started

1. Craft a laser blade
2. Craft an anvil
3. Upgrade the laser blade on the anvil

## Items

### Laser B1ade (Prop Laser Blade)

Crafting Recipe:

    2 Redstone Torches (R) and Stick (s)
    |   | R |   |
    |   | R |   |
    |   | s |   |

Performances:

- Attack Damage : 5
- Attack Speed  : 2.8
- Max Durability: 255

When sneaking and right-clicking on a block, a redstone torch is placed on the block and the laser b1ade's durability is consumed.
When right-clicking on a redstone torch, the redstone torch is broken and the laser b1ade's durability is recovered.

### Laser Blade

Laser Blade can be used to dig or mine for dirt, gravel, stone, diamond, obsidian, etc.

Note: Don't use shift-clicking to get crafted Laser Blade to avoid losing enchantments.

#### Low Cost Recipe

Crafting Recipe:

    4 Iron Ingots (i), Diamond (d), Glass (#), and Redstone (r)
    | # | i | d |
    | i | d | i |
    | r | i | # |

Performances:

- Attack Damage : 7
- Attack Speed  : 2.8
- Max Durability: 32000
- Enchantment   : Efficiency I and Light Element I
- Blade Color   : Changing color of blade by the base temperature of the biome

#### High Cost Recipe

Crafting Recipe:

    4 Iron Ingots (i), Diamond (d), Glowstone Dust (g), and Redstone (r)
    | g | i | d |
    | i | d | i |
    | r | i | g |

Performances:

- Attack Damage : 7
- Attack Speed  : 2.8
- Max Durability: 32000
- Enchantment   : Efficiency I and Light Element II
- Blade Color   : Changing color of blade by the base temperature of the biome

#### Light Element Enchantment

Light Element is a mod original enchantment to increase damage to undead mobs and illagers.

#### Upgrading Laser Blade

Anvil Recipes:

- Rename unupgraded Laser Blade to GIFT → ???
- Laser Blade + Block of Redstone → + attack speed (up to 4.0)
- Laser Blade + Block of Diamond → + attack damage (up to 14)
- Laser Blade + Glowstone → + Smite (up to X)
- Laser Blade + Nether Star → 4 attack speed, 14 attack damage, and Smite X
- Laser Blade + Blaze Rod → + Fire Aspect
- Laser Blade + Eye of Ender → + Sweeping Edge
- Laser Blade + Nautilus Shell or Block of Emerald → + Looting
- Laser Blade + Prismarine Crystals → + Silk Touch
- Laser Blade (14+ attack damage) + Mob Head → + attack damage

#### Coloring Laser Blade

Anvil Recipes:

- Laser Blade + Stained Glass → changing color of outer part of blade
- Laser Blade + Stained Glass pane → changing color of inner part of blade
- Laser Blade + Carpet → changing grip color
- Laser Blade + Paper named FATE → switching blend mode of outer part
- Laser Blade + Paper named OGRE → switching blend mode of inner part

#### Repairing Laser Blade

Anvil Recipe:

- Damaged/Broken Laser Blade + Iron Ingot → repaired Laser Blade

#### Laser Trap

When a laser blade is set in a dispenser and activated, it can attack mobs in front of the dispenser with the laser blade.
This attack is only affected by the laser blade's attack damage and the Looting enchantment.

### Not Used Items

These items are not used and have no recipes:

- Laser Blade Blueprint
- Disassembled Laser Blade
- LB Energy Cell
- Laser Medium
- Laser Blade Emitter
- Laser Blade Casing

They will be used for customizing recipe by players.

## Configurations

- Common: `config/tolaserblade-common.toml`
- Client: `config/tolaserblade-client.toml`
