Jump to content

[1.14.4] Remove a vanilla loot pool


Recommended Posts

How can I remove a vanilla loot pool?

It needs a name but i cant figure out wich name:

	 public static void loot(LootTableLoadEvent event) {
		 ResourceLocation iron = new ResourceLocation("minecraft", "blocks/iron_ore");
		 ResourceLocation gold = new ResourceLocation("minecraft", "blocks/gold_ore");
		 if(event.getName().equals(iron)) {
	        event.getTable().addPool(LootPool.builder().addEntry(TableLootEntry.builder(new ResourceLocation(ortonogeum.INSTANCE.assets.name, "blocks/ore_iron"))).build());
		 if(event.getName().equals(gold)) {
		    event.getTable().addPool(LootPool.builder().addEntry(TableLootEntry.builder(new ResourceLocation(ortonogeum.INSTANCE.assets.name, "blocks/ore_gold"))).build());

Thank you so much

Edited by cinsiian
Link to comment
Share on other sites

Put the loot table's file in to you mod's data/minecraft/loot_tables/ folder with the same name, but make it drop something you want, or nothing. You're basically able to overwrite already existing files in minecraft, if I'm correct.

procedure WakeMeUp(Integer plusTime);
  I: Integer;
  for I := 0 to plusTime do begin
    println('One more minute!');
  println('Okay, nothing to worry, I''m alive!');
  println('So... somebody can give me a coffee?');
  println('I know it''s Pascal, and not Java, but I love it :D.');
Link to comment
Share on other sites

3 hours ago, cinsiian said:

But what if its replaced by another mod?

See this comment:


Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.


Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.


DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.