- Block info detection is still broken in 1.6.4 (working on fix)

- Fixed MFR Planter
- Added /mt biomes command to see list of biomes
- Added reloaded event
- Fixing MFR Harvester
This commit is contained in:
Stan Hebben committed 2014-08-09 15:36:19 +02:00
1 parent e2b4f50dfc
commit dfceec1fd4
29 files changed
+527 -40

No files matched your search

@@ -3,6 +3,7 @@ package minetweaker.api.game;
import java.util.List;
import minetweaker.api.item.IItemDefinition;
import minetweaker.api.liquid.ILiquidDefinition;
import minetweaker.api.world.IBiome;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenGetter;
@@ -28,4 +29,12 @@ public interface IGame {
*/
@ZenGetter("liquids")
public List<ILiquidDefinition> getLiquids();
/**
* Retrieves the biomes in this game.
*
* @return game biomes
*/
@ZenGetter("Biomes")
public List<IBiome> getBiomes();
}
@@ -8,7 +8,6 @@ package minetweaker.api.logger;
import java.util.ArrayList;
import java.util.List;
import minetweaker.MineTweakerImplementationAPI;
import minetweaker.api.player.IPlayer;
import minetweaker.runtime.ILogger;
@@ -34,7 +33,7 @@ public class MTLogger implements ILogger {
if (!unprocessed.isEmpty()) {
for (String message : unprocessed) {
player.sendChat(MineTweakerImplementationAPI.platform.getMessage(message));
player.sendChat(message);
}
}
}
@@ -73,7 +72,7 @@ public class MTLogger implements ILogger {
unprocessed.add(message2);
} else {
for (IPlayer player : players) {
player.sendChat(MineTweakerImplementationAPI.platform.getMessage(message2));
player.sendChat(message2);
}
}
}
@@ -90,7 +89,7 @@ public class MTLogger implements ILogger {
unprocessed.add(message2);
} else {
for (IPlayer player : players) {
player.sendChat(MineTweakerImplementationAPI.platform.getMessage(message2));
player.sendChat(message2);
}
}
}
@@ -35,6 +35,9 @@ public interface IPlayer {
@ZenMethod
public void sendChat(IChatMessage message);
@ZenMethod
public void sendChat(String message);
@ZenGetter("hotbarSize")
public int getHotbarSize();
@@ -0,0 +1,15 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package minetweaker.api.world;
/**
*
* @author Stan
*/
public interface IBiome {
public String getName();
}