content: package com.github.alexthe666.iceandfire;
  
  import com.github.alexthe666.iceandfire.config.BiomeConfig;
  import com.github.alexthe666.iceandfire.config.ConfigHolder;
  import com.github.alexthe666.iceandfire.entity.EntityDragonBase;
  import com.github.alexthe666.iceandfire.entity.util.IHasCustomizableAttributes;
  import com.github.alexthe666.iceandfire.entity.util.MyrmexHive;
  import com.github.alexthe666.iceandfire.enums.EnumParticles;
  import com.github.alexthe666.iceandfire.event.ServerEvents;
  import net.minecraft.core.BlockPos;
  import net.minecraft.core.Direction;
  import net.minecraft.world.entity.Entity;
  import net.minecraft.world.entity.player.Player;
  import net.minecraft.world.item.ItemStack;
  import net.minecraft.world.level.block.entity.BlockEntity;
  import net.minecraftforge.common.MinecraftForge;
  import net.minecraftforge.eventbus.api.SubscribeEvent;
  import net.minecraftforge.fml.common.Mod;
  import net.minecraftforge.fml.config.ModConfig;
  import net.minecraftforge.fml.event.config.ModConfigEvent;
  
  
  @Mod.EventBusSubscriber(modid = IceAndFire.MODID, bus = Mod.EventBusSubscriber.Bus.MOD)
  public class CommonProxy {
  
      @SubscribeEvent
      public static void onModConfigEvent(final ModConfigEvent.Loading event) {
          final ModConfig config = event.getConfig();
          // Rebake the configs when they change
          if (config.getSpec() == ConfigHolder.CLIENT_SPEC) {
              IafConfig.bakeClient(config);
          } else if (config.getSpec() == ConfigHolder.SERVER_SPEC) {
              // We only need to initialize the biome config on the server
              BiomeConfig.init();
              IafConfig.bakeServer(config);
          }
      }
  
      @SubscribeEvent
      public static void onModConfigChanged(final ModConfigEvent.Reloading event) {
          final ModConfig config = event.getConfig();
          // In case we reload the config clear the attribute cache to allow for values to be modified
          if (config.getSpec() == ConfigHolder.SERVER_SPEC) {
              IHasCustomizableAttributes.ATTRIBUTE_MODIFIER_MAP.clear();
          }
      }
  
      public void setReferencedHive(MyrmexHive hive) {
  
      }
  
      public void preInit() {
  
      }
  
      public void init() {
  
      }
  
      public void postInit() {
      }
  
      public void spawnParticle(EnumParticles name, double x, double y, double z, double motX, double motY, double motZ) {
          spawnParticle(name, x, y, z, motX, motY, motZ, 1.0F);
      }
  
      public void spawnDragonParticle(EnumParticles name, double x, double y, double z, double motX, double motY, double motZ, EntityDragonBase entityDragonBase) {
      }
  
      public void spawnParticle(EnumParticles name, double x, double y, double z, double motX, double motY, double motZ, float size) {
      }
  
      public void openBestiaryGui(ItemStack book) {
      }
  
      public void openMyrmexStaffGui(ItemStack staff) {
      }
  
      public Object getFontRenderer() {
          return null;
      }
  
      public int getDragon3rdPersonView() {
          return 0;
      }
  
      public void setDragon3rdPersonView(int view) {
      }
  
      public void openMyrmexAddRoomGui(ItemStack staff, BlockPos pos, Direction facing) {
      }
  
      public int getPreviousViewType() {
          return 0;
      }
  
      public void setPreviousViewType(int view) {
      }
  
      public void updateDragonArmorRender(String clear) {
      }
  
      public boolean shouldSeeBestiaryContents() {
          return true;
      }
  
      public Entity getReferencedMob() {
          return null;
      }
  
      public void setReferencedMob(Entity dragonBase) {
      }
  
      public BlockEntity getRefrencedTE() {
          return null;
      }
  
      public void setRefrencedTE(BlockEntity tileEntity) {
      }
  
      public Player getClientSidePlayer() {
          return null;
      }
  
      public void setup() {
          MinecraftForge.EVENT_BUS.register(new ServerEvents());
      }
  
      public void clientInit() {
      }
  }
  