5 posts
Posted 07 April 2017 - 12:04 PM
Hello.
I don't speak English and I'm not good at English.
Because I'm Japanese.
Sorry.
I found some functions by "getMethods".
removeFilter
addOreFilter
setMax
setMin
stop
addFilter
removeOreFilter
reset
setRadius
start
Could you teach meaning and argument of each function?
Thank you for reading.
54 posts
Location
Italy
Posted 07 April 2017 - 01:51 PM
From which mod is that?
7083 posts
Location
Tasmania (AU)
Posted 08 April 2017 - 01:59 AM
opdoc may be able to tell you.
5 posts
Posted 08 April 2017 - 04:58 AM
Mekanism ver.9
5 posts
Posted 08 April 2017 - 05:11 AM
To:Bomb Bloke
Thank you, but I don't understand way to download.
Could you please teach me?
8543 posts
Posted 08 April 2017 - 05:22 AM
If those are the only functions listed by peripheral.getMethods, opdoc won't be of much use.
Have you tried looking through the Mekanism documentation?
5 posts
Posted 08 April 2017 - 06:54 AM
To : Lyqyd
Yes.
I searched,but any information was not provided.
So I asked it here.
1426 posts
Location
Does anyone put something serious here?
Posted 08 April 2017 - 11:41 AM
I can't seem to find any documentation for the miner, but I had a
look at the code and can make a guess at what each method does. You might also want to check out the
Mekanism wiki, which documents the digital miner's settings in more detail.
- setRadius(radius:number): Sets the chunk radius for the digital miner. The higher this is, the further away the digital miner will search for ores.
- setMin(y:number): Set the minimum y level to mine at.
- setMax(y:number): Set the maximum y level to mine at.
- addFilter(id:number[, meta:number]): Set the digital miner to only dig blocks with this id. Sadly, there isn't a nice way to query get the block id from it's name, so you're better off using the ore methods below.
- removeFilter(id:number): Remove a filter added by addFilter.
- addOreFilter(filter:string): Add an ore directionary filter. For more information, see the section on the wiki.
- removeOreFilter(filter:string): Remove a filter added by addOreFilter.
- reset(): Reset the digital miner's progress.
- start(): Start the digital miner.
- stop(): Stop the digital miner.
Edited on 08 April 2017 - 09:42 AM
5 posts
Posted 09 April 2017 - 01:00 AM
To:SquidDev
Thank you.
Solved the problem