Ore Extraction

Ore Extraction

Mod

Extract the ore from a block and have it placed in your inventory! Inspired by the plugin made by @IceWolf23X, but made for Fabric!

Server AdventureEquipmentGame MechanicsStorageUtility

312 downloads
2 followers
Createda month ago
Updateda month ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Ore Extraction | Fabric Mod

Info

Extract the ore and have it be replaced by it's base block! This mod is inspired by the OreExtraction plugin made by IceWolf23X.

Features

  • If there is room in your inventory, the drops from the ore block will be placed directly into your inventory and the ore block will be replaced with its base block, such as cobblestone, cobbled deepslate, netherack, blackstone, or endstone. Otherwise, the dropped items will fly out.

    Note: Silk Touch will drop the block as normal.

  • Mod developers, see Compatibility to see what you can do to make your ores compatiable with this mod.

Gamerules

  • doOreExtraction
    • default: true
    • info: when enabled, the ores will be extracted into the player's inventory, or if there is not enough room, will drop from the block.

Versions

This mod is Fabric ONLY. There is no plan to support Forge.

This mod is available for the following Minecraft versions :

  • 1.20
  • 1.20.1
  • 1.20.2
  • 1.20.3
  • 1.20.4

Client and Server Support

This mod is required to be added to the server. If you are playing on a singleplayer world, then you will need this mod installed.

Compatibility

The way this mod works is by creating tags for each vanilla block and sorting them into one of these four (4) categories:

  • Stone Ores (will be replaced by cobblestone when mined)
  • Deepslate Ores (will be replaced by cobbled deepslate when mined)
  • Nether Ores (will be replaced by netherrack when mined)
  • Blackstone Ores (such as Gilded Blackstone; will be replaced by blackstone when mined)

This mod also adds a fifth tag, End Ores (will be replaced by endstone when mined), for those mods that have end ores.

To add your blocks to these tags, you will need to add them to one of the following tags:

  • ore-extraction:stone_ores
  • ore-extraction:deepslate_ores
  • ore-extraction:nether_ores
  • ore-extraction:blackstone_ores
  • ore-extraction:end_ores

If, for example, the ore block is dropped when mined with a normal pickaxe (unlike diamond ore which drops diamonds), then it wouldn't make sense to add it to these tags.

External resources



Project members

shadowhunter22

Member


Technical information

License
ARR
Client side
unsupported
Server side
required
Project ID