Mods:MFR Support

From MineTweaker 3
Revision as of 21:20, 21 August 2014 by Stan (Talk)

Jump to: navigation, search

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

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

(Unfinished)

Fruit Picker

(Unfinished)

Grinder

(Unfinished)

Harvester

(Unfinished)

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

(Unfinished)

You can define new plantable items in the planter:

import mods.mfr.Planter;

Planter.addPlantable(<tile.forceSapling>);

Rancher

(Unfinished)

RedNet

(Unfinished)

RubberTree

Does your favorite worldgen mod not spawn rubber trees in the right biome? Fix it easily:

import mods.mfr.RubberTree;

RubberTree.addBiome("SuperXLBiome");
RubberTree.removeBiome("SuperXLBiome");

To find the list of biome names, use /mt biomes !

SafariNet

(Unfinished)

SludgeBoiler

(Unfinished)