Advertisement
Machuga14

Agricraft API (ComputerCraft)

Apr 28th, 2017
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.25 KB | None | 0 0
  1. -- Computer Controlled Seed Analyzer Methods:
  2. --   analyze() -- Orders the analyzer to analyze the current specimen
  3. --   getBaseBlock((optional) direction) -- Returns the necessary base block for the crop at the specified direction or the specimen in the analyzer if no direction is specified.
  4. --   getBaseBlockType((optional) direction) -- Returns the base block type (NONE, BELOW, NEAR) for the crop at the specified direction or the specimen in the analyzer if no direction is specified.
  5. --   getBrightness(direction) -- Returns the current light level for the crop at the specified direction
  6. --   getBrightnessRange((optional) direction) -- Returns the required light level range for the crop at the specified direction or the specimen in the analyzer if no direction is specified
  7. --   getCurrentSoil(direction) -- Returns the current soil below the crop at the specified direction or the specimen in the analyzer if no direction is specified
  8. --   getGrowthStage(direction) -- Returns the growth percentage of the crop at the specified direction
  9. --   getNeededSoil((optional) direction) -- Returns the required soil for the crop at the specified direction or the specimen in the analyzer if no direction is specified
  10. --   getPlant(direction) -- Returns the seed currently planted on the crop at the specified direction
  11. --   getSpecimen() -- Returns the specimen currently in the analyzer
  12. --   getSpecimenStats((optional) direction) -- Returns 3 values for the plant's Growth, Gain, and Strength
  13. --   hasJournal() -- Returns if the analyzer has a journal
  14. --   hasPlant() -- Returns if there is a plant on the crop sticks at the specified direction
  15. --   hasWeeds(direction) -- Returns if there are weeds on the crop at the specified direction
  16. --   isAnalyzed() -- Returns if the crop at the specified direction, or the specimen in the analyzer (if no direction is specified) is analyzed
  17. --   isCrossCrop(direction) -- Returns if the crop at the specified direction is a cross crop
  18. --   isFertile(direction) -- Returns if the crop at the specified direction is fertile and can grow
  19. --   isMature(direction) -- Returns if the crop crop at the specified direction is mature
  20. --   needsBaseBlock((optional) direction) -- Returns if the crop crop at the specified direction needs a base block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement