接口 ApplyBonusLootFunction.Formula

    • 方法详细资料

      • getValue

        int getValue​(Random random,
                     int initialCount,
                     int enchantmentLevel)
        Mappings:
        Namespace Name Mixin selector
        official a Ldio$b;a(Ljava/util/Random;II)I
        intermediary method_467 Lnet/minecraft/class_94$class_96;method_467(Ljava/util/Random;II)I
        named getValue Lnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;getValue(Ljava/util/Random;II)I
      • toJson

        void toJson​(JsonObject json,
                    JsonSerializationContext context)
        Mappings:
        Namespace Name Mixin selector
        official a Ldio$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonSerializationContext;)V
        intermediary method_465 Lnet/minecraft/class_94$class_96;method_465(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonSerializationContext;)V
        named toJson Lnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;toJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonSerializationContext;)V
      • getId

        Identifier getId()
        Mappings:
        Namespace Name Mixin selector
        official a Ldio$b;a()Lwp;
        intermediary method_466 Lnet/minecraft/class_94$class_96;method_466()Lnet/minecraft/class_2960;
        named getId Lnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;getId()Lnet/minecraft/util/Identifier;