Better Foliage

Better Foliage

35M Downloads

Client Crash - java.lang.ClassCastException: mods.betterfoliage.common.util.OffsetBlockAccess cannot be cast to net.minecraft.world.ChunkCache

Sir-Will opened this issue ยท 27 comments

commented

Fastcraft is enabled, not sure if this is the issue.
Crash report: http://pastebin.com/C6jY63KX

commented

Fastcraft is fine, but BF is not compatible with Colored Lights.

I'm not sure yet what can be done.

commented

Okay, maybe @CptSpaceToaster has an idea.

commented

wah?

Oh... is this on world gen?

commented

Oh, I think I mixed up the colored lights in the mod PixelUtilities with the mod called "Colored Light", sorry. :3

commented

no no... this is me, although it would help if you updated CLC to latest: http://coloredlightscore.us.to:8080/job/ColoredLightsCore%20v1.7.10/

1.3.7.37 is latest

commented

Okay, so BetterFoliage does have issues with colored lights and does crash the client if world get loaded but @octarine-noise is not sure how he can fix the issue I think.

commented

I can look at it, but I need to you repeat the crash using the latest version of CLC.

commented

Let me know if you need me to turn a wrench.

commented

So PixelUtilties needs to update CLC?
Can I just replace the "coloredlightscore" folder in PixelUtilties with the latest?

commented
commented

Just tried to replace it, unfortunately it doesn't work.

commented

Not sure yet. I'm looking into it. I was always unhappy with that trick using the OffsetBlockAccess anyway, and it seems to violate an assumption made by CLC code. I'll try to find a better way and sidestep this issue.

This is definitely a new thing, as I can recall BF and CLC working together just fine before.

edit: Was looking at your code now, there are no unchecked casts at all in CLBlockHelper, so I tested.
Latest versions of BF, CLC and FastCraft: Stuff Works Fine(tm). Closing.

commented

What versions do you use? I mean Forge, BF, CLC and FastCraft.

commented

crash reports would be nice as well

commented

BetterFoliage: 1.7-1.0.4 Forge: 1.7.10-10.13.2.1277, fastcraft: 1.19, PixelUtilties: 3.3.7 (Not sure which version of CLC is in it.)

Crash report of what? In my first post is a crash report.

commented

make sure you have the latest CLC version: You can download it here: http://coloredlightscore.us.to:8080/job/ColoredLightsCore%20v1.7.10/

The file is named ColoredLightsCore-1.3.7.37.jar (right under "Latest Successful Artifacts")
The version is 1.3.7.37. Please load use THAT, along with the latest available versions of Forge, FastCraft, and PixelUtilities.

If you experience a crash after updating everything, please paste the NEW crash report. Even if it looks the same to you, we need the updated information it has. Please don't exclude a crash report if you changed something. If you changed something, and still got the crash, then we'd like to have BOTH reports.

commented

True... sorry, force of habit.

Your CLC is 1.1.2, which is very old. I suggest updating it.
Also, PixelUtilities is carrying CLC? Are they allowed to do that?

commented

You know... I think ClientHax just Fat-jarred it in... because he was being sneaky at the time...

Which is probably the source of the confusion. I release under the WTFPL, so it's not against any agreement or anything, but this is a little ridiculous...

What's happening here, is PixelUtils has an old version of CLC crammed inside of it... and it's causing problems. Update pixelUtils.

commented

As CLC was unstable at the time, our build contained fixes for cauldron servers which have since been moved into master, clc is not present in the latest builds of pixelutils.
https://mega.co.nz/#!WQN1DCAZ!9lfdODZFe4g98uldVXnG3a0oSSxP2TDNFQgqswnIe9U

commented

Welcome to BetterFoliage!
:)

commented

sirwilli, did you use the link i put up?, if you actaully read what i put you would of,

commented

I already have the latest PixelUtilties version (3.3.7). Seems that I can't use betterfoliage then.

commented

No because I can't join with version 3.3.5 on a server with 3.3.7

commented

so i can only assume that you are a idiot who doesn't understand the purpose of TESTING

commented

No name-calling please. Work it out like civilized people.

commented

@octarine-noise when i take time to try and resolve something because multiple people failed to read or google a issue, it annoys me when they don't bother to try what i say.

commented

You didn't asked for testing it. The version you posted works with BetterFoliage.