Class AbstractModInitializer

java.lang.Object
com.refinedmods.refinedstorage.common.AbstractModInitializer

public abstract class AbstractModInitializer extends Object
  • Constructor Details

    • AbstractModInitializer

      public AbstractModInitializer()
  • Method Details

    • initializePlatformApi

      protected final void initializePlatformApi()
    • registerBlocks

      protected final void registerBlocks(RegistryCallback<net.minecraft.world.level.block.Block> callback, BlockEntityProviders blockEntityProviders)
    • registerItems

      protected final void registerItems(RegistryCallback<net.minecraft.world.item.Item> callback)
    • registerUpgradeMappings

      protected final void registerUpgradeMappings()
    • registerBlockEntities

      protected final void registerBlockEntities(RegistryCallback<net.minecraft.world.level.block.entity.BlockEntityType<?>> callback, BlockEntityTypeFactory typeFactory, BlockEntityProviders providers)
    • registerMenus

      protected final void registerMenus(RegistryCallback<net.minecraft.world.inventory.MenuType<?>> callback, MenuTypeFactory menuTypeFactory, ExtendedMenuTypeFactory extendedMenuTypeFactory)
    • registerLootFunctions

      protected final void registerLootFunctions(RegistryCallback<net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<?>> callback)
    • registerSounds

      protected final void registerSounds(RegistryCallback<net.minecraft.sounds.SoundEvent> callback)
    • registerRecipeSerializers

      protected final void registerRecipeSerializers(RegistryCallback<net.minecraft.world.item.crafting.RecipeSerializer<?>> callback)
    • registerDataComponents

      protected final void registerDataComponents(RegistryCallback<net.minecraft.core.component.DataComponentType<?>> callback)
    • registerInventorySlotReference

      protected final void registerInventorySlotReference()
    • allowComponentsUpdateAnimation

      protected static boolean allowComponentsUpdateAnimation(net.minecraft.world.item.ItemStack oldStack, net.minecraft.world.item.ItemStack newStack)