Jump to content

Graphical x-ray background using forge 1.8.9 with my resourcepack


Norzeteus

Recommended Posts

Hello mates!

 

I don`t know, if I'm right here. I created a Space-resourcepack with some 3D objects a while ago and it works fine with Optifine. So now I wanted to extend this pack,making some mods to add some blocks and stuff etc. But when I`ll use my pack with forge, the 3D objects get x-ray background (I retextured stairs for this models).Ok,it will be

cullface,but why does it work in Vanilla and makes x-ray in forge? Does somebody know,how to fix this problem?

I add some images, one in Vanilla and one with forge

 

 

Don't blame me if i always ask for your help. I just want to learn to be better....

Link to comment
Share on other sites

Minecraft assumes that every block is an opaque cube unless told otherwise (i.e. the block overrides

Block#isOpaqueCube

to return

false

). Minecraft won't render a block face if it's being covered by an opaque cube, because the player wouldn't be able to see it anyway.

 

Minecraft doesn't actually analyse models to determine if they're opaque cubes, so you get this x-ray effect when you use a custom model that isn't an opaque cube for a block that Minecraft thinks is one.

 

I don't know what OptiFine's doing behind the scenes, it's possible that it analyses models instead of relying on

Block#isOpaqueCube

.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Ok, I´ll understand this, But why does it WORK in Vanilla (also without Optifine,it´s be used for CTM textures) and forge makes glitches?

 

If it works in vanilla without OptiFine or any other mod, I'm not too sure what's going on. I assumed the face culling based on

Block#isOpaqueCube

was vanilla behaviour.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Sadly you have to follow the basic rules that are put in place for blocks.

The reason it 'bugs' out in Forge is because we treat stairs {and slabs, and other blocks} correctly allowing for the proper sides that are solid to be detected as solid.

This is what allows us to let torches stay on the sides of stairs, or to have mods have covers that are treated as solid. Things like that.

There may be a way to trick it into not doing this by making the solid block you're placing against not have any cull faces but that would be a waste for the rest of the world.

I would just say, even tho that model looks cool, you need to keep some semblance of the same shapes as vanilla.

Else your torches would look weird when placed on them as well.

 

Remember that Minecraft knows about the blocks in code, and nothing about resources can change what the game thinks the blocks are shaped as.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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

    • Seemingly fixed, I had to delete the advancements json file for every player in the server as this seemed to be the error. After deleting the files and reloading the server, we were able to join back in.
    • Incompatible mods found! net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other! A potential solution has been determined, this may resolve your problem:      - Replace mod 'Moonlight Lib' (moonlight) 1.21-2.16.0 with version 1.21-2.17.0 or later. More details:      - Mod 'Supplementaries' (supplementaries) 1.21-3.0.14-alpha requires version 1.21-2.17.0 or later of mod 'Moonlight Lib' (moonlight), but only the wrong version is present: 1.21-2.16.0!     at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51)     at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:196)     at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:146)     at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)     at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) this si my error code, and yes i have the latest version of moonlight lib
    • Turning the Tables: My Journey to Reclaim Stolen Bitcoins with Expert Help. When my Bitcoin wallet was hacked and my entire cryptocurrency portfolio was stolen, I felt utterly devastated and hopeless. Having worked hard to build up my digital assets, the sudden loss was gut-wrenching. It felt like my financial future had been ripped away in an instant, leaving me overwhelmed by a sense of betrayal and despair. In my search for help, I discovered TECH CYBER FORCE Recovery, a renowned cybersecurity firm specializing in cryptocurrency recovery. I was met with professionalism and empathy from my first contact with them. The team demonstrated a steadfast commitment to helping me retrieve my stolen Bitcoins. They understood the emotional toll of my situation and approached my case with genuine concern. TECH CYBER FORCE Recovery swung into action immediately, leveraging its extensive expertise in blockchain forensics and hacker tracking techniques. Their process was meticulous. They analyzed my transaction history, followed the digital trail left by the hackers, and worked diligently to pinpoint the location of the stolen funds. I was impressed by their technical prowess; they employed advanced cryptographic methods and strategic negotiations with the perpetrators, all while keeping me informed about their progress. The recovery process was complex and fraught with challenges. However, the tenacity displayed by the team was truly awe-inspiring. They navigated cryptocurrency crime's murky and ever-evolving landscape with skill and determination. After a series of strategic moves, they managed to recover the majority of my Bitcoins successfully.  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.