Fixing API changes...

This commit is contained in:
LemADEC 2014-10-05 18:11:16 +02:00
parent 0dbe78e797
commit 347a8f0f2d
2 changed files with 25 additions and 19 deletions

View file

@ -54,21 +54,26 @@ public class TileEntityProtocol extends WarpInterfacedTE {
public TileEntityProtocol() {
peripheralName = "warpcore";
methodsArray = new String[] {
"dim_getp", "dim_setp",
"dim_getn", "dim_setn",
"set_mode",
"set_distance", "set_direction",
"get_attached_players", "summon", "summon_all",
"get_x", "get_y", "get_z",
"get_energy_level", /* "get_energy_max",/**/
"do_jump",
"get_ship_size",
"set_beacon_frequency",
"get_dx", "get_dz",
"set_core_frequency",
"is_in_space", "is_in_hyperspace",
"set_target_jumpgate",
"isAttached", "get_energy_required"
"dim_positive",
"dim_negative",
"mode",
"distance",
"direction",
"getAttachedPlayers",
"summon",
"summonAll",
"pos",
"getEnergyLevel",
"jump",
"getShipSize",
"beaconFrequency",
"getOrientation",
"coreFrequency",
"isInSpace",
"isInHyperspace",
"targetJumpgate",
"isAttached",
"getEnergyRequired"
};
}

View file

@ -50,10 +50,11 @@ public class TileEntityShipScanner extends WarpEnergyTE {
public TileEntityShipScanner() {
peripheralName = "shipscanner";
methodsArray = new String[] {
"scan", // 0
"fileName", // 1
"getEnergyLevel", // 2
"deploy" // 3 deployShipFromSchematic(file, offsetX, offsetY, offsetZ)
"scan",
"fileName",
"getEnergyLevel",
"deploy",
"state"
};
}