Package org.bukkit.entity
Interface Villager.ReputationEvent
- Enclosing interface:
Villager
public static interface Villager.ReputationEvent
Reputation change reason.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Villager.ReputationEventReputation decayed over time.static final Villager.ReputationEventVillage's iron golem was killed by an entity.static final Villager.ReputationEventA villager gossiped with another villager.static final Villager.ReputationEventA player traded with a villager.static final Villager.ReputationEventUnspecified reason.static final Villager.ReputationEventA villager was hurt by an entity.static final Villager.ReputationEventA villager was killed by an entity.static final Villager.ReputationEventA villager was cured by a player.
-
Field Details
-
ZOMBIE_VILLAGER_CURED
A villager was cured by a player. -
TRADE
A player traded with a villager. -
VILLAGER_HURT
A villager was hurt by an entity. -
VILLAGER_KILLED
A villager was killed by an entity. -
GOSSIP
A villager gossiped with another villager. -
DECAY
Reputation decayed over time. -
GOLEM_KILLED
Village's iron golem was killed by an entity. -
UNSPECIFIED
Unspecified reason. Available only by setting the reputation programmatically.
-