public void generateLootPot(World world,Random random,BlockPos pos,int min,int max,ResourceLocation list){
  world.setBlockState(pos,getRandomLootPot(random),3);
  TileEntityLootPot lootPot=(TileEntityLootPot)world.getTileEntity(pos);
  if (lootPot != null)   lootPot.setLootTable(LootTableRegistry.COMMON_CHEST_LOOT,random.nextLong());
}

public void generateLootPot ( World world , Random random , BlockPos pos , int min , int max , ResourceLocation list ) { world . setBlockState ( pos , getRandomLootPot ( random ) , 3 ) ; TileEntityLootPot lootPot = ( TileEntityLootPot ) world . getTileEntity ( pos ) ; if ( lootPot != null ) lootPot . setLootTable ( LootTableRegistry . COMMON_CHEST_LOOT , random . nextLong ( ) ) ; }
generates a loot pot at a location
