Package | Description |
---|---|
net.minecraft.world.storage.loot | |
net.minecraft.world.storage.loot.functions |
Modifier and Type | Class and Description |
---|---|
static class |
LootFunction.Serializer<T extends LootFunction> |
Modifier and Type | Class and Description |
---|---|
static class |
ApplyBonus.Serializer |
static class |
CopyBlockState.Serializer |
static class |
CopyName.Serializer |
static class |
CopyNbt.Serializer |
static class |
EnchantRandomly.Serializer |
static class |
EnchantWithLevels.Serializer |
static class |
ExplorationMap.Serializer |
static class |
ExplosionDecay.Serializer |
static class |
FillPlayerHead.Serializer |
static class |
LimitCount.Serializer |
static class |
LootingEnchantBonus.Serializer |
static class |
SetAttributes.Serializer |
static class |
SetContents.Serializer |
static class |
SetCount.Serializer |
static class |
SetDamage.Serializer |
static class |
SetLootTable.Serializer |
static class |
SetLore.Serializer |
static class |
SetName.Serializer |
static class |
SetNBT.Serializer |
static class |
SetStewEffect.Serializer |
static class |
Smelt.Serializer |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Class<? extends ILootFunction>,ILootFunction.Serializer<?>> |
LootFunctionManager.CLASS_TO_SERIALIZER_MAP |
private static java.util.Map<ResourceLocation,ILootFunction.Serializer<?>> |
LootFunctionManager.NAME_TO_SERIALIZER_MAP |
Modifier and Type | Method and Description |
---|---|
static <T extends ILootFunction> |
LootFunctionManager.getSerializerFor(T functionClass) |
static ILootFunction.Serializer<?> |
LootFunctionManager.getSerializerForName(ResourceLocation location) |
Modifier and Type | Method and Description |
---|---|
static <T extends ILootFunction> |
LootFunctionManager.registerFunction(ILootFunction.Serializer<? extends T> serializer) |