Uses of Enum Class
net.minecraft.village.VillageGossipType
Packages that use VillageGossipType
-
Uses of VillageGossipType in net.minecraft.village
Fields in net.minecraft.village declared as VillageGossipTypeModifier and TypeFieldDescriptionprivate final VillageGossipType
VillagerGossips.GossipEntry.type
The field for thetype
record component.Fields in net.minecraft.village with type parameters of type VillageGossipTypeModifier and TypeFieldDescription(package private) final Object2IntMap
<VillageGossipType> VillagerGossips.Reputation.associatedGossip
static final com.mojang.serialization.Codec
<VillageGossipType> VillageGossipType.CODEC
Methods in net.minecraft.village that return VillageGossipTypeModifier 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.Methods in net.minecraft.village that return types with arguments of type VillageGossipTypeMethods in net.minecraft.village with parameters of type VillageGossipTypeModifier 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) Method parameters in net.minecraft.village with type arguments of type VillageGossipTypeModifier and TypeMethodDescriptionint
VillagerGossips.getReputationFor
(UUID target, Predicate<VillageGossipType> gossipTypeFilter) int
VillagerGossips.Reputation.getValueFor
(Predicate<VillageGossipType> gossipTypeFilter) Constructors in net.minecraft.village with parameters of type VillageGossipTypeModifierConstructorDescription(package private)
GossipEntry
(UUID target, VillageGossipType type, int value) Creates an instance of aGossipEntry
record class.