diff --git a/gradle.properties b/gradle.properties index abf168d..c342235 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,4 +14,4 @@ botania=1.16.2-405 jei_version=jei-1.16.5:7.7.1.137 version_major=2 -version_minor=6 \ No newline at end of file +version_minor=5 \ No newline at end of file diff --git a/src/main/java/thetadev/constructionwand/client/ScreenWand.java b/src/main/java/thetadev/constructionwand/client/ScreenWand.java index 167bd0b..b987e49 100644 --- a/src/main/java/thetadev/constructionwand/client/ScreenWand.java +++ b/src/main/java/thetadev/constructionwand/client/ScreenWand.java @@ -56,13 +56,9 @@ public class ScreenWand extends Screen } @Override - public boolean keyPressed(int keyCode, int scanCode, int modifiers) { - if (Minecraft.getInstance().gameSettings.keyBindInventory.matchesKey(keyCode, scanCode)) { - this.closeScreen(); - return true; - } else { - return super.keyPressed(keyCode, scanCode, modifiers); - } + public boolean charTyped(char character, int code) { + if(character == 'e') closeScreen(); + return super.charTyped(character, code); } private void createButton(int cx, int cy, IOption option) { diff --git a/src/main/resources/assets/constructionwand/textures/block/conjured_block.png b/src/main/resources/assets/constructionwand/textures/block/conjured_block.png new file mode 100644 index 0000000..7fc945c Binary files /dev/null and b/src/main/resources/assets/constructionwand/textures/block/conjured_block.png differ