-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed hatch tank icon, started prep for button refactor
- Loading branch information
Showing
19 changed files
with
39 additions
and
42 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
12 changes: 0 additions & 12 deletions
12
common/src/main/java/muramasa/antimatter/gui/container/ContainerHatch.java
This file was deleted.
Oops, something went wrong.
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
25 changes: 25 additions & 0 deletions
25
common/src/main/java/muramasa/antimatter/gui/widget/TankIconWidget.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,25 @@ | ||
package muramasa.antimatter.gui.widget; | ||
|
||
import com.mojang.blaze3d.vertex.PoseStack; | ||
import muramasa.antimatter.Ref; | ||
import muramasa.antimatter.gui.GuiInstance; | ||
import muramasa.antimatter.gui.IGuiElement; | ||
import muramasa.antimatter.gui.Widget; | ||
import net.minecraft.resources.ResourceLocation; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public class TankIconWidget extends Widget { | ||
protected TankIconWidget(@NotNull GuiInstance gui, @Nullable IGuiElement parent) { | ||
super(gui, parent); | ||
} | ||
|
||
@Override | ||
public void render(PoseStack matrixStack, double mouseX, double mouseY, float partialTicks) { | ||
drawTexture(matrixStack, new ResourceLocation(Ref.ID, "textures/gui/button/tank.png"), realX(), realY(), 0, 0, 18, 18, 18, 18); | ||
} | ||
|
||
public static WidgetSupplier build() { | ||
return builder(TankIconWidget::new); | ||
} | ||
} |
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 added
BIN
+723 Bytes
common/src/main/resources/assets/antimatter/textures/gui/button/apad_left.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 added
BIN
+728 Bytes
common/src/main/resources/assets/antimatter/textures/gui/button/apad_right.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 added
BIN
+679 Bytes
common/src/main/resources/assets/antimatter/textures/gui/button/conditional.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 added
BIN
+624 Bytes
common/src/main/resources/assets/antimatter/textures/gui/button/export.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 added
BIN
+627 Bytes
common/src/main/resources/assets/antimatter/textures/gui/button/export_import.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 added
BIN
+797 Bytes
...on/src/main/resources/assets/antimatter/textures/gui/button/ignore_redstone.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 added
BIN
+631 Bytes
common/src/main/resources/assets/antimatter/textures/gui/button/import.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 added
BIN
+623 Bytes
common/src/main/resources/assets/antimatter/textures/gui/button/import_export.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 added
BIN
+663 Bytes
...src/main/resources/assets/antimatter/textures/gui/button/invert_conditional.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 added
BIN
+570 Bytes
common/src/main/resources/assets/antimatter/textures/gui/button/no_overlay.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 added
BIN
+712 Bytes
common/src/main/resources/assets/antimatter/textures/gui/button/pad_left.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 added
BIN
+710 Bytes
common/src/main/resources/assets/antimatter/textures/gui/button/pad_right.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 added
BIN
+169 Bytes
common/src/main/resources/assets/antimatter/textures/gui/button/tank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.