Skip to content

Commit

Permalink
fix leftovers of FMLJavaModLoadingContext
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabeHunger54 committed Dec 14, 2023
1 parent 44f4e96 commit 59049c3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static <T extends BlockEntity> Supplier<BlockEntityType<T>> register(String name
}

/**
* Empty method, called by {@link BCRegistries#init()} to classload this class.
* Empty method, called by {@link BCRegistries#init(net.neoforged.bus.api.IEventBus)} to classload this class.
*/
static void init() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static <T extends Block> WoodTypeDeferredHolder<Block, T> woodenBlock(String suf
}

/**
* Empty method, called by {@link BCRegistries#init()} to classload this class.
* Empty method, called by {@link BCRegistries#init(net.neoforged.bus.api.IEventBus)} to classload this class.
*/
static void init() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public interface BCCreativeTabs {

/**
* Helper method to add all {@link ItemLike}s in a list to a creative tab.
*
* @param output The {@link CreativeModeTab.Output} to add the elements to.
* @param list A list of {@link ItemLike}s to add to the {@link CreativeModeTab.Output}.
*/
Expand All @@ -36,7 +37,7 @@ private static void addToTab(CreativeModeTab.Output output, Collection<? extends
}

/**
* Empty method, called by {@link BCRegistries#init()} to classload this class.
* Empty method, called by {@link BCRegistries#init(net.neoforged.bus.api.IEventBus)} to classload this class.
*/
static void init() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public interface BCEntities {
Supplier<EntityType<FancyArmorStandEntity>> FANCY_ARMOR_STAND = BCRegistries.ENTITIES.register("fancy_armor_stand", () -> EntityType.Builder.<FancyArmorStandEntity>of(FancyArmorStandEntity::new, MobCategory.MISC).noSummon().build("fancy_armor_stand"));

/**
* Empty method, called by {@link BCRegistries#init()} to classload this class.
* Empty method, called by {@link BCRegistries#init(net.neoforged.bus.api.IEventBus)} to classload this class.
*/
static void init() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static WoodTypeDeferredHolder<Item, BlockItem> woodenBlock(String name, WoodType
}

/**
* Empty method, called by {@link BCRegistries#init()} to classload this class.
* Empty method, called by {@link BCRegistries#init(net.neoforged.bus.api.IEventBus)} to classload this class.
*/
static void init() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public interface BCMenus {
Supplier<MenuType<ToolRackMenu>> TOOL_RACK = BCRegistries.MENUS.register("tool_rack", () -> IMenuTypeExtension.create(ToolRackMenu::new));

/**
* Empty method, called by {@link BCRegistries#init()} to classload this class.
* Empty method, called by {@link BCRegistries#init(net.neoforged.bus.api.IEventBus)} to classload this class.
*/
static void init() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.level.block.entity.BlockEntityType;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.javafmlmod.FMLJavaModLoadingContext;
import net.neoforged.neoforge.registries.DeferredRegister;

public interface BCRegistries {
Expand Down

0 comments on commit 59049c3

Please sign in to comment.