Skip to content

Modify Villager Reputation

This power type allows you to modify your reputation with a villager. The more reputation you have, the better trades you can get. See the Minecraft Wiki for more information on how villager reputation works.

Type ID: shappoli:modify_villager_reputation

Note

In the context of this power type, the 'actor' entity is the entity that has the power whilst the 'target' entity is the villager, player is trading with.

Info

This power is basically the same as a Modify Villager Reputation power from Mob Origins mod.

Fields

Field Type Default Description
bientity_condition Bi-entity Condition Type optional Condition that must be met for the action to trigger.
modifier Attribute Modifier optional The modifier to apply to the reputation.
modifiers Array of Attribute Modifier optional The modifiers to apply to the reputation.

Examples

{
  "type": "shappoli:modify_villager_reputation",
  "modifier": {
    "operation": "addition",
    "value": 100
  }
}

This example will add 100 reputation points to a player.