# Cheatsheet
O.F.Device (Ore Farming Device) v0.5.0

## Blocks
### OF Device
- Recipe (# = Stone, F = Furnace, L = Lever, i = Iron Ingot, x = Stone Pickaxe)
  - ` # F # `
  - ` # L # `
  - ` i x i `
- Make Stones or Ores from Cobblestone
- Products made from Cobblestone: Stone, Coal Ore, Iron Ore, Copper Ore, Lapis Lazuli Ore
- Make Deepslates or Deepslate Ores from Cobbled Deepslate
- Products made from Cobbled Deepslate: Deepslate, Deepslate Iron Ore, Deepslate Copper Ore, Deepslate Lapis Lazuli Ore, Deepslate Coal Ore
- Make Nether Bricks or Nether Ores from Netherrack
- Products made from Netherrack: Nether Brick, Nether Quartz Ore, Nether Gold Ore
- Require fuel to work
- Put materials in the upper right slot and fuel in the left slot on the GUI
- Products will be output to the bottom right slot on the GUI
- If the output slot is full during operation, the products are ejected out of the block
- Hopper can be used to push materials and fuel into device, and to pull products from device
- Appearance rate of ores increases with number (up to 3) of players, villagers, etc. around OF Devices (5x3x5)

### OF Device Mod 1
- Recipe (Crafting/Smithing Table): OF Device + Iron Pickaxe
- Processing speed is faster than OF Device
- Products made from Cobblestone: Stone, Coal Ore, Iron Ore, Copper Ore, Redstone Ore, Lapis Lazuli Ore, Gold Ore, Diamond Ore
- Products made from Cobbled Deepslate: Deepslate, Deepslate Redstone Ore, Deepslate Iron Ore, Deepslate Copper Ore, Deepslate Gold Ore, Deepslate Diamond Ore, Deepslate Lapis Lazuli Ore, Deepslate Coal Ore
- Products made from Netherrack: Nether Brick, Nether Quartz Ore, Nether Gold Ore

### OF Device Mod 2
- Recipe (Crafting/Smithing Table): OF Device Mod 1 + Diamond Pickaxe
- Processing speed is faster than OF Device Mod 1
- Products made from Cobblestone: Stone, Coal Ore, Copper Ore, Iron Ore, Gold Ore, Redstone Ore, Lapis Lazuli Ore, Emerald Ore, Diamond Ore
- Products made from Cobbled Deepslate: Deepslate, Deepslate Redstone Ore, Deepslate Copper Ore, Deepslate Iron Ore, Deepslate Gold Ore, Deepslate Diamond Ore, Deepslate Lapis Lazuli Ore, Deepslate Coal Ore, Deepslate Emerald Ore
- Products made from Netherrack: Nether Brick, Nether Quartz Ore, Nether Gold Ore, Ancient Debris

## Item
### OF Cobblestone Feeder
- Recipe (L = Lava Bucket, R = Redstone Repeater, P = Piston, x = Stone Pickaxe, W = Water Bucket)
  - ` _ _ L `
  - ` R P x `
  - ` _ _ W `
- This item provides an infinite supply of Cobblestones to OF Devices
- Place this item in the material slot of an OF device
- Recycling recipe (Crafting Table): OF Cobblestone Feeder + Bucket -> Lava Bucket

## Config
`(world_save_dir)/serverconfig/orefarmingdevice-server.toml`

Restart the game when you change the config. In multiplayer mode, server-side config will be used.

- isCobblestoneFeederAvailable (boolean, default value is true)
  - Whether OF Cobblestone Feeder is available for devices
- enableFarmingEfficiency (boolean, default value is true)
  - Whether mobs around device increase farming efficiency of device
- accelerateProcessingSpeedByMod (boolean, default value is true)
  - Whether to accelerate processing speed of device by modification
- increaseFuelConsumptionByMod (boolean, default value is true)
  - Whether to increase fuel consumption of device by modification

## Modifying Product Tables
The products and their probabilities of each device can be modified using loot table in data pack. JSON files for the loot tables corresponding to each device are as follows.

- OF Device with cobblestone:
  - `(data_pack_root)/data/orefarmingdevice/loot_tables/device_0.json`
- OF Device with cobbled deepslate:
  - `(data_pack_root)/data/orefarmingdevice/loot_tables/device_0_d.json`
- OF Device with netherrack:
  - `(data_pack_root)/data/orefarmingdevice/loot_tables/device_0_n.json`
- OF Device Mod 1 with cobblestone:
  - `(data_pack_root)/data/orefarmingdevice/loot_tables/device_1.json`
- OF Device Mod 1 with cobbled deepslate:
  - `(data_pack_root)/data/orefarmingdevice/loot_tables/device_1_d.json`
- OF Device Mod 1 with netherrack:
  - `(data_pack_root)/data/orefarmingdevice/loot_tables/device_1_n.json`
- OF Device Mod 2 with cobblestone:
  - `(data_pack_root)/data/orefarmingdevice/loot_tables/device_2.json`
- OF Device Mod 2 with cobbled deepslate:
  - `(data_pack_root)/data/orefarmingdevice/loot_tables/device_2_d.json`
- OF Device Mod 2 with netherrack:
  - `(data_pack_root)/data/orefarmingdevice/loot_tables/device_2_n.json`
