question: public void generateLootChest ( World world , Random random , BlockPos pos , int min , int max , IBlockState state , ResourceLocation lootTable ) { world . setBlockState ( pos , state , 3 ) ; TileEntityChest chest = ( TileEntityChest ) world . getTileEntity ( pos ) ; if ( chest != null ) chest . setLootTable ( lootTable , random . nextLong ( ) ) ; }
target:  Generates a loot chest at a location