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

I'm a bit unsure of how to add blocks to loot #434

Open
whateveryousayyo opened this issue Oct 8, 2018 · 3 comments
Open

I'm a bit unsure of how to add blocks to loot #434

whateveryousayyo opened this issue Oct 8, 2018 · 3 comments
Labels

Comments

@whateveryousayyo
Copy link

Would I just need to add a new line to the items file for, let's say, a grass block?

Then I'd just use the values from here:

https://minecraft.gamepedia.com/Java_Edition_data_values

I'm unsure of what the numerical data value would be, but would I just use 0?

From there, since it's in the items file, I'd be able to add it to the configuration under the loot tables portion, right?

I'm just a bit confused because the wiki indicates there are blocks and items and I wasn't able to find a single block in the items file, so I was wondering if there was something special I'd have to do.

@JiFish JiFish added the Support label Oct 8, 2018
@JiFish
Copy link
Collaborator

JiFish commented Oct 8, 2018

You want the section names from materials.cfg. Sorry, looks like the docs were not updated to reflect this after the big id change. So you don't need to add anything to items.txt, you can just do something like:

[tier0]
Grass: 100,5-20,0

I'll also throw in a reminder that Minecraft 1.13 isn't supported at all. (But from the looks of it, you are already aware of that.)

@k9lego
Copy link

k9lego commented Oct 21, 2018

Are there any plans to get 1.13 support?

@JiFish
Copy link
Collaborator

JiFish commented Oct 21, 2018

I can't rule out an update to support 1.13, but don't expect it.

MCDungeon relies on a component called pymclevel - which hasn't been officially supported in years. We've struggled by before, but 1.13 fundamentally changed how world storage works and pymclevel is now totally broken. If someone fixes up or replaces pymclevel, we would then be able to start the arduous task of updating the MCDungeon portion of the code.

The short of it is 1.13 support would take more time than people have to spend.

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

No branches or pull requests

3 participants