2023-03-30 17:19:42 +02:00
|
|
|
/*
|
|
|
|
|
* -------------------------------------------------------------------------------
|
|
|
|
|
* @author FalsePattern
|
|
|
|
|
*
|
|
|
|
|
* Copyright 2023
|
|
|
|
|
*
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
* Distribution of the software in any form is only allowed with
|
|
|
|
|
* explicit, prior permission from the owner.
|
|
|
|
|
* -------------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
2023-03-09 21:44:17 +01:00
|
|
|
package com.falsepattern.chunk.internal;
|
|
|
|
|
|
2023-03-28 23:58:39 +02:00
|
|
|
import com.falsepattern.chunk.api.ChunkDataRegistry;
|
|
|
|
|
import com.falsepattern.chunk.internal.vanilla.BiomeManager;
|
|
|
|
|
import com.falsepattern.chunk.internal.vanilla.BlockIDManager;
|
|
|
|
|
import com.falsepattern.chunk.internal.vanilla.BlocklightManager;
|
|
|
|
|
import com.falsepattern.chunk.internal.vanilla.MetadataManager;
|
|
|
|
|
import com.falsepattern.chunk.internal.vanilla.SkylightManager;
|
2023-03-09 21:44:17 +01:00
|
|
|
|
|
|
|
|
import cpw.mods.fml.common.Mod;
|
2023-03-28 23:58:39 +02:00
|
|
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
2023-03-09 21:44:17 +01:00
|
|
|
|
|
|
|
|
@Mod(modid = Tags.MODID,
|
|
|
|
|
version = Tags.VERSION,
|
|
|
|
|
name = Tags.MODNAME,
|
|
|
|
|
acceptedMinecraftVersions = "[1.7.10]",
|
|
|
|
|
dependencies = "required-after:falsepatternlib@[0.10.15,);")
|
|
|
|
|
public class ChunkAPI {
|
2023-03-28 23:58:39 +02:00
|
|
|
|
2023-03-09 21:44:17 +01:00
|
|
|
@Mod.EventHandler
|
2023-03-30 17:37:31 +02:00
|
|
|
public void init(FMLInitializationEvent event) {
|
2023-03-28 23:58:39 +02:00
|
|
|
ChunkDataRegistry.registerDataManager(new BlockIDManager());
|
|
|
|
|
ChunkDataRegistry.registerDataManager(new MetadataManager());
|
|
|
|
|
ChunkDataRegistry.registerDataManager(new BlocklightManager());
|
|
|
|
|
ChunkDataRegistry.registerDataManager(new SkylightManager());
|
|
|
|
|
ChunkDataRegistry.registerDataManager(new BiomeManager());
|
2023-03-09 21:44:17 +01:00
|
|
|
}
|
|
|
|
|
}
|