Package net.minecraft.util.collection
Class Weight
java.lang.Object
net.minecraft.util.collection.Weight
- Mappings:
Namespace Name official ayu
intermediary net/minecraft/class_6007
named net/minecraft/util/collection/Weight
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Layu;a:Lcom/mojang/serialization/Codec;
intermediary field_29927
Lnet/minecraft/class_6007;field_29927:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/util/collection/Weight;CODEC:Lcom/mojang/serialization/Codec;
-
DEFAULT
- Mappings:
Namespace Name Mixin selector official b
Layu;b:Layu;
intermediary field_29928
Lnet/minecraft/class_6007;field_29928:Lnet/minecraft/class_6007;
named DEFAULT
Lnet/minecraft/util/collection/Weight;DEFAULT:Lnet/minecraft/util/collection/Weight;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official c
Layu;c:Lorg/slf4j/Logger;
intermediary field_29929
Lnet/minecraft/class_6007;field_29929:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/util/collection/Weight;LOGGER:Lorg/slf4j/Logger;
-
value
private final int value- Mappings:
Namespace Name Mixin selector official d
Layu;d:I
intermediary field_29930
Lnet/minecraft/class_6007;field_29930:I
named value
Lnet/minecraft/util/collection/Weight;value:I
-
-
Constructor Details
-
Weight
private Weight(int weight) - Mappings:
Namespace Name Mixin selector official <init>
Layu;<init>(I)V
intermediary <init>
Lnet/minecraft/class_6007;<init>(I)V
named <init>
Lnet/minecraft/util/collection/Weight;<init>(I)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Layu;a(I)Layu;
intermediary method_34977
Lnet/minecraft/class_6007;method_34977(I)Lnet/minecraft/class_6007;
named of
Lnet/minecraft/util/collection/Weight;of(I)Lnet/minecraft/util/collection/Weight;
-
getValue
public int getValue()- Mappings:
Namespace Name Mixin selector official a
Layu;a()I
intermediary method_34976
Lnet/minecraft/class_6007;method_34976()I
named getValue
Lnet/minecraft/util/collection/Weight;getValue()I
-
validate
private static void validate(int weight) - Mappings:
Namespace Name Mixin selector official b
Layu;b(I)V
intermediary method_34978
Lnet/minecraft/class_6007;method_34978(I)V
named validate
Lnet/minecraft/util/collection/Weight;validate(I)V
-
toString
-
hashCode
public int hashCode() -
equals
-