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

public static class BuildingCook.View extends AbstractBuildingView
The client side representation of the building.
  • Constructor Details

    • View

      public View(IColonyView c, net.minecraft.core.BlockPos l)
      Instantiates the view of the building.
      Parameters:
      c - the colonyView.
      l - the location of the block.
  • 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.
    • getCustomers

      public it.unimi.dsi.fastutil.ints.IntSet getCustomers()
      Get the set of customers from the dining hall.
      Returns:
      the set of customers