Uses of Class
io.github.apfelcreme.Pipes.Pipe.SimpleLocation
Package
Description
-
Uses of SimpleLocation in io.github.apfelcreme.Pipes.Exception
Modifier and TypeMethodDescriptionLocationException.getAccessedLocation()
returns the position from which the chunk was accessedModifierConstructorDescriptionChunkNotLoadedException
(SimpleLocation location) LocationException
(SimpleLocation accessedLocation) PipeTooLongException
(SimpleLocation location) TooManyOutputsException
(SimpleLocation location) -
Uses of SimpleLocation in io.github.apfelcreme.Pipes.LoopDetection
Modifier and TypeMethodDescriptionvoid
Detection.addLocation
(SimpleLocation location) adds a location to the map of found locations -
Uses of SimpleLocation in io.github.apfelcreme.Pipes.Manager
Modifier and TypeMethodDescriptionPipeManager.getMultiCache()
returns the cache for blocks that can belong to multiple pipes (outputs and chunk loaders)com.google.common.cache.Cache<SimpleLocation,
Pipe> PipeManager.getPipeCache()
returns the pipe cachePipeManager.getPipePartCache()
returns the cache for pipe partsPipeManager.getSingleCache()
returns the cache for blocks that can only belong to a single pipe (and aren't inputs)ItemMoveScheduler.getTransfers()
Modifier and TypeMethodDescriptionvoid
ItemMoveScheduler.add
(SimpleLocation scheduledItemTransfer) schedules an item moveboolean
ItemMoveScheduler.execute
(SimpleLocation simpleLocation) executes the item transferPipeManager.getCachedPipePart
(SimpleLocation location) Get the pipes part.PipeManager.getPipeByInput
(SimpleLocation location) Get the pipe by an input at a location.PipeManager.getPipesSafe
(SimpleLocation location) Get the pipe that is at that location, returns an empty set instead of throwing an exceptionPipeManager.getPipesSafe
(SimpleLocation location, boolean cacheOnly) Get the pipe that is at that location, returns an empty set instead of throwing an exception -
Uses of SimpleLocation in io.github.apfelcreme.Pipes.Pipe
Modifier and TypeMethodDescriptionstatic SimpleLocation
SimpleLocation.deserialize
(Map<String, Object> args) Deserialize a SimpleLocation object from a map generated by serializeAbstractPipePart.getLocation()
returns the location of this pipe partSimpleLocation.getRelative
(org.bukkit.block.BlockFace face) returns the location that faces the block location to the given sidePipeInput.getTargetLocation()
PipeOutput.getTargetLocation()
Modifier and TypeMethodDescriptionPipe.getChunkLoaders()
returns the set of furnaces that are connected to a pipe that allows the server to load chunks if parts of the pipe are located in unloaded chunksPipe.getInputs()
returns the set of inputsPipe.getOutputs()
returns the set of outputs which are connected to a sorterPipe.getPipeBlocks()
returns the set of glass-blocks the pipe consists ofModifier and TypeMethodDescriptionvoid
Pipe.checkLoaded
(SimpleLocation startLocation) Pipe.getInput
(SimpleLocation location) returns the pipe input object if there is one at the given locationModifierConstructorDescriptionPipe
(LinkedHashMap<SimpleLocation, PipeInput> inputs, LinkedHashMap<SimpleLocation, PipeOutput> outputs, LinkedHashMap<SimpleLocation, ChunkLoader> chunkLoaders, LinkedHashSet<SimpleLocation> pipeBlocks, org.bukkit.Material type) Pipe
(LinkedHashMap<SimpleLocation, PipeInput> inputs, LinkedHashMap<SimpleLocation, PipeOutput> outputs, LinkedHashMap<SimpleLocation, ChunkLoader> chunkLoaders, LinkedHashSet<SimpleLocation> pipeBlocks, org.bukkit.Material type)