Package net.minecraft.util.collection
Class Weight
java.lang.Object
net.minecraft.util.collection.Weight
- Mappings:
Namespace Name official aqp
intermediary net/minecraft/class_6007
named net/minecraft/util/collection/Weight
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Laqp;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
Laqp;b:Laqp;
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
Laqp;c:Lorg/apache/logging/log4j/Logger;
intermediary field_29929
Lnet/minecraft/class_6007;field_29929:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/util/collection/Weight;LOGGER:Lorg/apache/logging/log4j/Logger;
-
value
private final int value- Mappings:
Namespace Name Mixin selector official d
Laqp;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>
Laqp;<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
Laqp;a(I)Laqp;
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
Laqp;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
Laqp;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
-