From 848075f02852f1be9d444fe69787e456602e2c21 Mon Sep 17 00:00:00 2001 From: Faboslav Date: Fri, 27 Sep 2024 09:00:37 +0200 Subject: [PATCH] Added missing events --- .../com/faboslav/friendsandfoes/common/FriendsAndFoes.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/src/main/java/com/faboslav/friendsandfoes/common/FriendsAndFoes.java b/common/src/main/java/com/faboslav/friendsandfoes/common/FriendsAndFoes.java index e88f8ba4..a8901fe6 100644 --- a/common/src/main/java/com/faboslav/friendsandfoes/common/FriendsAndFoes.java +++ b/common/src/main/java/com/faboslav/friendsandfoes/common/FriendsAndFoes.java @@ -3,6 +3,8 @@ import com.faboslav.friendsandfoes.common.api.MoobloomVariantManager; import com.faboslav.friendsandfoes.common.config.FriendsAndFoesConfig; import com.faboslav.friendsandfoes.common.config.omegaconfig.OmegaConfig; +import com.faboslav.friendsandfoes.common.events.AddItemGroupEntriesEvent; +import com.faboslav.friendsandfoes.common.events.block.RegisterBlockSetTypeEvent; import com.faboslav.friendsandfoes.common.events.entity.RegisterVillagerTradesEvent; import com.faboslav.friendsandfoes.common.events.item.RegisterBrewingRecipesEvent; import com.faboslav.friendsandfoes.common.events.lifecycle.*; @@ -47,6 +49,7 @@ public static void init() { RegisterReloadListenerEvent.EVENT.addListener(FriendsAndFoes::registerServerDataListeners); SetupEvent.EVENT.addListener(FriendsAndFoes::setup); DatapackSyncEvent.EVENT.addListener(MoobloomVariantsSyncPacket::sendToClient); + RegisterBlockSetTypeEvent.EVENT.addListener(FriendsAndFoesBlockSetTypes::registerBlockSetTypes); RegisterFlammabilityEvent.EVENT.addListener(FriendsAndFoesBlocks::registerFlammablity); RegisterEntityAttributesEvent.EVENT.addListener(FriendsAndFoesEntityTypes::registerEntityAttributes); RegisterEntitySpawnRestrictionsEvent.EVENT.addListener(FriendsAndFoesEntityTypes::registerEntitySpawnRestrictions); @@ -54,6 +57,7 @@ public static void init() { RegisterBrewingRecipesEvent.EVENT.addListener(FriendsAndFoesRecipes::registerBrewingRecipes); RegisterVillagerTradesEvent.EVENT.addListener(FriendsAndFoesVillagerProfessions::registerVillagerTrades); SetupEvent.EVENT.addListener(DispenserAddedSpawnEgg::onSetup); + AddItemGroupEntriesEvent.EVENT.addListener(FriendsAndFoesItemGroups::addItemGroupEntries); FriendsAndFoesActivities.ACTIVITIES.init(); FriendsAndFoesArmorMaterials.ARMOR_MATERIALS.init();