Class CommonProxy

java.lang.Object
com.pixelmonmod.pixelmon.CommonProxy

public class CommonProxy extends Object
  • Constructor Details

    • CommonProxy

      public CommonProxy()
  • Method Details

    • init

      public static void init(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event)
    • onConfigTaskCollect

      public static void onConfigTaskCollect(net.minecraftforge.event.network.GatherLoginConfigurationTasksEvent event)
    • registerInteractions

      public static void registerInteractions()
      Registers Pixelmon player interactions.
    • resourceLocationExists

      public static boolean resourceLocationExists(net.minecraft.resources.ResourceLocation resourceLocation)
      Checks whether there is a resource at the given location.
      Parameters:
      resourceLocation - The file path to check.
      Returns:
      Whether there is a resource at the given location.
    • getStreamForResourceLocation

      public static BufferedInputStream getStreamForResourceLocation(net.minecraft.resources.ResourceLocation resourceLocation)
      Creates a new input stream at the specified file path.
      Parameters:
      resourceLocation - The file path to get the input stream from.
      Returns:
      A new input stream from the file path.
    • spawnEntitySafely

      public static void spawnEntitySafely(net.minecraft.world.entity.Entity entity, net.minecraft.world.level.Level worldObj)
    • loadDefaultMoveSkills

      public static List<MoveSkill> loadDefaultMoveSkills()
    • onMissingRegistry

      public static void onMissingRegistry(net.minecraftforge.registries.MissingMappingsEvent event)