Class BuildingBarracks.View

java.lang.Object
com.minecolonies.core.colony.buildings.views.AbstractBuildingView
com.minecolonies.core.colony.buildings.workerbuildings.BuildingBarracks.View
All Implemented Interfaces:
ICommonBuilding, IBuildingView, IModuleContainerView, IRequester
Enclosing class:
BuildingBarracks

public static class BuildingBarracks.View extends AbstractBuildingView
Barracks building View.
  • Constructor Details

    • View

      public View(IColonyView c, net.minecraft.core.BlockPos l)
      Instantiate the barracks view.
      Parameters:
      c - the colonyview to put it in
      l - the positon
  • Method Details

    • getWindow

      @NotNull public @NotNull com.ldtteam.blockui.views.BOWindow getWindow()
      Description copied from class: AbstractBuildingView
      Will return the window if this building has an associated blockui window.
      Specified by:
      getWindow in interface IBuildingView
      Overrides:
      getWindow in class AbstractBuildingView
      Returns:
      blockui window.
    • getRange

      public int getRange()
      Description copied from interface: IBuildingView
      Get functional range around building.
      Returns:
      the range.