public interface IBaritoneProvider
IBaritone instances, as well as non-baritone instance related APIs.| Modifier and Type | Method and Description |
|---|---|
java.util.List<IBaritone> |
getAllBaritones()
Returns all of the active
IBaritone instances. |
default IBaritone |
getBaritoneForPlayer(net.minecraft.client.entity.EntityPlayerSP player)
Provides the
IBaritone instance for a given EntityPlayerSP. |
ICommandSystem |
getCommandSystem()
Returns the
ICommandSystem instance. |
IBaritone |
getPrimaryBaritone()
Returns the primary
IBaritone instance. |
ISchematicSystem |
getSchematicSystem() |
IWorldScanner |
getWorldScanner()
Returns the
IWorldScanner instance. |
IBaritone getPrimaryBaritone()
IBaritone instance. This instance is persistent, and
is represented by the local player that is created by the game itself, not a "bot"
player through Baritone.IBaritone instance.java.util.List<IBaritone> getAllBaritones()
IBaritone instances. This includes the local one
returned by getPrimaryBaritone().IBaritone instances.getBaritoneForPlayer(EntityPlayerSP)default IBaritone getBaritoneForPlayer(net.minecraft.client.entity.EntityPlayerSP player)
IBaritone instance for a given EntityPlayerSP. This will likely be
replaced with or be overloaded in addition to #getBaritoneForUser(IBaritoneUser) when
bot-system is merged into master.player - The playerIBaritone instance.IWorldScanner getWorldScanner()
IWorldScanner instance. This is not a type returned by
IBaritone implementation, because it is not linked with IBaritone.IWorldScanner instance.ICommandSystem getCommandSystem()
ICommandSystem instance. This is not bound to a specific IBaritone
instance because ICommandSystem itself controls global behavior for ICommands.ICommandSystem instance.ISchematicSystem getSchematicSystem()
ISchematicSystem instance.