Untitled
Anonymous
java
02/25/2022 2:28 PM
608 B
12
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...