Java 类net.minecraft.world.storage.loot.functions.LootFunctionManager 实例源码

项目:Loot-Slash-Conquer    文件:ModLootFunctions.java   
public static void registerFunctions()
{
    LootFunctionManager.registerFunction(new CreateStats.Serializer());
    LootFunctionManager.registerFunction(new CreateSpecial.Serializer());

    LootFunctionManager.registerFunction(new CreateCommon.Serializer());
    LootFunctionManager.registerFunction(new CreateUncommon.Serializer());
    LootFunctionManager.registerFunction(new CreateRare.Serializer());
    LootFunctionManager.registerFunction(new CreateLegendary.Serializer());
    LootFunctionManager.registerFunction(new CreateExotic.Serializer());
}
项目:EnderIO    文件:Loot.java   
public static void init(@Nonnull FMLPreInitializationEvent event) {
  LootFunctionManager.registerFunction(new LootSelector.Serializer());
  LootFunctionManager.registerFunction(new SetRandomEnergy.Serializer());
  LootFunctionManager.registerFunction(new SetRandomDarkUpgrade.Serializer());
  AnvilCapacitorRecipe.create();
}