Resource Hogs
by Darkhax
Resource Hogs adds a pig-like mob that players use to farm resources, converted from a normal pig with a bucket of mud.
What it does
A resource hog is a modified pig that represents a resource. Players can obtain one in two ways: by applying a bucket of mud to a normal pig, which starts the conversion process, or by using a spawn egg for the hog, if a modpack makes one available. The default bucket of mud is crafted from a water bucket and a piece of dirt, each one input resource.
Once a hog exists, it digs up truffles in the blocks it is set to dig through, and each truffle drop is worth one input resource. Killing a hog drops bacon, a converted resource, with a default of one to three bacon per kill. Truffles are dug only from the space above the blocks the hog is allowed to dig, and a block left empty behind a removed truffle is broken automatically, so pistons and similar machines can automate the process.
Resource Hogs is intended for modpack authors, who can define each resource with its own properties: a unique lower case id that matches the file name, an array of inputs, an ore dictionary entry such as ore:oreDictName or a specific item in mod:item:meta format, the item output, the blocks the hog digs in and the block the hog looks like, all given in mod:id:meta format. The mod requires Bookshelf and runs on client and server, so the server and every player need it. Files are published for Forge only, for 1.12.2, with 1.0.15 as the latest file. The mod is released under the GNU Lesser General Public License v2.1 only and is open source, with public source code and an issue tracker.
Key features
Pigs that farm resources
Converted pigs dig up truffles from the blocks they are set to dig through, providing a steady supply of a resource.
Bacon drops on death
Killing a resource hog drops bacon, a converted resource, with one to three per kill by default.
Automatic block breaking
The block below a removed truffle is broken automatically, so machines such as pistons can automate the process.
Modpack resource definitions
Modpack authors define each resource with its inputs, output, dig blocks and appearance through a file format.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: Modpack authors who want to define custom farmable resources, and players who want a pig-based way to generate resources on a 1.12.2 Forge world.
Questions
Does Resource Hogs need Bookshelf?
Does Resource Hogs have to be installed on both sides?
How does a player get a resource hog?
More from Darkhax
What the author says
This mod adds resource hogs to the game. A resource hog is a pig-like mob that the player can use to farm resources. This mod is intended to be used by modpack authors, and allows the modpack author to define which resources can be farmed, and various properties of the resource hog mob. A resource hog is a modified…
Official listing
- Modrinth page
- modrinth.com/mod/resource-hogs
- Owner
- Darkhax
- Published
- 2023-06-08
- Updated on Modrinth
- 2023-06-08
- Facts verified
- 2026-10-15
