Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Issue with Adding Custom Cakes #22

Open
2 of 6 tasks
SaihaoDraw opened this issue Oct 24, 2024 · 11 comments
Open
2 of 6 tasks

[Bug]: Issue with Adding Custom Cakes #22

SaihaoDraw opened this issue Oct 24, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@SaihaoDraw
Copy link

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

forge 47.3.5

Minecraft version

1.20.1

Mod version

1.20.1.0.8.3

Java version

8

Issue Description

Hello,

I've decided to continue the conversation here on GitHub as it's the most appropriate place.

I'm encountering an issue with adding custom cakes. I modified the base cakes and tried to add a new one, but every time I restart the game, the custom cakes are removed from the config file.

I've double-checked the syntax multiple times. I'm using the same structure as for CustomCake3 and only changed the relevant numbers in the config. Despite this, I receive the following error in my logs:

Incorrect key CustomCake4 was corrected from SimpleCommentedConfig:{consumeCustomCake4=true, customCake4Name=Bumble Cake, customCake4Dimension=the_bumblezone:the_bumblezone, customCake4RefillItem=[the_bumblezone:beespire_catalyst], customCake4MinY=2, customCake4MaxY=254} to its default, null.

I'm a bit lost at this point 😅. Any help would be appreciated!

Additional Information

No response

@SaihaoDraw SaihaoDraw added the bug Something isn't working label Oct 24, 2024
@Mrbysco
Copy link
Owner

Mrbysco commented Oct 24, 2024

Are you removing line-breaks? as you can't touch those

@SaihaoDraw
Copy link
Author

No, normally not.

The basic custom cakes (1, 2, 3) all work perfectly. But when I add the 4 and then launch the game. It is automatically deleted when the game is loaded.

Capture

@Mrbysco
Copy link
Owner

Mrbysco commented Oct 24, 2024

Wait, is the refill item an array in that screenshot? I think it should just be
customCake3RefillITem = "blue_skies:everdawn_catalyst" etc

@SaihaoDraw
Copy link
Author

Yes, but it's the same for custom cake 1 and 2. I just copied and pasted and changed the number to 4. The first three custom cakes also work with arrays, and everything functions properly

Capture

@Mrbysco
Copy link
Owner

Mrbysco commented Oct 25, 2024

I'll look into it this weekend

@Mrbysco
Copy link
Owner

Mrbysco commented Oct 25, 2024

Have you tried editing it in-game using a mod like Configured btw?

@SaihaoDraw
Copy link
Author

I just tried adding custom cakes via the in-game config, but it's impossible to add new custom cakes that way. I can modify existing ones slightly, but adding anything new doesn’t work.

@Mrbysco
Copy link
Owner

Mrbysco commented Oct 25, 2024

There is no way to add more than the existing ones currently

@SaihaoDraw
Copy link
Author

Do you think it would be possible to add an option or a way to create new custom cakes in a future update ?

@Mrbysco
Copy link
Owner

Mrbysco commented Oct 25, 2024

I wouldn't know what the best way would be. I think you should be able to add new ones using KubeJs

@SaihaoDraw
Copy link
Author

I just looked into making a custom cake with KubeJS. After asking on Discord, I was advised to use the Farmer's Delight extension to create the custom pies. Additionally, I need to add a teleportation code. There's also the risk of spawning and suffocating in blocks.

Overall, it's complex and quite a hassle xD.

I hope it will be possible for you to add an option or something similar to make it easier to add custom cakes.

Thank you for your help! I'll keep an eye out for any updates!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants