Loading...
Beta Modpages Unclaimed

Sapience

A mod that makes Piglins more intelligent

0 Likes
9079230 Downloads
Created by the_infamous_1

Description

This mod adds more behaviors to Piglins to better represent them as the unique sentient beings they are.

 

Interested in hosting a server?

Need a server to play with friends? Don't know how to set one up? Just rent an already configured server!

Click on the picture above, select a plan (at least 4GB), use my code INFAMOUS to get 25% off your first month and enjoy playing with your friends!


Reputation Related Features

- Piglins now have a reputation system that works similarly to Villagers. Doing things like fighting alongside them against Wither mobs, giving them gifts and bartering with them increases your reputation. Doing things like hurting or killing Piglin mobs and engaging in unauthorized mining/chest opening around them decreases your reputation.

- At +50 reputation with a Piglin, you will no longer be required to wear gold armor around them. At +100 reputation, you will be authorized to open chests and mine gold around them.

- At -50 reputation with a Piglin, you will no longer receive items from bartering. At -100 reputation, you will be attacked on sight regardless of whether or not you are wearing gold armor.

For 1.18+:
- With an empty main hand, you can shift-right click a Piglin (or a Villager!) to receive a chat message detailing how much reputation you have with them.

- For more information, join the Discord and/or take a look at this link to see how the Villager reputation system works, which this is based on.

 

Food & Breeding Related Features:

- Piglins seek out and pick up food items (by default, porkchops and cooked porkchops) and consume them, complete with an eating animation. Players can also right-click them with their food items if the Piglin has not already recently eaten and they will accept it. Eating food will also restore a Piglin's health in an amount identical to the food item's hunger value.

 

- Once Piglins have enough food value (by default, 12) - determined by the sum of all the hunger values of the food they have recently eaten - they can start to breed if they are an adult or force-age themselves if they are a baby, depleting their stored food value.

 

- Baby Piglins now grow up to an adult after 20 minutes. Force-aging themselves reduces this time, like baby animals.

 

- Piglins will decline food if they are hostile or in the middle of attacking something.

 

Gold & Bartering Related Features:

- Piglins store gold ingots and gold nuggets in a separate inventory, including gold ingots they received from bartering. Any non-bartered gold ingots and gold nuggets will drop when they die or are zombified.

 

- Piglins can craft gold armor and weapons and equip themselves with them if they have enough gold in their inventory. If they are fully equipped, they will attempt to craft equipment for a nearby Piglin and give it to them. A Piglin who has either crafted equipment or has received it as a gift from another Piglin will admire it before equipping it.

 

- Piglins can now barter with gold nuggets and gold blocks. Gold nuggets make you far more likely to receive common barter items, with all item stack sizes halved. Gold blocks make you far more likely to receive rare barter items, with all item stack sizes doubled.

 

- Piglins will now accept gold non-bartering items directly from you, like gold equipment and stuff like gold horse armor, and anything else tagged under the vanilla tag "piglin_loved".

- Piglins will no longer drop bartering loot if the bartering item they received did not come from a living being. This change can be disabled in the config.

 

Miscellanous Features:

- Piglins now shake their heads like Villagers when declining an offered item.

 

- Piglins now emit particles/make sounds when accepting an item from you or declining it.

 

- Piglins will drop crimson fungus near Hoglins occasionally. This is done in an attempt to make the Hoglin population increase, so Piglins can continue to hunt them, establishing an ecological balance and making them responsible hunters.

 

- Hoglins will seek out and pick up breeding items (by default, crimson fungus) if they have not already recently eaten and try to breed if they are an adult or force-age themselves if they are a baby.


Notes:

For 1.16 only: The tag "piglin_food_items" contains any items that Piglins can eat. Override/add to it with the following path in your datapack: "data/sapience/tags/items/piglin_food_items.json".

For 1.18+:
- In 1.17, Mojang introduced a new tag for items that piglins can eat called "piglin_food". Override/add to it with the following path in your datapack: "data/minecraft/tags/items/piglin_food.json".

 

- The tag "piglins_barter" contains any items that Piglins will accept in exchange for normal bartering loot. Override/add to it with the following path in your datapack: "data/sapience/tags/items/piglins_barter.json".

 

- The tag "piglins_barter_cheap" contains any items that Piglins will accept in exchange for cheap bartering loot. Override/add to it with the following path in your datapack: "data/sapience/tags/items/piglins_barter_cheap.json".

 

- The tag "piglins_barter_expensive" contains any items that Piglins will accept in exchange for expensive bartering loot. Override/add to it with the following path in your datapack: "data/sapience/tags/items/piglins_barter_expensive.json".


- The tag "piglins_avoid" contains any entity types that Piglins will avoid, like Zombified Piglins. Override/add to it with the following path in your datapack: "data/sapience/tags/entity_types/piglins_avoid.json".


- The tag "piglins_hunt" contains any entity types that Piglins will celebrate after hunting, like Hoglins. Override/add to it with the following path in your datapack: "data/sapience/tags/entity_types/piglins_hunt.json".

 

- The tag "piglins_hate" contains any entity types that Piglins will attack on sight, like Wither Skeletons. When any of these types are killed, they will give you minor positive reputation with nearby piglins. Override/add to it with the following path in your datapack: "data/sapience/tags/entity_types/piglins_hate.json".


- The tag "bosses" contains any entity types that Piglins will regard as an enemy boss, like Withers. When any of these types are killed and if they are also under "piglins_hate", they will give you major positive reputation with nearby piglins. Override/add to it with the following path in your datapack: "data/sapience/tags/entity_types/piglins_hunt.json".

- The tag "zoglins_ignore" contains any entity types that Zoglins will ignore in their vicious rampage, like Creepers. Override/add to it with the following path in your datapack: "data/sapience/tags/entity_types/zoglins_ignore.json".

 

For all:
- The tag "hoglin_food_items" contains any items that Hoglins can eat. Override/add to it with the following path in your datapack: "data/sapience/tags/items/hoglin_food_items.json".

- The nugget bartering and block bartering loot tables are independent from the main bartering loot table and therefore can be modified by datapack. By default, each loot table is a modified copy of the vanilla bartering loot table. Their names are "piglin_bartering_cheap" and "piglin_bartering_expensive" for nugget barters and block barters, respectively. Override them with the following paths in your datapack: "data/sapience/loot_tables/gameplay/piglin_bartering_cheap.json" and "data/sapience/loot_tables/gameplay/piglin_bartering_expensive.json".

- If a Piglin is already fully equipped but any of their equipment is not golden, during their crafting task they will make a golden version of the equipment instead and replace it, dropping the previously equipped item. This feature can be disabled in the config.

- The minimum food value required for Piglins to breed can be adjusted in the config.

- All of the reputation values can be adjusted on the config.

- The Piglin eating animation code originates from tallestred's Player Eating Animation mod.

 

Mod Showcases:

 

Want a config GUI? Check out Configured


Discord
:
Infamous Misadventures


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Oh The Biomes You'll Go

An Adventure & Exploration mod like no other with unique, magical, realistic, and detailed biomes!

BetterNether

Improvements for the Nether (plants, biomes, structures, worldgen)

Valhelsia Structures

Adds new structures and dungeons to your world while being properly integrated.

Towns and Towers

Spice up your world with new villages, pillager outposts, and even new ships!

Terralith

A 1.18+ overworld expansion for Fabric and Forge, with tons of new biomes and caves!

BetterEnd

This mod adds content to the End (biomes, mobs, blocks, etc.)

Structory

An atmospheric structure mod for Fabric/Forge/Quilt.