Package de.Keyle.MyPet.api.skill.skills
Interface Toolbox
- All Superinterfaces:
Skill
Skill that turns the pet into a set of portable utility workstations (crafting table,
anvil, grindstone, etc.). Each
Toolbox.Station is unlocked independently through the
skilltree; the owner opens an unlocked station as a virtual view — no placed block needed.
Furnace-type blocks are deliberately not offered: their menus need a real block entity to smelt, so they cannot be opened as virtual views.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumEnumerates the workstations the Toolbox skill can unlock. -
Method Summary
Modifier and TypeMethodDescriptiongetStation(Toolbox.Station station) Returns the upgrade computer controlling whether the given station is unlocked.default List<Toolbox.Station> Returns all currently unlocked stations, inToolbox.Stationdeclaration order.Methods inherited from interface de.Keyle.MyPet.api.skill.skilltree.Skill
applyState, getName, getName, getPet, getState, getUpgradeMessage, isActive, reset, toPrettyComponent
-
Method Details
-
getStation
Returns the upgrade computer controlling whether the given station is unlocked.- Parameters:
station- the workstation to query- Returns:
- the upgrade computer saying whether that station is unlocked
-
getUnlockedStations
Returns all currently unlocked stations, inToolbox.Stationdeclaration order.- Returns:
- every workstation the skilltree has unlocked
-