Difference between revisions of "Mods:MFR Support"
(Created page with "Since 3.0.7, MineFactory Reloaded is now supported. Both the 1.6.4 and 1.7.10 versions are supported, but quite a few features have not been extensively tested so expect bugs!...") |
|||
Line 1: | Line 1: | ||
− | Since 3.0.7, MineFactory Reloaded is now supported. Both the 1.6.4 and 1.7.10 versions are supported, but quite a few features have not been extensively tested so expect bugs! | + | ''NOTICE: This page uses 1.6.4 item syntax. Use the proper syntax when working in 1.7.10.'' |
+ | |||
+ | Since 3.0.7, MineFactory Reloaded is now supported. Both the 1.6.4 and 1.7.10 versions are supported, but quite a few features have not been extensively tested so expect bugs! Some machines have their support still under development. | ||
== Auto spawner == | == Auto spawner == | ||
− | + | It is possible to add and remove entities to the blacklist if you know the class name: | |
+ | |||
+ | import mods.mfr.AutoSpawner; | ||
+ | |||
+ | # Substitute with the desired entity class name | ||
+ | AutoSpawner.addBlacklist("mods.natura.entity.NitroCreeper"); | ||
+ | AutoSpawner.removeBlacklist("mods.natura.entity.NitroCreeper"); | ||
+ | |||
+ | The given entity class name must be a valid living entity. If you want to know which entity names exist in the game, use the /mt entities command to generate the list for you. | ||
== Fertilizer == | == Fertilizer == | ||
Line 14: | Line 24: | ||
== MiningLaser == | == MiningLaser == | ||
+ | |||
+ | It is possible to add and remove ores from the mining laser: | ||
+ | |||
+ | import mods.mfr.MiningLaser; | ||
+ | |||
+ | MiningLaser.addOre(<tile.stone>.weight(1000)); # Let's be an asshole and make it generate stone most of the time | ||
+ | MiningLaser.addOre((<tile.stone> * 2).withTag({Display: {Name: "Funny Stone"}}).weight(1000)); # works with stack sizes and tags | ||
+ | MiningLaser.removeOre(<tile.oreIron>); # can use ore dictionary entries, too (will remove all matching items) | ||
+ | |||
+ | MiningLaser.addPreferredOre(1, <tile.oreIron>); # color codes are the same as the wool meta values | ||
+ | MiningLaser.removePreferredOre(1, <tile.oreIron>); | ||
+ | |||
+ | To see which laser ores exist, use the /mt mfr laserores command. It also prints the preferred laser ore list to see the laser's color preferences. | ||
== Planter == | == Planter == | ||
+ | |||
+ | You can define new plantable items in the planter: | ||
+ | |||
+ | import mods.mfr.Planter; | ||
+ | |||
+ | Planter.addPlantable(<tile.forceSapling>); | ||
== Rancher == | == Rancher == |
Revision as of 21:13, 21 August 2014
NOTICE: This page uses 1.6.4 item syntax. Use the proper syntax when working in 1.7.10.
Since 3.0.7, MineFactory Reloaded is now supported. Both the 1.6.4 and 1.7.10 versions are supported, but quite a few features have not been extensively tested so expect bugs! Some machines have their support still under development.
Contents
Auto spawner
It is possible to add and remove entities to the blacklist if you know the class name:
import mods.mfr.AutoSpawner; # Substitute with the desired entity class name AutoSpawner.addBlacklist("mods.natura.entity.NitroCreeper"); AutoSpawner.removeBlacklist("mods.natura.entity.NitroCreeper");
The given entity class name must be a valid living entity. If you want to know which entity names exist in the game, use the /mt entities command to generate the list for you.
Fertilizer
Fruit Picker
Grinder
Harvester
MiningLaser
It is possible to add and remove ores from the mining laser:
import mods.mfr.MiningLaser; MiningLaser.addOre(<tile.stone>.weight(1000)); # Let's be an asshole and make it generate stone most of the time MiningLaser.addOre((<tile.stone> * 2).withTag({Display: {Name: "Funny Stone"}}).weight(1000)); # works with stack sizes and tags MiningLaser.removeOre(<tile.oreIron>); # can use ore dictionary entries, too (will remove all matching items) MiningLaser.addPreferredOre(1, <tile.oreIron>); # color codes are the same as the wool meta values MiningLaser.removePreferredOre(1, <tile.oreIron>);
To see which laser ores exist, use the /mt mfr laserores command. It also prints the preferred laser ore list to see the laser's color preferences.
Planter
You can define new plantable items in the planter:
import mods.mfr.Planter; Planter.addPlantable(<tile.forceSapling>);