Add new interfaces

This commit is contained in:
filoghost 2014-11-28 13:49:07 +01:00
parent 85c34eef54
commit 3f551e9796
3 changed files with 23 additions and 1 deletions

View File

@ -1,6 +1,6 @@
name: HolographicDisplays
main: com.gmail.filoghost.holograms.HolographicDisplays
version: 1.8.8
version: 1.8.9
softdepend: [Multiverse-Core, MultiWorld, My Worlds, My_Worlds, ProtocolLib]

View File

@ -0,0 +1,13 @@
package com.gmail.filoghost.holograms.nms.interfaces;
import org.bukkit.entity.Entity;
public interface HologramArmorStand extends NameableEntityNMS {
// Sets the passenger of this entity through NMS.
public void setPassengerNMS(BasicEntityNMS passenger);
// Sets the passenger of this entity through NMS.
public void setPassengerNMS(Entity bukkitEntity);
}

View File

@ -0,0 +1,9 @@
package com.gmail.filoghost.holograms.nms.interfaces;
public interface NameableEntityNMS extends HologramComponent {
public void forceSetCustomName(String name);
public String getCustomNameNMS();
}