-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Portable workbench is now usable on its own.
Raziel is now a utility application, and can now be put into a suits Ability Module. Updated GUIs to highlight energy slot.
- Loading branch information
1 parent
6932862
commit ce971b5
Showing
41 changed files
with
181 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/main/java/sunsetsatellite/signalindustries/items/applications/ItemPortableWorkbench.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package sunsetsatellite.signalindustries.items.applications; | ||
|
||
import net.minecraft.core.entity.player.EntityPlayer; | ||
import net.minecraft.core.item.ItemStack; | ||
import net.minecraft.core.util.helper.Side; | ||
import net.minecraft.core.world.World; | ||
import sunsetsatellite.signalindustries.items.applications.base.ItemWithUtility; | ||
import sunsetsatellite.signalindustries.powersuit.SignalumPowerSuit; | ||
import sunsetsatellite.signalindustries.util.Tier; | ||
|
||
public class ItemPortableWorkbench extends ItemWithUtility { | ||
public ItemPortableWorkbench(String name, int id, Tier tier) { | ||
super(name, id, tier); | ||
} | ||
|
||
@Override | ||
public void activate(ItemStack stack, SignalumPowerSuit signalumPowerSuit, EntityPlayer player, World world) { | ||
player.displayGUIWorkbench((int) player.x, (int) player.y, (int) player.z); | ||
} | ||
|
||
@Override | ||
public ItemStack onUseItem(ItemStack itemstack, World world, EntityPlayer player) { | ||
player.displayGUIWorkbench((int) player.x, (int) player.y, (int) player.z); | ||
return itemstack; | ||
} | ||
|
||
@Override | ||
public boolean onUseItemOnBlock(ItemStack itemstack, EntityPlayer player, World world, int blockX, int blockY, int blockZ, Side side, double xPlaced, double yPlaced) { | ||
player.displayGUIWorkbench((int) player.x, (int) player.y, (int) player.z); | ||
return true; | ||
} | ||
} |
10 changes: 5 additions & 5 deletions
10
...dustries/items/ItemPortableWorkbench.java → ...stries/items/applications/ItemRaziel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
package sunsetsatellite.signalindustries.items; | ||
package sunsetsatellite.signalindustries.items.applications; | ||
|
||
import net.minecraft.core.entity.player.EntityPlayer; | ||
import net.minecraft.core.item.ItemStack; | ||
import net.minecraft.core.world.World; | ||
import sunsetsatellite.signalindustries.items.applications.ItemWithUtility; | ||
import sunsetsatellite.signalindustries.items.applications.base.ItemWithUtility; | ||
import sunsetsatellite.signalindustries.powersuit.SignalumPowerSuit; | ||
import sunsetsatellite.signalindustries.util.Tier; | ||
|
||
public class ItemPortableWorkbench extends ItemWithUtility { | ||
public ItemPortableWorkbench(String name, int id, Tier tier) { | ||
public class ItemRaziel extends ItemWithUtility { | ||
public ItemRaziel(String name, int id, Tier tier) { | ||
super(name, id, tier); | ||
} | ||
|
||
@Override | ||
public void activate(ItemStack stack, SignalumPowerSuit signalumPowerSuit, EntityPlayer player, World world) { | ||
player.displayGUIWorkbench((int) player.x, (int) player.y, (int) player.z); | ||
|
||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...ignalindustries/items/ItemSmartWatch.java → ...es/items/applications/ItemSmartWatch.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/items/applications/ItemWithAbility.java → ...ms/applications/base/ItemWithAbility.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...s/items/applications/ItemWithUtility.java → ...ms/applications/base/ItemWithUtility.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+58 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/autominer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/awakened_booster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+65 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/basic_assembler_gui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+67 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/basic_energy_connector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+54 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/basic_pump.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+72 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/centrifuge_reinforced.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+66 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/dimensional_anchor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+57 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/dynamo_basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+51 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/energy_injector_basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+62 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/generic_basic_machine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+62 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/generic_basic_machine_double.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+40 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/generic_machine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+37 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/generic_machine_double.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+66 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/generic_prototype_machine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+66 Bytes
(100%)
...main/resources/assets/signalindustries/gui/generic_prototype_machine_double.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+43 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/generic_reinforced_machine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+40 Bytes
(100%)
...ain/resources/assets/signalindustries/gui/generic_reinforced_machine_double.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+60 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/infuser_basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+52 Bytes
(110%)
src/main/resources/assets/signalindustries/gui/infuser_recipe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+58 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/programmer_basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+60 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/redstone_booster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+81 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/reinforced_assembler_gui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+58 Bytes
(100%)
src/main/resources/assets/signalindustries/gui/reinforced_energy_connector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.