Untitled
unknown
java
3 years ago
456 B
2
Indexable
@Override protected void init() { int guiLeft = (this.width - 256) / 2; int guiTop = (this.height - 210) / 2; this.addButton(new CustomButton(guiLeft + 42, guiTop + 36, 15, 15, new StringTextComponent("+"), button -> { PacketHandler.INSTANCE.send(PacketDistributor.SERVER.noArg(), new UpgradeShinobiPlayerStatPacket("ninjutsu")); this.minecraft.player.closeContainer(); })); }
Editor is loading...