You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1023 B
Java

package com.razz.dfashion;
import org.slf4j.Logger;
import com.mojang.logging.LogUtils;
import com.razz.dfashion.block.ClosetRegistry;
import com.razz.dfashion.cosmetic.CosmeticAttachments;
import com.razz.dfashion.skin.SkinAttachments;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.ModContainer;
import net.neoforged.fml.common.Mod;
import net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent;
@Mod(DecoFashion.MODID)
public class DecoFashion {
public static final String MODID = "decofashion";
public static final Logger LOGGER = LogUtils.getLogger();
public DecoFashion(IEventBus modEventBus, ModContainer modContainer) {
modEventBus.addListener(this::commonSetup);
CosmeticAttachments.ATTACHMENT_TYPES.register(modEventBus);
SkinAttachments.ATTACHMENT_TYPES.register(modEventBus);
ClosetRegistry.register(modEventBus);
}
private void commonSetup(FMLCommonSetupEvent event) {
LOGGER.info("DecoFashion common setup complete");
}
}