Package net.minecraft.loot.function
Class ApplyBonusLootFunction.OreDrops
java.lang.Object
net.minecraft.loot.function.ApplyBonusLootFunction.OreDrops
- All Implemented Interfaces:
ApplyBonusLootFunction.Formula
- Enclosing class:
- ApplyBonusLootFunction
static final class ApplyBonusLootFunction.OreDrops extends Object implements ApplyBonusLootFunction.Formula
- Mappings:
Namespace Name official dfh$d
intermediary net/minecraft/class_94$class_98
named net/minecraft/loot/function/ApplyBonusLootFunction$OreDrops
-
Field Summary
Fields Modifier and Type Field Description static Identifier
ID
-
Constructor Summary
Constructors Modifier Constructor Description private
OreDrops()
-
Method Summary
Modifier and Type Method Description static ApplyBonusLootFunction.Formula
fromJson(JsonObject json, JsonDeserializationContext context)
Identifier
getId()
int
getValue(Random random, int initialCount, int enchantmentLevel)
void
toJson(JsonObject json, JsonSerializationContext context)
-
Field Details
-
ID
- Mappings:
Namespace Name Mixin selector official a
Ldfh$d;a:Lwb;
intermediary field_1015
Lnet/minecraft/class_94$class_98;field_1015:Lnet/minecraft/class_2960;
named ID
Lnet/minecraft/loot/function/ApplyBonusLootFunction$OreDrops;ID:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
OreDrops
private OreDrops()
-
-
Method Details
-
getValue
- Specified by:
getValue
in interfaceApplyBonusLootFunction.Formula
- Mappings:
Namespace Name Mixin selector official a
Ldfh$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
- Specified by:
toJson
in interfaceApplyBonusLootFunction.Formula
- Mappings:
Namespace Name Mixin selector official a
Ldfh$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
-
fromJson
public static ApplyBonusLootFunction.Formula fromJson(JsonObject json, JsonDeserializationContext context)- Mappings:
Namespace Name Mixin selector official a
Ldfh$d;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldfh$b;
intermediary method_468
Lnet/minecraft/class_94$class_98;method_468(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_94$class_96;
named fromJson
Lnet/minecraft/loot/function/ApplyBonusLootFunction$OreDrops;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;
-
getId
- Specified by:
getId
in interfaceApplyBonusLootFunction.Formula
- Mappings:
Namespace Name Mixin selector official a
Ldfh$b;a()Lwb;
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;
-