forked from ldtteam/minecolonies
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add auto-hire from training centers (ldtteam#5669)
Guard towers will now attempt to hire the best from the respective training centers before hiring unemployed There is a new button in the Guard towers to turn off trainee hiring, it defaults to on. Training centers are now 'homes' for their workers Added bed registration to training centers, though not all schematics have beds yet.
- Loading branch information
Showing
14 changed files
with
284 additions
and
24 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
src/api/java/com/minecolonies/api/colony/buildings/IBuildingBedProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.minecolonies.api.colony.buildings; | ||
|
||
import java.util.List; | ||
import org.jetbrains.annotations.NotNull; | ||
import net.minecraft.util.math.BlockPos; | ||
|
||
public interface IBuildingBedProvider | ||
{ | ||
/** | ||
* Gets a list of all beds in this building. | ||
* | ||
* @return a list of all beds in this building. | ||
*/ | ||
@NotNull | ||
public List<BlockPos> getBedList(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.