Interface IGraveData

All Known Implementing Classes:
GraveData

public interface IGraveData
Data to store in a citizen grave
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable net.minecraft.nbt.CompoundTag
    get the data NBT of the citizen .
    @Nullable String
    Get the name of the job of the citizen
    @Nullable String
    Get the name of the citizen.
    void
    read(net.minecraft.nbt.CompoundTag compoundNBT)
    Read this CitizenData from the compoundNBT
    void
    setCitizenDataNBT(@Nullable net.minecraft.nbt.CompoundTag citizenDataNBT)
    Set data NBT of the citizen .
    void
    setCitizenJobName(@Nullable String citizenJobName)
    Set the name of the job of the citizen
    void
    setCitizenName(@Nullable String citizenName)
    Set the name of the citizen.
    net.minecraft.nbt.CompoundTag
    Write this CitizenData to a coumpoundNBT
  • Method Details

    • getCitizenDataNBT

      @Nullable @Nullable net.minecraft.nbt.CompoundTag getCitizenDataNBT()
      get the data NBT of the citizen .
    • setCitizenDataNBT

      void setCitizenDataNBT(@Nullable @Nullable net.minecraft.nbt.CompoundTag citizenDataNBT)
      Set data NBT of the citizen .
    • getCitizenName

      @Nullable @Nullable String getCitizenName()
      Get the name of the citizen.
    • setCitizenName

      void setCitizenName(@Nullable @Nullable String citizenName)
      Set the name of the citizen.
    • getCitizenJobName

      @Nullable @Nullable String getCitizenJobName()
      Get the name of the job of the citizen
    • setCitizenJobName

      void setCitizenJobName(@Nullable @Nullable String citizenJobName)
      Set the name of the job of the citizen
    • read

      void read(net.minecraft.nbt.CompoundTag compoundNBT)
      Read this CitizenData from the compoundNBT
      Parameters:
      compoundNBT -
    • write

      net.minecraft.nbt.CompoundTag write()
      Write this CitizenData to a coumpoundNBT
      Returns: