From 8ac8eab7604c923cbc5a5ff4b519b390a4f4f658 Mon Sep 17 00:00:00 2001 From: XeKr <987820727@qq.com> Date: Sat, 13 Apr 2024 16:45:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B0=83=E6=95=B4gui=E8=B4=B4=E5=9B=BE?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0=E9=80=9A=E7=94=A8=E6=BB=91=E6=9D=A1?= =?UTF-8?q?gui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../textures/gui/container/auto_crafter.png | Bin 1369 -> 1270 bytes .../textures/gui/container/chute.png | Bin 1344 -> 1259 bytes .../textures/gui/container/royal_anvil.png | Bin 1586 -> 1522 bytes .../gui/container/royal_grindstone.png | Bin 1512 -> 1470 bytes .../gui/container/royal_smithing_table.png | Bin 1562 -> 1521 bytes .../textures/gui/container/slider.png | Bin 0 -> 723 bytes .../gui/container/slider_button_add.png | Bin 0 -> 383 bytes .../gui/container/slider_button_max.png | Bin 0 -> 391 bytes .../gui/container/slider_button_min.png | Bin 0 -> 391 bytes .../gui/container/slider_button_minus.png | Bin 0 -> 351 bytes .../textures/gui/container/slider_slider.png | Bin 0 -> 223 bytes 11 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 common/src/main/resources/assets/anvilcraft/textures/gui/container/slider.png create mode 100644 common/src/main/resources/assets/anvilcraft/textures/gui/container/slider_button_add.png create mode 100644 common/src/main/resources/assets/anvilcraft/textures/gui/container/slider_button_max.png create mode 100644 common/src/main/resources/assets/anvilcraft/textures/gui/container/slider_button_min.png create mode 100644 common/src/main/resources/assets/anvilcraft/textures/gui/container/slider_button_minus.png create mode 100644 common/src/main/resources/assets/anvilcraft/textures/gui/container/slider_slider.png diff --git a/common/src/main/resources/assets/anvilcraft/textures/gui/container/auto_crafter.png b/common/src/main/resources/assets/anvilcraft/textures/gui/container/auto_crafter.png index cd86a3852e23903ae092843e449951d693aff35c..e4d7d31b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j3V_);y|ozik6p9OO? zeXYqXM`hn~#y)Vaekm!%gMWs;mARQDs3GyD6n6<5ui}4El|OeN8KkkH726@8>x5=r z6!(9-1-`gZTS@ps1CyP6Q%og0iU}d+46Aj#HaPMDG<%^{Ou7Ph`Nh*5MGPbh4)>s1 zN>K`7uUbl0WeY93i}qHYGHMYgYL!r&}8hk3mS@fq7U>*--61O3R`vB8=y#k zlaZf~4E;`r`Bium>HIz8gCAtt^gw3QHV%08*hpzD2${ods(AV!Vu%LXKP|#+MAqet z8pVm48QYGR>MQW!o4URJtnuX+gq&KOj*7~^M?4b=7gCLUa4pha$gz$pjspX^#rH6N z0>~r3-vb&#K%bmp8L_kY*$^of;{QQD|J$y z2;5LZyyM2(*YoDxcEF0Dimv+Kl%#qllB2yWU-xPoVO<06W~xFeM@v~4XwBj;6sUTP znh1XxU-8V9`&P6|Z^#|)F>1s1Bpybp3GBh;fkrCUV{F>qcHefeojQYLp@yHbgg7#h z&}u$2YN9kS+toqvN9?2_`sTAY@8x;xKRycAS5f`EaZnHqJLaqWPnKWtNm? zIT8IxiOl*5#6W})V=I8D|4SuSB)w}{lEz*CPF<}kVFCdxOF$;A;D5tfgYvVnmSO0@ zdu`Hf0a1zV+JBA5bN*jB2ohPVzQ~wguLGy#&q-^cHAcpS#{y7C8*41L2c1`GU>S*o^TqeKi)iE0|m37oGh#=|u#* diff --git a/common/src/main/resources/assets/anvilcraft/textures/gui/container/chute.png b/common/src/main/resources/assets/anvilcraft/textures/gui/container/chute.png index 04874336ac567ef2398fd6b44e671b3c1c9f5fda..05b4032a1e6aa2f8c4eee42b8d8cd2092ec2904e 100644 GIT binary patch delta 1052 zcmZvWe^AqP7{{OQ_dD4S2!@~?zhY280arvwc$ErW3x-&KUh zE|?+6@pC!OyA%;<=E3C+OOQt393@EDI68i!0o$i9_8-^t&vVc7e%`O=-NiC7 zl^L%W$W%v;9rg0|eL3*ekkB`|J0jFgef+4Hy-5P8RNB+iqfjUiLh!73Vt3wog)jL^ zd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?vBKe)&g%)XbFJ7jddDwcCZG34kRb~>9`1?1%Ro|ns@#~E^9g8=<=*_s6ur{ z1(CE}$7HW!7j<2{8BQa*yXBj3O~)VGGs-NF&Q~6o?iGmE!Ai&So5NwjPP_BH(S#bz z*_l7L{FM+(t4mO7s2}0I(>rA$gL3sTYhGTVM&=cMx(2q9PCQn$M|!|Fm5$xv#I>uX z0yTCHe4?@S3Qu{=tU#KSyys4hzA#z8wYsaP@wNf*T4u=Y>?@JUA?Bo8LAK%KBgG}3 z2Y%h>2<7n0X@ssBPIQkqTQH*xb1pwj_j!Q%u{_~Y1}afg4a;&^y%`*-fPIRn`yf#K zd*i_CYc@xKvqosmy3^Crl6)J8$}uf?F1enm!RUDGae1P%LzlNnPk(Li=Y;|=`0a>7 zk1IuMzZiz{5{=2Ks&|1& zy}58(-Q1$5hGSX8#Ui%(4VoTc1a5Ib13B`49cy5>`)&S*U#)@>E}gWs8*?)J6aZ|J zQ!cohD#ULYVZjkW%?G)8 F{{Uu>`Un63 diff --git a/common/src/main/resources/assets/anvilcraft/textures/gui/container/royal_anvil.png b/common/src/main/resources/assets/anvilcraft/textures/gui/container/royal_anvil.png index 52a6aebc86043b794274eb925d6e974be71896bf..59062ba8e848a0343fe7a571342ca0f189523ffc 100644 GIT binary patch delta 1359 zcmZWo3pA8z82L9oO-%>4OSzQ!+)Tq!9 zqu4mK&D0i3b`((m=60X%2=<6|theSS2`3%%NKKja~#rP08%cZ<4XXiJmK5L#nr?^f}of$JBXLPfDs`b{9t|lvv zX&`cXg{W9=oHfuxndod=h~?KRLSt+@^uP%UbQlJyFSgtQXp8>eD+7Rh2VI!ht>M-# zd7Gv#wq&o=e^$}~8zxe$^$e;g#?bC6G)NPvNmUfq(vZvZsBgV=!e=y&hdWsQAR8;f zCtSxye7~wc=6&5{C4VvtZYI$(>d-Lmj%@5`y~1nHfyCMQxO!8h&iis`=(q5PPSIKX zo%|&ciTh+BP~ntI9}lhUUGEv;FKuod2-ye=rxJb`Fmsm-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4abe%9F zVVYMiN`Dji(aU&)XDD!n2vYnhCKe8PT_!6$5jPVSMi~cm6{c&(H57li*Z{Rb$L?YV z`(km)KWDXWgy}OhzuK<=qNxN9=^osY`TPe5qEzs`bU3sz=w?O7=3Bn5;LSXt;@2Lq z-@uV!W4oGk4`>RY>XdMmv$$EAP|;FPC*=T5EwpZ#cyg?PxO9m*nzb5SqYaxA+09x4 zYwkrz<3^N2;;&l`B7}0Pd_=iYx*pz=Vm#A{S)qD_nPf!hc&X^rBDFyEh-(!V?cyi7@(m%hH?};Q#c0bgQ{usi2tQ)DU*lxTZOkxX^=PyHBJcEX9$Ymi8uodB7U=o(%=mn{6#N;%ZQ!J&||8aub>wYFLKJO{rM< z!R-!8>x#^yO!bt(@$!;~NRe#rL;`y!mJ=}AXG*;YWxT%>^Vsu&daR*olHWh$+}b%{ zDYVs@9_f0O-uaB*ro?8_GHqmg3&7PRTq)Cz3WhXw?ZxUw`LDZ@naA2Mu1_af6cUJQ_)}n1$AXe8MqLMDxsNuTPGs22Vs=TsxOdx zL*4V-oFfEDO+2ChLsLm+rr#=FeO2P#Q$S3%6SXUcn4dq$mo3pPeYtC3h$$o4GYH_M z*%#+CTGW|$vPr=4@P8dU52g{sFC;ALrN#;2M!?nQe-Ue0u?YZvkd}VQ5#0AR1``l9 svIAPsj=-nA;rP>`u>LB3=`0t8K;xC8x0Awe?f%%Y)j!y;)`xfaU!=HA{{R30 diff --git a/common/src/main/resources/assets/anvilcraft/textures/gui/container/royal_smithing_table.png b/common/src/main/resources/assets/anvilcraft/textures/gui/container/royal_smithing_table.png index c1471b65b5cbc6044039ea06c237d77c18c60bdc..d534e2a7735c849e4b4b5fb5668c0e4ae7d4fd00 100644 GIT binary patch delta 1338 zcmZ9LeKeGL6vuy$!5EB}(Ar*(5g{s$O2dwsXBaP&iCLLs2|G$s5`&2GJiF0u*({Bd zm@Tt$yjI3$qir;5OG;Kz#!DlWmqbj_u$Xz4_Ut)(y8qnoxu1K__x|%O)_<>;$3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#uP ze49a>u6#qyvozaR&638&`r2{3D_gWw@dO@hjN_(yNOqwXd6yz>%SNr!7Ic&ym!eGs zU;)zc3n-PVnt4D|!b1`KstYQhk zxzC?Yyn*|VGrDliZ)l_^JWQh(TBk0(DAYl$F>&YU5c2lB}k%*I?F^e{Ld)Z}z??PjHj<#6I#hRs zNNqvL0PxUowU3#N!u!>E#V8E z3Gq1dc=&WZrxeWTwY{G<99TEAw;JZ4jbLh3yM~ouIx9NkL)3woija+G@j+MHH9^+P zlvc6iPCKrdDhr0Fk#p05Jqj^XT@%NR0@B&w`<5=Z0|)+)r}0~^IrY0z!O^LiWV^`2 zVD5KrrUvCaZoWUf0($J2Iu4o$j09c`akYjtVCYQ%!~tF5U>W2M;I2e)Ejv&?n?ccSNpBC1Sbpz<)4#n!G0h$QPXk}O$# z_!Mqm(x%YIBtxiSl9L7qhtIT@>$@Q%^pMj(h=ra3rKHB+3QNP38^#OwRSx!On~HkY zPssUyp_`xHgMAU-h%G5io<`DF)E6!2X2G;OVynB7+y%LBg^H<2yLR^Cy_^JPcjvtv z_En~{Xws~zHU$frcv{NdMAVv=?F4;uJRH{xN?Kg`uwV&qp6dm2zNB?(J~~7so$}oV z@XcJG3jq-f4bpYALCH@YL(o2vqP%6Aq?7zRCJ>!OLT} K`wiEijQ;?}1!m9y diff --git a/common/src/main/resources/assets/anvilcraft/textures/gui/container/slider.png b/common/src/main/resources/assets/anvilcraft/textures/gui/container/slider.png new file mode 100644 index 0000000000000000000000000000000000000000..777c181e3ea489ed8bb547a43adebb2f1d687074 GIT binary patch literal 723 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K58aSAN-L1;Fyx1 zl&avFo0y&&l$w}QS$Hzl2B^p^z$e5tGCD?9Ug^NWhv}Ia)ddmd6$=cEOk;u_ADo(h zU|r{eiA9T-oHn<#(a_SfcXaXb3jpc^0+mhq)<8d{JMc4W63_T6E{EqTK^)v+1O#qKdlCXzpf0L zKJ^!QCyFfF&!yl~FWAufay_E~_vLt2fo1zS6k1>ESBrLB`hSw)-!FUd1Bvyj2Oijl z@)}tBGchzsCcKgXq6KAq0oLp*<}!!qI{4mO%=W?h|KC$T^`9`D`|Z7+arMsczdB}S zP1~PZVtU|hlEK>kGYt7}H_wiLu&w7EOTu*DSr z1<%~X^wgl##FWaylc_d9MNR=eA+C|pF&2I`>6sahQT@`Y)*4!RQqnSl;;Q_jiXt*P z@(POL;*ttFt_DV?_Kq%^mQgB3{^pi8|Bvz;x@7zK1ptkid)D$Ikh<*Y;uunKE2ckE zsM&zWd2Y+nfDH>f-`8I~rKNfKmHOiJR2}bgkxN=#RGzEtTscoMl+{-Ce+9$B`d$8S zndba{{Zu^TO#MMQhMx@YvV)m+^v7_1;a}nR_w*90q}(^+zxvdm~dQI z;V$L|a_sqM!Kd)&P=HLnJEt(>B@be625F|+NGKNSrw{|n~7X0_-~5?=u{R_wvW z{^(VLcb-c({$<>}vwr4Twl%$f&lzg5t}wS?D!6^fhAU@BYm!{6)eE_XfG8znm% z932rDCKVkmAR!_T6(JWG82|wRAS^{NGBqSJPd7O{KS4w(Ia)D9YfMg10RaK|!4FL8 zmg4{b0N6=HK~#9!RFK;igCGn919)kz3JK`{e`6e)du>a&H;Scw=MAgEZ07$!fmP9%#;WLip6hHj;#vFskJTbYe$|fXJV%P$f_jd)VV65w l7o8#MDjPD6Bag2D0{}p`AS+=-?N|T+002ovPDHLkV1m0UlF$GE literal 0 HcmV?d00001 diff --git a/common/src/main/resources/assets/anvilcraft/textures/gui/container/slider_button_min.png b/common/src/main/resources/assets/anvilcraft/textures/gui/container/slider_button_min.png new file mode 100644 index 0000000000000000000000000000000000000000..e17b5f5c05a539b39a2b25bcc347d3177127c7bd GIT binary patch literal 391 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<5!3-pI!a4o{DajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_d9MXmupA+C|pF&2I`>6sahQT+;vN}{s58d`eNs@8%MYSJ>Y z;u4blqKXWRj0!rg21ceTM*ilOHujD#nwC+9F4;bQ0gQ}{KM(S6cu~p=H1LL}i(^Q| zt&j<~w>2y9xG+~_cRMl7`TzfladXD&JsZB6wYYq|*B#>KvSaN% zyUm8v`ma^>+Fq=dIk8E{My2IJOyZnkMG?-UI)-U%vsG*)4%yC7TI!!-aKk4ssO$TS zrEf&$Ck7 literal 0 HcmV?d00001 diff --git a/common/src/main/resources/assets/anvilcraft/textures/gui/container/slider_button_minus.png b/common/src/main/resources/assets/anvilcraft/textures/gui/container/slider_button_minus.png new file mode 100644 index 0000000000000000000000000000000000000000..39d0812457c895f1c564d40eea2d5c5f7bdcc10f GIT binary patch literal 351 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<5!3-pI!a4o{DajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_d9MNR=eA+C|pF&2I`>6sahQT@`Y)*4!RQqnSl;;Q_jiXt*P z@(POL;*ttFt_DV?|Bv#k82Ou9+Sog~Xj(=Yx@7zK1ptka3%Yd&NNx6XaSW-r71Mu{ z@2~*}%g3u`))VtX>aCC?udNq;H7D$u~fwA zdW%5Nt0}uYu6A(bEPW!OWD)jIVv+T`-CfJ4R+r9v6d%8A!fb(?IjO=YE3&^AM6T+Z t8fvl5de<5qwI0Q^sj??6U;p4VU?>cgpSVH8A_M4r22WQ%mvv4FO#pNfeFOji literal 0 HcmV?d00001 diff --git a/common/src/main/resources/assets/anvilcraft/textures/gui/container/slider_slider.png b/common/src/main/resources/assets/anvilcraft/textures/gui/container/slider_slider.png new file mode 100644 index 0000000000000000000000000000000000000000..1690132481de648c0499599793d9d0e69fb40672 GIT binary patch literal 223 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!WQl7;NpOBzNqJ&XDuZK6ep0G} zXKrG8YEWuoN@d~6R2!foi2$Dv*Z73C@bK`WqN4JO1qTj3{Qv*|v17*;FFC!k++zz+ zO{}MjV@SoVm@|Pw42CSs7d)cg)jwYP&3U%`r?dlgO>gu5sZVE0o@}}HfJeF`Ulf!2 z20yhq^0BjpGQvB)vS>4X1WK>qR1|UG5`7YIZ7Juf$(+yKuPk{Vp(c- R{w2^N22WQ%mvv4FO#owtPOAU_ literal 0 HcmV?d00001 From d14430ed5328ccf34732cdeeaf9315bd52b7eacd Mon Sep 17 00:00:00 2001 From: Gugle Date: Sat, 13 Apr 2024 20:22:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9GUI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gui/screen/inventory/RoyalAnvilScreen.java | 7 ++++++- .../screen/inventory/RoyalGrindstoneScreen.java | 16 +++++++++++----- .../screen/inventory/RoyalSmithingScreen.java | 8 ++++++-- .../inventory/RoyalGrindstoneMenu.java | 8 ++++---- 4 files changed, 27 insertions(+), 12 deletions(-) diff --git a/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalAnvilScreen.java b/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalAnvilScreen.java index 38c7e8ad0..3234a5711 100644 --- a/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalAnvilScreen.java +++ b/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalAnvilScreen.java @@ -34,7 +34,12 @@ public class RoyalAnvilScreen extends ItemCombinerScreen { public RoyalAnvilScreen(RoyalAnvilMenu menu, Inventory playerInventory, Component title) { super(menu, playerInventory, title, ANVIL_LOCATION); this.player = playerInventory.player; - this.titleLabelX = 60; + } + + @Override + protected void init() { + super.init(); + this.titleLabelX = (this.imageWidth - this.font.width(this.title)) / 2; } @Override diff --git a/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalGrindstoneScreen.java b/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalGrindstoneScreen.java index 3ddef3559..c002d67eb 100644 --- a/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalGrindstoneScreen.java +++ b/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalGrindstoneScreen.java @@ -19,6 +19,12 @@ public RoyalGrindstoneScreen( super(menu, playerInventory, Component.translatable("screen.anvilcraft.royal_grindstone.title")); } + @Override + protected void init() { + super.init(); + this.titleLabelX = (this.imageWidth - this.font.width(this.title)) / 2; + } + @Override public void render(@NotNull GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) { this.renderBackground(guiGraphics); @@ -36,18 +42,18 @@ protected void renderBg(@NotNull GuiGraphics guiGraphics, float partialTick, int protected void renderLabels(GuiGraphics guiGraphics) { if (this.menu.getSlot(2).hasItem()) { - drawLabel((int) (92 + 4.5 - (this.font.width(Component.literal(this.menu.usedGold.toString())) / 2)), 37, - Component.literal(this.menu.usedGold.toString()), guiGraphics); + drawLabel((int) (92 + 4.5 - (this.font.width(Component.literal("" + this.menu.usedGold)) / 2)), 38, + Component.literal("" + this.menu.usedGold), guiGraphics); drawLabel(112, 19, Component.literal( Component.translatable("screen.anvilcraft.royal_grindstone.remove_curse_number") - .getString().replace("%i", this.menu.removeCurseNumber.toString())), guiGraphics); + .getString().replace("%i", "" + this.menu.removeCurseNumber)), guiGraphics); drawLabel(112, 58, Component.literal( Component.translatable("screen.anvilcraft.royal_grindstone.remove_repair_cost") - .getString().replace("%i", this.menu.removeRepairCostNumber.toString())), guiGraphics); + .getString().replace("%i", "" + this.menu.removeRepairCostNumber)), guiGraphics); } } - private void drawLabel(int x, int y, Component component, GuiGraphics guiGraphics) { + private void drawLabel(int x, int y, Component component, @NotNull GuiGraphics guiGraphics) { int i = (this.width - this.imageWidth - 2) / 2; int j = (this.height - this.imageHeight + 23) / 2; x = x + i; diff --git a/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalSmithingScreen.java b/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalSmithingScreen.java index 202b1a01e..a77d112c6 100644 --- a/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalSmithingScreen.java +++ b/common/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/inventory/RoyalSmithingScreen.java @@ -54,8 +54,12 @@ public class RoyalSmithingScreen extends ItemCombinerScreen { */ public RoyalSmithingScreen(RoyalSmithingMenu menu, Inventory playerInventory, Component title) { super(menu, playerInventory, title, SMITHING_LOCATION); - this.titleLabelX = 44; - this.titleLabelY = 15; + } + + @Override + protected void init() { + super.init(); + this.titleLabelX = (this.imageWidth - this.font.width(this.title)) / 2; } @Override diff --git a/common/src/main/java/dev/dubhe/anvilcraft/inventory/RoyalGrindstoneMenu.java b/common/src/main/java/dev/dubhe/anvilcraft/inventory/RoyalGrindstoneMenu.java index 93426b0e7..64d5081eb 100644 --- a/common/src/main/java/dev/dubhe/anvilcraft/inventory/RoyalGrindstoneMenu.java +++ b/common/src/main/java/dev/dubhe/anvilcraft/inventory/RoyalGrindstoneMenu.java @@ -31,9 +31,9 @@ public class RoyalGrindstoneMenu extends AbstractContainerMenu { private final Container resultMaterialSlots; private final ContainerLevelAccess access; - public Integer usedGold = 0; - public Integer removeRepairCostNumber = 0; - public Integer removeCurseNumber = 0; + public int usedGold = 0; + public int removeRepairCostNumber = 0; + public int removeCurseNumber = 0; public RoyalGrindstoneMenu(MenuType type, int containerId, Inventory playerInventory) { this(type, containerId, playerInventory, ContainerLevelAccess.NULL); @@ -94,7 +94,7 @@ public void onTake(@NotNull Player player, @NotNull ItemStack stack) { usedGold + resultMaterialSlots.getItem(2).getCount())); } }); - this.addSlot(new Slot(this.resultMaterialSlots, 2, 89, 48) { + this.addSlot(new Slot(this.resultMaterialSlots, 2, 89, 47) { public boolean mayPlace(@NotNull ItemStack stack) { return false; }