接口 Weighted

    • 方法详细资料

      • getWeight

        Weight getWeight()
        Mappings:
        Namespace Name Mixin selector
        official a Lapy;a()Lapx;
        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;
      • of

        static <T> Weighted.Present<T> of​(T data,
                                          int weight)
        Mappings:
        Namespace Name Mixin selector
        official a Lapy;a(Ljava/lang/Object;I)Lapy$b;
        intermediary method_34980 Lnet/minecraft/class_6008;method_34980(Ljava/lang/Object;I)Lnet/minecraft/class_6008$class_6010;
        named of Lnet/minecraft/util/collection/Weighted;of(Ljava/lang/Object;I)Lnet/minecraft/util/collection/Weighted$Present;