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

[1.11.2] Block not being textured?


xXJamie_Xx
 Share

Recommended Posts

  • Replies 62
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

1 hour ago, Kokkie said:

For items, do


ModelLoader.setCustomModelResourceLocation(ModItems.youritem, 0, new ModelResourceLocation(ModItems.youritem.getRegistryName(), "inventory"));

 

After moving my ModelLoader code, the texture for my old item that used to work, now doesn't work. Do I need to reference this in my ModBlocks.java and ModItems.java files?

 

Latest Log: https://pastebin.com/yaQSSftv

Edited by xXJamie_Xx
Link to comment
Share on other sites

1 hour ago, Jay Avery said:

You never actually call your common proxy preInit method from your main class.

 

1 hour ago, Kokkie said:

In your CommonProxy, create a preInit method, in preInit in your main class call proxy.preInit at the end of the method.

Wow. Thanks, that fixed everything :)

Link to comment
Share on other sites

21 hours ago, xXJamie_Xx said:

Hi, I understand the second point you made, the tutorial was made back in January so things have obviously changed but would you be able to elaborate on that first point though?

January?

Shit son, the ModelLoader.setCustomModelResourceLocation method has existed for over a year. That link links to the method in the blob commit that was made Jun 16, 2015, almost two years ago.

 

The tutorial you found, even though recent, is shit. Please link it so I can go tell the author that it is shit and they need to change.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

1 hour ago, Draco18s said:

January?

Shit son, the ModelLoader.setCustomModelResourceLocation method has existed for over a year. That link links to the method in the blob commit that was made Jun 16, 2015, almost two years ago.

 

The tutorial you found, even though recent, is shit. Please link it so I can go tell the author that it is shit and they need to change.

https://www.youtube.com/playlist?list=PLDhiRTZ_vnoUSS_7D78_lmVLw35dQ9asn

 

Link to comment
Share on other sites

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.

Guest
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.

 Share




  • 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
  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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