Class PetsClientInitializer

java.lang.Object
com.jeff.pets.client.PetsClientInitializer

public class PetsClientInitializer extends Object
Another initializer class. This class does a couple of things:

- Assigns renderers to the entities defined in PetsInitializer

- Bakes models into the layers

- Creates the keybind to open the config screen, by default p

Suppresses: Deprecation warnings, as EntityRenderers is marked as deprecated. I will likely have to find a suitable replacement sometime, but for now, suppressing the warnings will work.

See Also:
  • Field Details

    • ADDONS

      public static List<String> ADDONS
    • openConfigScreen

      public static net.minecraft.client.KeyMapping openConfigScreen
  • Constructor Details

    • PetsClientInitializer

      public PetsClientInitializer(net.neoforged.bus.api.IEventBus bus)
      Misc rendering stuff
  • Method Details

    • printAddons

      public static void printAddons(net.neoforged.fml.event.lifecycle.FMLClientSetupEvent event)