Class GraveyardManagementModuleView

java.lang.Object
com.minecolonies.api.colony.buildings.modules.AbstractBuildingModuleView
com.minecolonies.core.colony.buildings.moduleviews.GraveyardManagementModuleView
All Implemented Interfaces:
IBuildingModuleView

public class GraveyardManagementModuleView extends AbstractBuildingModuleView
  • Constructor Details

    • GraveyardManagementModuleView

      public GraveyardManagementModuleView()
  • Method Details

    • deserialize

      public void deserialize(@NotNull @NotNull net.minecraft.network.RegistryFriendlyByteBuf buf)
      Description copied from interface: IBuildingModuleView
      Deserialize the data on the client side.
      Parameters:
      buf - the buffer to read it from.
    • getWindow

      public com.ldtteam.blockui.views.BOWindow getWindow()
      Description copied from interface: IBuildingModuleView
      Get the matching window for the module.
      Returns:
      the window.
    • getIconResourceLocation

      public net.minecraft.resources.ResourceLocation getIconResourceLocation()
      Description copied from interface: IBuildingModuleView
      Get the resource location of the icon for the module view.
      Returns:
      the resource location.
    • getDesc

      public net.minecraft.network.chat.Component getDesc()
      Description copied from interface: IBuildingModuleView
      Get the lang string for the title.
      Returns:
      the lang string.
    • getGraves

      @NotNull public @NotNull List<net.minecraft.core.BlockPos> getGraves()
      Getter of the graves list.
      Returns:
      an unmodifiable List.
    • cleanGraves

      public void cleanGraves()
      Clean the list of graves if a grave is missing from the world.
    • getRestingCitizen

      @NotNull public @NotNull List<String> getRestingCitizen()
      Getter of the restingCitizen list.
      Returns:
      an unmodifiable List.