Package | Description |
---|---|
net.minecraft.world.storage.loot | |
net.minecraft.world.storage.loot.functions |
Modifier and Type | Field and Description |
---|---|
protected LootFunction[] |
LootEntryItem.functions |
Constructor and Description |
---|
LootEntryItem(Item itemIn,
int weightIn,
int qualityIn,
LootFunction[] functionsIn,
LootCondition[] conditionsIn,
java.lang.String entryName) |
Modifier and Type | Class and Description |
---|---|
static class |
LootFunction.Serializer<T extends LootFunction> |
Modifier and Type | Class and Description |
---|---|
class |
EnchantRandomly |
class |
EnchantWithLevels |
class |
LootingEnchantBonus |
class |
SetAttributes |
class |
SetCount |
class |
SetDamage |
class |
SetMetadata |
class |
SetNBT |
class |
Smelt |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Class<? extends LootFunction>,LootFunction.Serializer<?>> |
LootFunctionManager.CLASS_TO_SERIALIZER_MAP |
Modifier and Type | Method and Description |
---|---|
static <T extends LootFunction> |
LootFunctionManager.getSerializerFor(T functionClass) |
static <T extends LootFunction> |
LootFunctionManager.registerFunction(LootFunction.Serializer<? extends T> serializer) |
Modifier and Type | Method and Description |
---|---|
LootFunction |
LootFunctionManager.Serializer.deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
LootFunctionManager.Serializer.serialize(LootFunction p_serialize_1_,
java.lang.reflect.Type p_serialize_2_,
com.google.gson.JsonSerializationContext p_serialize_3_) |