Version up and config gui finished.

This commit is contained in:
alexcrea 2024-05-06 22:42:31 +02:00
parent af29fd666b
commit e6542ce85a
No known key found for this signature in database
GPG key ID: 43FD265DB0DBF91F
3 changed files with 3 additions and 15 deletions

View file

@ -4,7 +4,7 @@ plugins {
} }
group = "xyz.alexcrea" group = "xyz.alexcrea"
version = "1.4.3a" version = "1.4.4"
repositories { repositories {
mavenCentral() mavenCentral()

View file

@ -29,7 +29,7 @@ public class MainConfigGui extends ChestGui {
private void init() { private void init() {
Pattern pattern = new Pattern( Pattern pattern = new Pattern(
"I00000000", "000000000",
"012304567", "012304567",
"Q00000000" "Q00000000"
); );
@ -137,18 +137,6 @@ public class MainConfigGui extends ChestGui {
}, CustomAnvil.instance); }, CustomAnvil.instance);
pane.bindItem('Q', quitItem); pane.bindItem('Q', quitItem);
// create & bind "info" item
ItemStack infoItemstack = new ItemStack(Material.PAPER);
ItemMeta infoMeta = infoItemstack.getItemMeta();
assert infoMeta != null;
infoMeta.setDisplayName("\u00A7eThis is a alpha version of the gui !");
infoMeta.setLore(Collections.singletonList("\u00A77If you have feedback or idea you can send them to the dev !"));
infoItemstack.setItemMeta(infoMeta);
GuiItem infoItem = new GuiItem(infoItemstack, GuiGlobalActions.stayInPlace, CustomAnvil.instance);
pane.bindItem('I', infoItem);
} }
} }

View file

@ -1,7 +1,7 @@
main: io.delilaheve.CustomAnvil main: io.delilaheve.CustomAnvil
name: CustomAnvil name: CustomAnvil
prefix: "Custom Anvil" prefix: "Custom Anvil"
version: 1.4.3a version: 1.4.4
description: Allow to customise anvil mechanics description: Allow to customise anvil mechanics
api-version: 1.18 api-version: 1.18
load: POSTWORLD load: POSTWORLD