Comments (5)
When I tested it I get hundreds of errors,
Caused by: net.minecraft.util.ReportedException: Tesselating block model
at net.minecraft.client.renderer.BlockModelRenderer.func_178267_a(BlockModelRenderer.java:74) ~[bgf.class:?]
at net.minecraft.client.renderer.BlockModelRenderer.func_178259_a(BlockModelRenderer.java:52) ~[bgf.class:?]
at mod.chiselsandbits.render.chiseledblock.tesr.ChisledBlockBackgroundRender.call(ChisledBlockBackgroundRender.java:137) ~[ChisledBlockBackgroundRender.class:?]
at mod.chiselsandbits.render.chiseledblock.tesr.ChisledBlockBackgroundRender.call(ChisledBlockBackgroundRender.java:29) ~[ChisledBlockBackgroundRender.class:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_25]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_25]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_25]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_25]
at java.lang.Thread.run(Thread.java:745) ~[?:1.8.0_25]
Caused by: java.lang.ArrayIndexOutOfBoundsException
This only occurs with optifine, so its probably related to something optifine changes.
Workaround
Also as a work around you can increase "Max faces for static render" in the config gui to an enormous number, 999999 for instance to prevent C&B from triggering its multi-threaded renderer which is not compatible with optifine.
However doing so will reduce performance during block updates, and potentially cause the game to have large lag spikes if detailed C&B blocks are around things like redstone, or other blocks that cause block render updates.
from chisels-and-bits.
This happens when the C&B block switches over to a more efficient render mode (it's more efficient when the shape is very complex, but fairly inefficient when it's simple). It goes from rendering only when the chunk updates to doing so every tick, so this not working is probably an issue on Optifine's end (probably not supporting Forge's custom way of rendering blocks every tick).
I'd suggest reporting it to the Optifine dev(s) so they can add support for it because I don't think there's anything Algo can do on his end for it to work, other than using a less eficient method for rendering complex blocks only when Optifine is installed.
from chisels-and-bits.
I would like to go and report the bug to the Optifine devs but unfortunately I don't understand the source of the problem enough to explain it. To me right now this seems to be an incompatibility between Forge and Optifine the way you're describing it.
Just an update, after playing a while it ended up working. I don't know if that could give you more insight or something.
from chisels-and-bits.
Thank you for taking time to investigate the issue and providing a workaround!
from chisels-and-bits.
Little more info, newest Optifine (U D2), that compatible with Forge 2099 still causing C&B block's textures bug.
Maybe Standard/Smooth version (w/o multithread support) is good?
from chisels-and-bits.
Related Issues (20)
- (fabric 1.4.147) textures not loading on server
- Gamecrash while Chiseling minecraft ver. 1.20.1
- Blocks that glow, but don't emit light, do emit light as bits - 1.19.2 Forge
- i cant access the menu by holding alt
- [Forge] [MC 1.20.1] [Create 0.5.1.f] [C&B 1.4.148] Chiseled Blocks won't work with Create Schematics
- [1.19.2] Crash on startup
- [1.19.2] Game crashes when dying Bit Bag
- [1.20.4] [Fabric] Game crashes when trying to use chisel and bits HOT 1
- (1.20.4 / Fabric) Game crashes when use chisel HOT 1
- World Wont Load After Leaving HOT 1
- Game crashes when I chisel any block! 1.20.4 Fabric (Chisels & Bits 1.4.154) HOT 1
- Chisel causing game to crash. 1.20.4 Fabric - Chisels & Bits 1.4.154 HOT 1
- NeoForge 1.20.4: Dependency issue HOT 3
- Chisel and Bits glitches custom textures when using server resource pack
- Cannot load into world with bits in them. 1.20.4 Fabric - Chisels & Bits 1.4.155 HOT 12
- Related crash on startup
- Fabric 1.19.2/3/4 Map not working in 1.20.1 or 1.20.4
- Block randomization is broken when a block is chiseled without Sodium. HOT 2
- Bits invisible upon reconnecting to server
- Invisible blocks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chisels-and-bits.