@Override public void run() { ArmorStand hologram = getArmorStand(b); hologram.remove(); } });
public static void remove(Location l) { ArmorStand hologram = getArmorStand(l); hologram.remove(); } }
/** * Removes all instances of TempArmorStands and the associated ArmorStands */ public static void removeAll() { for (final TempArmorStand temp : tempStands) { temp.getArmorStand().remove(); } tempStands.clear(); } }
@Override public boolean onBreak(Player p, Block b, SlimefunItem item, UnregisterReason reason) { Projector.getArmorStand(b).remove(); return true; } });
@Override public boolean onBreak(Player p, Block b, SlimefunItem item, UnregisterReason reason) { final ArmorStand hologram = InfusedHopper.getArmorStand(b, false); if (hologram != null) { hologram.remove(); } return true; } });
public static void remove(final Block b) { ArmorStand hologram = getArmorStand(b); hologram.remove(); }
public static void remove(Block b) { ArmorStand hologram = getArmorStand(b); hologram.remove(); }
@Override public void despawn() { this.spawnedEntities.forEach(e -> e.getArmorStand().remove()); this.spawnedEntities.clear(); this.spawned = false; if (this.listeners != null) { this.listeners.closeAndReportException(); } this.listeners = null; }
@Override public void despawn() { this.spawnedEntities.forEach(e -> e.getArmorStand().remove()); this.spawnedEntities.clear(); this.spawned = false; if (this.listeners != null) { this.listeners.closeAndReportException(); } this.listeners = null; }
@Override public void remove() { super.remove(); if (this.mode == GrabMode.TRAP) { this.bPlayer.addCooldown(this); this.mHandler.reset(); this.trap.remove(); if (TempArmor.getTempArmorList(this.target).contains(this.armor)) { this.armor.revert(); } } this.bPlayer.addCooldown(this); }
@Override public void run() { banner.setType(Material.AIR); as.remove(); banner.getWorld().strikeLightningEffect(banner.getLocation()); Bukkit.getScheduler().cancelTask(affectorTask); bannerLocations.remove(bannerFaction.getTag()); } }, Long.parseLong(bannerTime + ""));