question: 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 ( ) ) ; }
target:  Generates a loot pot at a location