/** * Runnable method to materialise the TARDIS Police Box. Tries to mimic the transparency of * materialisation by building the Police Box first with GLASS, then ICE, then the normall wall * block (BLUE WOOL or the chameleon material). * * @param plugin instance of the TARDIS plugin * @param tmd the TARDISMaterialisationData * @param preset the Chameleon preset currently in use by the TARDIS * @param lamp the id of the lamp block * @param cham_id the chameleon block id for the police box * @param cham_data the chameleon block data for the police box */ public TARDISDematerialisationPreset( TARDIS plugin, TARDISMaterialisationData tmd, PRESET preset, int lamp, int cham_id, byte cham_data) { this.plugin = plugin; this.tmd = tmd; this.loops = 18; this.preset = preset; this.i = 0; this.lamp = lamp; this.cham_id = cham_id; this.cham_data = cham_data; column = plugin.getPresets().getColumn(preset, tmd.getDirection()); stained_column = plugin.getPresets().getStained(preset, tmd.getDirection()); glass_column = plugin.getPresets().getGlass(preset, tmd.getDirection()); }