Class AbstractBuildingBuilderView

java.lang.Object
com.minecolonies.core.colony.buildings.views.AbstractBuildingView
com.minecolonies.core.colony.buildings.views.AbstractBuildingBuilderView
All Implemented Interfaces:
ICommonBuilding, IBuildingView, IModuleContainerView, IRequester
Direct Known Subclasses:
BuildingBuilder.View

public abstract class AbstractBuildingBuilderView extends AbstractBuildingView
Provides a view of the builder building class.
  • Constructor Details

    • AbstractBuildingBuilderView

      public AbstractBuildingBuilderView(IColonyView c, net.minecraft.core.BlockPos l)
      Public constructor of the view, creates an instance of it.
      Parameters:
      c - the colony.
      l - the position.
  • Method Details

    • deserialize

      public void deserialize(@NotNull @NotNull net.minecraft.network.FriendlyByteBuf buf)
      Description copied from class: AbstractBuildingView
      Read this view from a FriendlyByteBuf.
      Specified by:
      deserialize in interface IBuildingView
      Overrides:
      deserialize in class AbstractBuildingView
      Parameters:
      buf - The buffer to read this view from.
    • getWorkerName

      public String getWorkerName()
      Get the name of the worker assigned to this building.
      Returns:
      the name.