Uses of Enum Class
net.minecraft.village.VillageGossipType
-
Uses of VillageGossipType in net.minecraft.village
Modifier and TypeFieldDescriptionprivate final VillageGossipType
VillagerGossips.GossipEntry.type
The field for thetype
record component.Modifier and TypeFieldDescription(package private) final Object2IntMap
<VillageGossipType> VillagerGossips.Reputation.associatedGossip
static final com.mojang.serialization.Codec
<VillageGossipType> VillageGossipType.CODEC
Modifier and TypeMethodDescriptionVillagerGossips.GossipEntry.type()
Returns the value of thetype
record component.static VillageGossipType
Returns the enum constant of this class with the specified name.static VillageGossipType[]
VillageGossipType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
VillagerGossips.Reputation.clamp
(VillageGossipType gossipType) long
VillagerGossips.getReputationCount
(VillageGossipType type, DoublePredicate predicate) private int
VillagerGossips.mergeReputation
(VillageGossipType type, int left, int right) void
VillagerGossips.remove
(UUID target, VillageGossipType type) void
VillagerGossips.remove
(VillageGossipType type) void
VillagerGossips.Reputation.remove
(VillageGossipType gossipType) void
VillagerGossips.removeGossip
(UUID target, VillageGossipType type, int value) void
VillagerGossips.startGossip
(UUID target, VillageGossipType type, int value) Modifier and TypeMethodDescriptionint
VillagerGossips.getReputationFor
(UUID target, Predicate<VillageGossipType> gossipTypeFilter) int
VillagerGossips.Reputation.getValueFor
(Predicate<VillageGossipType> gossipTypeFilter) ModifierConstructorDescription(package private)
GossipEntry
(UUID target, VillageGossipType type, int value) Creates an instance of aGossipEntry
record class.