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