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