Package net.minecraft.village
Enum Class VillageGossipType
- All Implemented Interfaces:
Serializable
,Comparable<VillageGossipType>
,Constable
,StringIdentifiable
- Mappings:
Namespace Name official bow
intermediary net/minecraft/class_4139
named net/minecraft/village/VillageGossipType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.Codec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<VillageGossipType>
final int
final String
static final int
final int
final int
final int
static final int
static final int
Fields inherited from interface net.minecraft.util.StringIdentifiable
field_38377
-
Constructor Summary
ModifierConstructorDescriptionprivate
VillageGossipType
(String key, int multiplier, int maxReputation, int decay, int shareDecrement) -
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static VillageGossipType
Returns the enum constant of this class with the specified name.static VillageGossipType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAJOR_NEGATIVE
- Mappings:
Namespace Name Mixin selector official a
Lbow;a:Lbow;
intermediary field_18424
Lnet/minecraft/class_4139;field_18424:Lnet/minecraft/class_4139;
named MAJOR_NEGATIVE
Lnet/minecraft/village/VillageGossipType;MAJOR_NEGATIVE:Lnet/minecraft/village/VillageGossipType;
-
MINOR_NEGATIVE
- Mappings:
Namespace Name Mixin selector official b
Lbow;b:Lbow;
intermediary field_18425
Lnet/minecraft/class_4139;field_18425:Lnet/minecraft/class_4139;
named MINOR_NEGATIVE
Lnet/minecraft/village/VillageGossipType;MINOR_NEGATIVE:Lnet/minecraft/village/VillageGossipType;
-
MINOR_POSITIVE
- Mappings:
Namespace Name Mixin selector official c
Lbow;c:Lbow;
intermediary field_18426
Lnet/minecraft/class_4139;field_18426:Lnet/minecraft/class_4139;
named MINOR_POSITIVE
Lnet/minecraft/village/VillageGossipType;MINOR_POSITIVE:Lnet/minecraft/village/VillageGossipType;
-
MAJOR_POSITIVE
- Mappings:
Namespace Name Mixin selector official d
Lbow;d:Lbow;
intermediary field_18427
Lnet/minecraft/class_4139;field_18427:Lnet/minecraft/class_4139;
named MAJOR_POSITIVE
Lnet/minecraft/village/VillageGossipType;MAJOR_POSITIVE:Lnet/minecraft/village/VillageGossipType;
-
TRADING
- Mappings:
Namespace Name Mixin selector official e
Lbow;e:Lbow;
intermediary field_18428
Lnet/minecraft/class_4139;field_18428:Lnet/minecraft/class_4139;
named TRADING
Lnet/minecraft/village/VillageGossipType;TRADING:Lnet/minecraft/village/VillageGossipType;
-
-
Field Details
-
MAX_TRADING_REPUTATION
public static final int MAX_TRADING_REPUTATION- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lbow;f:I
intermediary field_30240
Lnet/minecraft/class_4139;field_30240:I
named MAX_TRADING_REPUTATION
Lnet/minecraft/village/VillageGossipType;MAX_TRADING_REPUTATION:I
-
TRADING_GOSSIP_SHARE_DECREMENT
public static final int TRADING_GOSSIP_SHARE_DECREMENT- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lbow;g:I
intermediary field_30241
Lnet/minecraft/class_4139;field_30241:I
named TRADING_GOSSIP_SHARE_DECREMENT
Lnet/minecraft/village/VillageGossipType;TRADING_GOSSIP_SHARE_DECREMENT:I
-
TRADING_GOSSIP_DECAY
public static final int TRADING_GOSSIP_DECAY- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lbow;h:I
intermediary field_30242
Lnet/minecraft/class_4139;field_30242:I
named TRADING_GOSSIP_DECAY
Lnet/minecraft/village/VillageGossipType;TRADING_GOSSIP_DECAY:I
-
CODEC
- Mappings:
Namespace Name Mixin selector official n
Lbow;n:Lcom/mojang/serialization/Codec;
intermediary field_41672
Lnet/minecraft/class_4139;field_41672:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/village/VillageGossipType;CODEC:Lcom/mojang/serialization/Codec;
-
key
- Mappings:
Namespace Name Mixin selector official i
Lbow;i:Ljava/lang/String;
intermediary field_18430
Lnet/minecraft/class_4139;field_18430:Ljava/lang/String;
named key
Lnet/minecraft/village/VillageGossipType;key:Ljava/lang/String;
-
multiplier
public final int multiplier- Mappings:
Namespace Name Mixin selector official j
Lbow;j:I
intermediary field_18431
Lnet/minecraft/class_4139;field_18431:I
named multiplier
Lnet/minecraft/village/VillageGossipType;multiplier:I
-
maxValue
public final int maxValue- Mappings:
Namespace Name Mixin selector official k
Lbow;k:I
intermediary field_18432
Lnet/minecraft/class_4139;field_18432:I
named maxValue
Lnet/minecraft/village/VillageGossipType;maxValue:I
-
decay
public final int decay- Mappings:
Namespace Name Mixin selector official l
Lbow;l:I
intermediary field_19354
Lnet/minecraft/class_4139;field_19354:I
named decay
Lnet/minecraft/village/VillageGossipType;decay:I
-
-
Constructor Details
-
VillageGossipType
private VillageGossipType(String key, int multiplier, int maxReputation, int decay, int shareDecrement) - Mappings:
Namespace Name Mixin selector official <init>
Lbow;<init>(Ljava/lang/String;ILjava/lang/String;IIII)V
intermediary <init>
Lnet/minecraft/class_4139;<init>(Ljava/lang/String;ILjava/lang/String;IIII)V
named <init>
Lnet/minecraft/village/VillageGossipType;<init>(Ljava/lang/String;ILjava/lang/String;IIII)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Laqa;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-