Skip to content

Commit

Permalink
Merge branch '1.21.1'
Browse files Browse the repository at this point in the history
* 1.21.1:
  Added missing events
  • Loading branch information
Faboslav committed Sep 27, 2024
2 parents f696f1a + 0e3b49f commit f1aa84c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;
Expand Down Expand Up @@ -47,13 +49,15 @@ 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);
AddSpawnBiomeModificationsEvent.EVENT.addListener(FriendsAndFoesEntityTypes::addSpawnBiomeModifications);
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();
Expand Down

0 comments on commit f1aa84c

Please sign in to comment.