Resource Hogs

Quick rating

Resource Hogs

No reviews yet

Adds pigs which can help players get resources.

Cozy
Ores & Resources
Peaceful & Neutral Mobs
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Client and Server

Must be installed on both the client and the server.

About

Project Details

Type
Mod
License
GNU Lesser General Public License v2.1 only
Latest Version
ResourceHogs-1.12.2-1.0.15.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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. 

Using the mod

A resource hog is a modified version of a pig that represents a resource. The resource hog can help generate resources for the player through the following two ways.

  • Killing the resource hog. This causes it to drop bacon which can be converted into the resource. By default one to three bacon will drop, and they are worth one of the input resource each.
  • Digging for truffles. If the resource hog is in a valid dimension and is standing on top of a block that it can dig through, it will start to dig up truffles. These truffles can be turned into the resource without killing the pig. By default four truffles is equal to one input resource. 

To get a resource hog, you need a normal pig and a bucket of mud. By default a bucket of mud is crafted with a water bucket, a piece of dirt, and one of the input resources. Applying the bucket of mud to the pig will start the conversion process. Alternatively you can get a spawn egg for the hog, however this option may not be available in your modpack.

Tips & Tricks

  • Applying speed potions to a resource hog will cause it to dig faster, and find more truffles. Higher levels of speed will cause the resource hog to dig even faster. For example speed 1 will cause the pig to go twice as fast, and speed 2 will cause the pig to go three times as fast.
  • Truffles can only be dug up if the space above where the pig is digging is empty. The pig must also be in the right dimension, and on top of a block that they can dig through.
  • Truffles will automatically break if the block below them is removed. This means that things like pistons can be used to automate the process of breaking truffles. 

Configuring

The available resource hogs are loaded from json files that the modpack author must create. These files are loaded from the config/resourcehogs/types folder. You can find an example of what the file should look like here. Another example with all the default values can be found here.

The following is a brief explanation of each property.

  • id - The id for this resource. This must be lower case and unique for each resource type you add. This should also match the name of the file used.
  • inputs - An array of the various inputs you can use to make a resource hog. You can use ore:oreDictName to specify an ore dictionary input, or mod:item:meta to specify a specific item.
  • output - The item to output for this resource. This should be a specific item using the mod:item:meta format.
  • diggableBlocks - This is used to define what blocks the hog can dig in. This is an array of blocks using mod:id:metaformat.
  • renderBlock - The block the hog should look like. This uses mod:id:meta format.
  • validDimensions - This is an array of dimension ids that this pig can dig in. If it's in the wrong dimension it wont dig.
  • maxHealth - The amount of health the hog has.
  • movementSpeed - How fast the pig is normally.
  • armorAmount - An amount of armor protection to give the hog.
  • digTickDelay - The amount of time in ticks it normally takes for the hog to dig up a truffle.

Tinkers Construct

This mod has automatic support for tinkers construct. If a resource type is created, and the output item has a smelting recipe, the player will be able to smelt the bacon and truffles under the same conditions. For example, if you make a resource type with an iron ingot as the output, in tcon you can smelt iron ingots into molten iron so you will be able to smelt the truffles and bacon into molten iron as well. By default 1 bacon smelts into the same amount of fluid as the output item. Truffles will produce 1/4th the amount of fluid. 

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. 

Using the mod

A resource hog is a modified version of a pig that represents a resource. The resource hog can help generate resources for the player through the following two ways.

  • Killing the resource hog. This causes it to drop bacon which can be converted into the resource. By default one to three bacon will drop, and they are worth one of the input resource each.
  • Digging for truffles. If the resource hog is in a valid dimension and is standing on top of a block that it can dig through, it will start to dig up truffles. These truffles can be turned into the resource without killing the pig. By default four truffles is equal to one input resource. 

To get a resource hog, you need a normal pig and a bucket of mud. By default a bucket of mud is crafted with a water bucket, a piece of dirt, and one of the input resources. Applying the bucket of mud to the pig will start the conversion process. Alternatively you can get a spawn egg for the hog, however this option may not be available in your modpack.

Tips & Tricks

  • Applying speed potions to a resource hog will cause it to dig faster, and find more truffles. Higher levels of speed will cause the resource hog to dig even faster. For example speed 1 will cause the pig to go twice as fast, and speed 2 will cause the pig to go three times as fast.
  • Truffles can only be dug up if the space above where the pig is digging is empty. The pig must also be in the right dimension, and on top of a block that they can dig through.
  • Truffles will automatically break if the block below them is removed. This means that things like pistons can be used to automate the process of breaking truffles. 

Configuring

The available resource hogs are loaded from json files that the modpack author must create. These files are loaded from the config/resourcehogs/types folder. You can find an example of what the file should look like here. Another example with all the default values can be found here.

The following is a brief explanation of each property.

  • id - The id for this resource. This must be lower case and unique for each resource type you add. This should also match the name of the file used.
  • inputs - An array of the various inputs you can use to make a resource hog. You can use ore:oreDictName to specify an ore dictionary input, or mod:item:meta to specify a specific item.
  • output - The item to output for this resource. This should be a specific item using the mod:item:meta format.
  • diggableBlocks - This is used to define what blocks the hog can dig in. This is an array of blocks using mod:id:metaformat.
  • renderBlock - The block the hog should look like. This uses mod:id:meta format.
  • validDimensions - This is an array of dimension ids that this pig can dig in. If it's in the wrong dimension it wont dig.
  • maxHealth - The amount of health the hog has.
  • movementSpeed - How fast the pig is normally.
  • armorAmount - An amount of armor protection to give the hog.
  • digTickDelay - The amount of time in ticks it normally takes for the hog to dig up a truffle.

Tinkers Construct

This mod has automatic support for tinkers construct. If a resource type is created, and the output item has a smelting recipe, the player will be able to smelt the bacon and truffles under the same conditions. For example, if you make a resource type with an iron ingot as the output, in tcon you can smelt iron ingots into molten iron so you will be able to smelt the truffles and bacon into molten iron as well. By default 1 bacon smelts into the same amount of fluid as the output item. Truffles will produce 1/4th the amount of fluid. 

Nodecraft sponsor banner

This project is sponsored by Nodecraft. Use code DARKHAX for 30% off your first month of service!

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

10m
Total Downloads
CurseForge
10m
Modrinth
~10,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works