Package net.minecraft.village
Enum Class VillageGossipType
- All Implemented Interfaces:
Serializable
,Comparable<VillageGossipType>
,Constable
- Mappings:
Namespace Name official bju
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>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<String,
VillageGossipType> final int
static final int
static final int
static final int
final String
final int
final int
final int
-
Constructor Summary
ModifierConstructorDescriptionprivate
VillageGossipType
(String key, int multiplier, int maxReputation, int decay, int shareDecrement) -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable VillageGossipType
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
Lbju;a:Lbju;
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
Lbju;b:Lbju;
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
Lbju;c:Lbju;
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
Lbju;d:Lbju;
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
Lbju;e:Lbju;
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
-
field_30240
public static final int field_30240- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lbju;f:I
intermediary field_30240
Lnet/minecraft/class_4139;field_30240:I
named field_30240
Lnet/minecraft/village/VillageGossipType;field_30240:I
-
field_30241
public static final int field_30241- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lbju;g:I
intermediary field_30241
Lnet/minecraft/class_4139;field_30241:I
named field_30241
Lnet/minecraft/village/VillageGossipType;field_30241:I
-
field_30242
public static final int field_30242- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lbju;h:I
intermediary field_30242
Lnet/minecraft/class_4139;field_30242:I
named field_30242
Lnet/minecraft/village/VillageGossipType;field_30242:I
-
BY_KEY
- Mappings:
Namespace Name Mixin selector official n
Lbju;n:Ljava/util/Map;
intermediary field_18435
Lnet/minecraft/class_4139;field_18435:Ljava/util/Map;
named BY_KEY
Lnet/minecraft/village/VillageGossipType;BY_KEY:Ljava/util/Map;
-
key
- Mappings:
Namespace Name Mixin selector official i
Lbju;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
Lbju;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
Lbju;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
Lbju;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>
Lbju;<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
-
byKey
- Mappings:
Namespace Name Mixin selector official a
Lbju;a(Ljava/lang/String;)Lbju;
intermediary method_19090
Lnet/minecraft/class_4139;method_19090(Ljava/lang/String;)Lnet/minecraft/class_4139;
named byKey
Lnet/minecraft/village/VillageGossipType;byKey(Ljava/lang/String;)Lnet/minecraft/village/VillageGossipType;
-