add empty listener
This commit is contained in:
		@@ -6,15 +6,21 @@ import dev.xkmc.l2core.capability.player.PlayerCapToClient;
 | 
			
		||||
import dev.xkmc.l2core.init.reg.registrate.L2Registrate;
 | 
			
		||||
import dev.xkmc.l2serial.network.PacketHandler;
 | 
			
		||||
import dev.xkmc.l2serial.serialization.custom_handler.Handlers;
 | 
			
		||||
import net.minecraft.core.HolderLookup;
 | 
			
		||||
import net.minecraft.data.DataGenerator;
 | 
			
		||||
import net.minecraft.data.PackOutput;
 | 
			
		||||
import net.minecraft.resources.ResourceLocation;
 | 
			
		||||
import net.neoforged.bus.api.IEventBus;
 | 
			
		||||
import net.neoforged.bus.api.SubscribeEvent;
 | 
			
		||||
import net.neoforged.fml.common.EventBusSubscriber;
 | 
			
		||||
import net.neoforged.fml.common.Mod;
 | 
			
		||||
import net.neoforged.neoforge.data.event.GatherDataEvent;
 | 
			
		||||
import net.neoforged.neoforge.network.event.RegisterPayloadHandlersEvent;
 | 
			
		||||
import org.apache.logging.log4j.LogManager;
 | 
			
		||||
import org.apache.logging.log4j.Logger;
 | 
			
		||||
 | 
			
		||||
import java.util.concurrent.CompletableFuture;
 | 
			
		||||
 | 
			
		||||
import static dev.xkmc.l2serial.network.PacketHandler.NetDir.PLAY_TO_CLIENT;
 | 
			
		||||
 | 
			
		||||
// The value here should match an entry in the META-INF/mods.toml file
 | 
			
		||||
@@ -34,10 +40,15 @@ public class L2Core {
 | 
			
		||||
	);
 | 
			
		||||
 | 
			
		||||
	public L2Core(IEventBus bus) {
 | 
			
		||||
		L2LibReg.register();
 | 
			
		||||
		Handlers.register();
 | 
			
		||||
		REGISTRATE.addDataGenerator(L2TagGen.EFF_TAGS, L2TagGen::onEffectTagGen);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	@SubscribeEvent
 | 
			
		||||
	public static void gatherData(GatherDataEvent event) {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public static ResourceLocation loc(String id) {
 | 
			
		||||
		return ResourceLocation.fromNamespaceAndPath(MODID, id);
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user