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

Adding LootTable in the Wiki page doesn't seem to work #12

Closed
yuesha-yc opened this issue Jul 18, 2020 · 4 comments
Closed

Adding LootTable in the Wiki page doesn't seem to work #12

yuesha-yc opened this issue Jul 18, 2020 · 4 comments

Comments

@yuesha-yc
Copy link

No description provided.

@yuesha-yc
Copy link
Author

yuesha-yc commented Jul 18, 2020

RESOURCE_PACK.addLootTable(id("minecraft:blocks/acacia_fence"),
				loot("minecraft:block")
						.pool(pool()
								.rolls(1)
								.entry(entry()
										.type("minecraft:item")
										.name("minecraft:diamond"))
								.condition(condition("minecraft:survives_explosion")))
		);

@Devan-Kerman
Copy link
Owner

uhh, did u register ur resource pak

@yuesha-yc
Copy link
Author

yes

@Devan-Kerman
Copy link
Owner

idk what u did wrong, there are some new examples and docs on the way, if u still have this problem make a new issue or smth

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

2 participants