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

[Request] Config to disable spawning with the book on first join #128

Closed
NielsPilgaard opened this issue Jun 15, 2022 · 5 comments
Closed

Comments

@NielsPilgaard
Copy link

Hi there \o

I'd like to request a config option for not spawning with the Hex Casting book when you join a world for the first time. I find it can be a bit overwhelming if you get a lot of stuff straight off the bat.

I hope you'll consider it :D

@gamma-delta
Copy link
Collaborator

You can do it with a datapack... enough people have asked for this I should probably just make the datapack for you, so you can stick it in your world folder if you like.

I have it given on world load just because I can't think of a better way to point players towards geodes.

@NielsPilgaard
Copy link
Author

Alright thanks - Would this do the trick? 😄
EnigmaticaModpacks/Enigmatica8@4a4130a

@gamma-delta
Copy link
Collaborator

Maybe? Datapacks aren't my strong suit. I would do it by replacing the pools table with an empty list here: https://github.com/gamma-delta/HexMod/blob/main/Common/src/main/resources/data/hexcasting/loot_tables/grant_patchi_book.json

But whatever works, I guess. Try it out and see.

@NielsPilgaard
Copy link
Author

It works \o/

This approach should save an onTick listener as I understand it, that's always nice.

@Gamerbolts
Copy link

Hello, sorry for posting on an old thread but I tried the above link and used that to make a datapack, the path is \data\hexcasting\loot_tables\grant_patchi_book.json When I spawn into the world however I still get the book. Any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants