TheTurkeyDev / ChanceCubes

Chance Cubes. A Mod for Minecraft. Break a block and see what happens!
GNU General Public License v3.0
39 stars 33 forks source link

1.19 Most spawn rewards broken #268

Closed tatoyoda600 closed 1 year ago

tatoyoda600 commented 2 years ago

Minecraft Version:

1.19 1.19.1 1.19.2 (Did most of the testing on a server because I didn't want to be restarting MC every 5 seconds. Game did crash in singleplayer on 1.19.2 though, prompting the more in depth test. Also had the lucky block mod installed, but nothing else)

Forge Version:

1.19-41.1.0 1.19.1-42.0.9 1.19.2-43.1.1

ChanceCubes Version:

1.19-5.0.2.467

Reward(s) Affected:

chancecubes:spawn_glenn chancecubes:xp_crystal chancecubes:spawn_cluckington chancecubes:actual_invisible_ghast chancecubes:spawn_amanda_panda chancecubes:item_chest chancecubes:cake chancecubes:rain chancecubes:ender_crystal_timer chancecubes:book_of_memes chancecubes:dark_o_the_wise chancecubes:spawn_jerry chancecubes:quidditch chancecubes:fire_aspect_fire

chancecubes:question chancecubes:herobrine

The Issue:

On 1.19 the mentioned rewards do absolutely nothing or only part of the intended behaviour. The ones that do something: chancecubes:item_chest (No chest, items are thrown but disappear on landing) chancecubes:cake (Only the text shows up) chancecubes:ender_crystal_timer (Nothing shows up, then random explosion)

chancecubes:question (It might actually work fine, bue to the text showing up above the hotbar instead of the chat, it is then immediately being replaced by the countdown, so there's no way to know the question) chancecubes:herobrine (This one does work fine as far as I can tell, but due to the text showing up above the hotbar, the chat messages give no impression of actual chat messages)

On 1.19.1 & 1.19.2 the mentioned rewards just crash the game immediately if they're chosen.

Also, all the ones that look like the blocks should fall from the sky just have the blocks show up out of nowhere on the ground, no falling.

I've seen some other issues on here about how 1.19.2 doesn't work currently, so I assume that's not much of a surprise, but the ones that crash 1.19.2 seem to be the same ones that do nothing in 1.19, so maybe they're related.

As an extra note, the rewards "chancecubes:spawn_amanda_panda" & "chancecubes:dark_o_the_wise" are not listed in the Github wiki with the list of rewards, and despite basically all of the rewards that don't function being ones that summon, "chancecubes:boss_ravager" & "chancecubes:surrounded", both of which summon stuff, work just fine, even had custom AI and attacks for the ravager and the armor stand with my head on it was riding it just fine as well, killing it also destroyed the arena with no issues.

Origin:

https://www.curseforge.com/minecraft/mc-mods/chance-cubes

Logs:

On 1.19 it doesn't crash and works just fine other than the rewards not doing anything, so the log is just a standard server log with a ton of "[Server thread/INFO] [chancecubes/]: Triggered the reward with the name of: chancecubes:............"

On 1.19.1 it does crash, and gives this error when it does (Different reward name depending on which one is the one that is picked) [03Sep2022 15:44:43.332] [Server thread/INFO] [chancecubes/]: Triggered the reward with the name of: chancecubes:fire_aspect_fire [03Sep2022 15:44:43.333] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception java.lang.NoSuchMethodError: 'int net.minecraft.commands.Commands.m82117(net.minecraft.commands.CommandSourceStack, java.lang.String)'

On 1.19.2 it also crashes, and gives this error (Different reward name depending on which one is the one that is picked) [03Sep2022 15:36:16.629] [Server thread/INFO] [chancecubes/]: Triggered the reward with the name of: chancecubes:book_of_memes [03Sep2022 15:36:16.630] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception java.lang.NoSuchMethodError: 'int net.minecraft.commands.Commands.m82117(net.minecraft.commands.CommandSourceStack, java.lang.String)'

TheTurkeyDev commented 2 years ago

Thanks for doing some test. I haven't been fully able to test all the rewards and features (hence the Beta tag), but hopefully I will be able to find the time to test them. The reward wikis are slowly being phased out for this https://site.theturkey.dev/chancecubes/rewardstatus where I can keep greater detail on the rewards and their working status, but again finding time to completely move everything over is hard. I appreciate the help though!

freevortex commented 2 years ago

I went ahead and tested all of the rewards listed on https://site.theturkey.dev/chancecubes/rewardstatus on 1.19.2 (Forge 43.1.3). Tested using the reward selector pendant and a clean-ish loadout with only the following:

As tatoyoda600 noted, all (or almost all) of the rewards that involve text that was previously displayed in the chat is now showing that text above the hotbar, and it disappears too fast to read. This is true across the board for "working" and broken rewards.

Rewards that are causing CTD:

Rewards that are partially working:

Rewards that seem to be working as normal:

I turned all crash-inducing rewards, as well as the question-type partially-working rewards (and chancecubes:5_prongs since it spawns an isocahedron which should be unobtainable), to FALSE in this config (presented here as a .txt - just copy the contents into your global_rewards.json and you should be good to go) so that others can easily turn off the broken rewards until you come out with a fix. global_rewards.txt

Thanks for the mod; I hope this playtesting helps get 1.19.2 working :)

PurpleHel commented 2 years ago

I would also suggest setting dig_build to false, cos the text doesn't display long enough to see if you're supposed to go up or down and how far.

PurpleHel commented 2 years ago

Which reward is the _jeb sheep? Game crashed when I tried to break the isocahedron. Is it disco?

TheTurkeyDev commented 2 years ago

New build is finally out. should hopefully fix most of these rewards!