Skip to content

Instantly share code, notes, and snippets.


triphion/ModEventHandler Secret

Created Oct 9, 2017
What would you like to do?
package com.triphion.ancient.handlers;
import net.minecraftforge.event.LootTableLoadEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
public class ModEventHandler
public void lootLoad(LootTableLoadEvent evt) {
if (evt.getName().toString().equals("minecraft:chests/simple_dungeon")) {
/* do stuff with evt.getTable() like
LootTable table = evt.getTable();
LootTable merge = MyCustomTable;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.