Klasse HologramData

java.lang.Object
de.oliver.fancyholograms.api.data.HologramData
Alle implementierten Schnittstellen:
Data

public final class HologramData extends Object implements Data
  • Konstruktordetails

    • HologramData

      public HologramData(@NotNull @NotNull String name, @NotNull @NotNull DisplayHologramData displayData, @NotNull @NotNull HologramType type, @NotNull @NotNull Data typeData)
      Constructs a new HologramData with the given name.
      Parameter:
      name - the name of the hologram
    • HologramData

      public HologramData(@NotNull @NotNull String name, @NotNull @NotNull HologramData other)
      Constructs a copy of an existing HologramData with a new name.
      Parameter:
      name - the name for the new HologramData
      other - the HologramData to copy from
  • Methodendetails

    • write

      public void write(org.bukkit.configuration.ConfigurationSection section, String name)
      Angegeben von:
      write in Schnittstelle Data
    • read

      public void read(org.bukkit.configuration.ConfigurationSection section, String name)
      Angegeben von:
      read in Schnittstelle Data
    • getName

      @NotNull public @NotNull String getName()
    • getDisplayData

      @NotNull public @NotNull DisplayHologramData getDisplayData()
    • getType

      @NotNull public @NotNull HologramType getType()
    • getTypeData

      @NotNull public @NotNull Data getTypeData()
    • copy

      @NotNull public @NotNull HologramData copy()
      Returns a copy of this HologramData.
      Angegeben von:
      copy in Schnittstelle Data
      Gibt zurück:
      a copy of this HologramData
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object