Class AbstractModInitializer
java.lang.Object
com.refinedmods.refinedstorage.common.AbstractModInitializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
allowComponentsUpdateAnimation
(net.minecraft.world.item.ItemStack oldStack, net.minecraft.world.item.ItemStack newStack) protected final void
protected final void
registerBlockEntities
(RegistryCallback<net.minecraft.world.level.block.entity.BlockEntityType<?>> callback, BlockEntityTypeFactory typeFactory, BlockEntityProviders providers) protected final void
registerBlocks
(RegistryCallback<net.minecraft.world.level.block.Block> callback, BlockEntityProviders blockEntityProviders) protected final void
registerDataComponents
(RegistryCallback<net.minecraft.core.component.DataComponentType<?>> callback) protected final void
protected final void
registerItems
(RegistryCallback<net.minecraft.world.item.Item> callback) protected final void
registerLootFunctions
(RegistryCallback<net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<?>> callback) protected final void
registerMenus
(RegistryCallback<net.minecraft.world.inventory.MenuType<?>> callback, MenuTypeFactory menuTypeFactory, ExtendedMenuTypeFactory extendedMenuTypeFactory) protected final void
registerRecipeSerializers
(RegistryCallback<net.minecraft.world.item.crafting.RecipeSerializer<?>> callback) protected final void
registerSounds
(RegistryCallback<net.minecraft.sounds.SoundEvent> callback) protected final void
-
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
-
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
-
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)
-