Package net.minecraft.util.collection
Class Weighted.Present<T>
java.lang.Object
net.minecraft.util.collection.Weighted.Present<T>
- All Implemented Interfaces:
Weighted
- Enclosing interface:
- Weighted
- Mappings:
Namespace Name official aud$b
intermediary net/minecraft/class_6008$class_6010
named net/minecraft/util/collection/Weighted$Present
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.collection.Weighted
Weighted.Absent, Weighted.Present<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<Weighted.Present<E>>
createCodec
(com.mojang.serialization.Codec<E> dataCodec) getData()
-
Field Details
-
data
- Mappings:
Namespace Name Mixin selector official a
Laud$b;a:Ljava/lang/Object;
intermediary field_29932
Lnet/minecraft/class_6008$class_6010;field_29932:Ljava/lang/Object;
named data
Lnet/minecraft/util/collection/Weighted$Present;data:Ljava/lang/Object;
-
weight
- Mappings:
Namespace Name Mixin selector official b
Laud$b;b:Lauc;
intermediary field_29933
Lnet/minecraft/class_6008$class_6010;field_29933:Lnet/minecraft/class_6007;
named weight
Lnet/minecraft/util/collection/Weighted$Present;weight:Lnet/minecraft/util/collection/Weight;
-
-
Constructor Details
-
Present
- Mappings:
Namespace Name Mixin selector official <init>
Laud$b;<init>(Ljava/lang/Object;Lauc;)V
intermediary <init>
Lnet/minecraft/class_6008$class_6010;<init>(Ljava/lang/Object;Lnet/minecraft/class_6007;)V
named <init>
Lnet/minecraft/util/collection/Weighted$Present;<init>(Ljava/lang/Object;Lnet/minecraft/util/collection/Weight;)V
-
-
Method Details
-
getData
- Mappings:
Namespace Name Mixin selector official b
Laud$b;b()Ljava/lang/Object;
intermediary method_34983
Lnet/minecraft/class_6008$class_6010;method_34983()Ljava/lang/Object;
named getData
Lnet/minecraft/util/collection/Weighted$Present;getData()Ljava/lang/Object;
-
getWeight
- Specified by:
getWeight
in interfaceWeighted
- Mappings:
Namespace Name Mixin selector official a
Laud;a()Lauc;
intermediary method_34979
Lnet/minecraft/class_6008;method_34979()Lnet/minecraft/class_6007;
named getWeight
Lnet/minecraft/util/collection/Weighted;getWeight()Lnet/minecraft/util/collection/Weight;
-
createCodec
public static <E> com.mojang.serialization.Codec<Weighted.Present<E>> createCodec(com.mojang.serialization.Codec<E> dataCodec) - Mappings:
Namespace Name Mixin selector official a
Laud$b;a(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
intermediary method_34981
Lnet/minecraft/class_6008$class_6010;method_34981(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
named createCodec
Lnet/minecraft/util/collection/Weighted$Present;createCodec(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
-