Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Trouble with Cadiboo's example mod.


Recommended Posts

Will this work?

for (String color : Reference.colors) {
                    setup(new ConcreteA(), "a_concrete_" + color),
                    setup(new ConcreteB(), "b_concrete_" + color),
                    setup(new ConcreteC(), "c_concrete_" + color),
                    setup(new ConcreteD(), "d_concrete_" + color),
                    setup(new ConcreteE(), "e_concrete_" + color),
                    setup(new ConcreteF(), "f_concrete_" + color),
                    setup(new ConcreteG(), "g_concrete_" + color),
                    setup(new ConcreteH(), "h_concrete_" + color),
                    setup(new ConcreteI(), "i_concrete_" + color),
                    setup(new ConcreteJ(), "j_concrete_" + color),
                    setup(new ConcreteK(), "k_concrete_" + color),
                    setup(new ConcreteL(), "l_concrete_" + color),
                    setup(new ConcreteM(), "m_concrete_" + color),
                    setup(new ConcreteN(), "n_concrete_" + color),
                    setup(new ConcreteO(), "o_concrete_" + color),
                    setup(new ConcreteP(), "p_concrete_" + color),
                    setup(new ConcreteQ(), "q_concrete_" + color),
                    setup(new ConcreteR(), "r_concrete_" + color),
                    setup(new ConcreteS(), "s_concrete_" + color),
                    setup(new ConcreteT(), "t_concrete_" + color),
                    setup(new ConcreteU(), "u_concrete_" + color),
                    setup(new ConcreteV(), "v_concrete_" + color),
                    setup(new ConcreteW(), "w_concrete_" + color),
                    setup(new ConcreteX(), "x_concrete_" + color),
                    setup(new ConcreteY(), "y_concrete_" + color),
                    setup(new ConcreteZ(), "z_concrete_" + color)


public static final String[] colors = new String[] {

Also what about my GlassCutter s? i cant call registerItemModel with it without my game crashing due to a null error

Edited by DiamondMiner88
Link to comment
Share on other sites

  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

I explicitly left automating itemblock and model registration out of my 1.12.2 example mod, it’s still in there though just commented out in one of the registration loops (the models IIRC)

About Me


My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Those three errors are what is making the IRCE return null and kicking them. Not sure what more the debug log will give but at least you know for sure the issue is happening when those three functions try to run. So process of deduction.
    • [Info: 2022-01-23 01:21:36.6133870: Xal.lib(0)] XAL: <<< Xal::Auth::InMemoryXboxTokenCache::GetTokenInternal (000085C2AB6FB370) [Info: 2022-01-23 01:21:36.6159390: Xal.lib(0)] XAL: [op 285139008] Refresh Xtoken running with user: true. [Info: 2022-01-23 01:21:36.6166694: Xal.lib(0)] XAL: [op 285139008] Operation RefreshXtoken is starting [Info: 2022-01-23 01:21:36.6176117: Xal.lib(0)] XAL: [op 285139008]     with CV '9/gCxFwybu+GIYtd.14.95' [Info: 2022-01-23 01:21:36.6179699: Xal.lib(0)] XAL: [op 285139008] RefreshXtoken token fetch started. [Info: 2022-01-23 01:21:36.6560585: NetQueue.cpp(601)] NetQueue: No connection available for https://sentry.io/api/2703928/store/ [Error: 2022-01-23 01:21:36.6562804: SentryAPI.cpp(124)] 0 No network connection available [Info: 2022-01-23 01:21:36.6565318: NetQueue.cpp(601)] NetQueue: No connection available for xsts.auth.xboxlive.com [Error: 2022-01-23 01:21:36.8822268: Xal.lib(0)] XAL: Http request 0C18B300 failed with 0x89235006, system error code 0, message:  [Warning: 2022-01-23 01:21:36.8868846: Xal.lib(0)] XAL: [op 285139008] Operation RefreshXtoken failed with result: 0x89235106 - Network error [Warning: 2022-01-23 01:21:36.8885727: Xal.lib(0)] XAL: [op 295548488] Operation GetXtoken failed with result: 0x89235106 - Network error [Warning: 2022-01-23 01:21:36.8968640: Xal.lib(0)] XAL: [op 258947712] Operation GetTokenAndSignature failed with result: 0x89235106 - Network error [Warning: 2022-01-23 01:21:36.8993100: Xal.lib(0)] XAL: GetTokenAndSignature for presence heartbeat failed with Network error (0x89235106)
    • Did you ever find a resolution?  I know that io.netty.util.IllegalReferenceCountException: refCnt: 0 is used as a way to check/validate functions.  I have yet to understand where there is "0" count. We don't have the issue ever on Val 3 only issue that arrises there is.. lets not go there. Anyway I was curious if you had any info in your research, thanks again!
    • I added it like this main private void doClientStuff(final FMLClientSetupEvent event) { event.enqueueWork(() -> { OverlayRegistry.registerOverlayBelow(ForgeIngameGui.FOOD_LEVEL_ELEMENT , "Mana", new ManaOverlay()); }); } But it's not working.   I feel that you don't understand about main... I'll try to find it.
    • Mc Version: 1.17.1 Forge: 37.1.1 Eclipse: 2021-06 new BlockItem(BlockInit.COMPRESSED_SOULS_BLOCK.get(), new Item(new Item.Properties().tab(CreativeModeTab.TAB_MISC))   When I hover over the line, eclipse says that the constructer BlockItem(Block, Item) is not defined
  • Topics

  • Who's Online (See full list)

  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.