Skip to content

Commit

Permalink
Fix creative tab not registering
Browse files Browse the repository at this point in the history
  • Loading branch information
stal111 committed Aug 9, 2023
1 parent f7965bf commit 16852ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ModCreativeModeTabs implements RegistryClass {

public static final RegistryEntry<CreativeModeTab> MAIN = HELPER.register("main", CreativeTabFactory.create(builder -> {
builder.icon(() -> new ItemStack(ModBlocks.HEPHAESTUS_FORGE.get()))
.title(Component.translatable("itemGroup.valhelsia_furniture"))
.title(Component.translatable("itemGroup.forbidden_arcanus"))
.displayItems((itemDisplayParameters, output) -> {
ForbiddenArcanus.REGISTRY_MANAGER.getItemHelper().getRegistryEntries().forEach(entry -> {
output.accept(entry.get());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ protected void collectHelpers() {
this.addMappedHelper(FARegistries.ENHANCER_EFFECT, ModEnhancerEffects::new);
this.addMappedHelper(FARegistries.ENHANCER_EFFECT_CONDITION, ModEnhancerEffectConditions::new);
this.addMappedHelper(FARegistries.FORGE_INPUT_TYPE, ModForgeInputTypes::new);
this.addMappedHelper(Registries.CREATIVE_MODE_TAB, ModCreativeModeTabs::new);

this.addDatapackHelper(Registries.STRUCTURE, ModStructures::new);
this.addDatapackHelper(Registries.STRUCTURE_SET, ModStructureSets::new);
Expand Down

0 comments on commit 16852ab

Please sign in to comment.