-
How to move chat messages box
but there's no place to moving hud,there's best place for hud
-
How to move chat messages box
-
[SOLVED]How to draw a string in center
thank you very much
-
[SOLVED]How to draw a string in center
if (mc.theWorld != null) { String text = "Hello!"; int width = mc.fontRendererObj.getStringWidth(text); mc.fontRendererObj.drawStringWithShadow(text, mc.displayWidth/2-width/2, 0, 0xFFFFFF); } here's code
-
[SOLVED]How to draw a string in center
i want to draw a string in center when player is playing but it won't draw in correct location,it always draw in right,when i resize game to small,it draw in correct location
-
[SOLVED]How to use custom unicode font
thanks,i override renderUnicodeChar,and it works
-
[SOLVED]How to use custom unicode font
i have a unicode font package,but how to use it to render text in Minecraft?
-
[SOLVED]Server can't recevie packet
thanks,i found it at Minecraft class
-
[SOLVED]Server can't recevie packet
thank you,but how to get a NetworkManager instance?
-
[SOLVED]Server can't recevie packet
mod will send a packet to server when player join,but server can't recevie packet here's code @SubscribeEvent public void joinWorld(EntityJoinWorldEvent e) { if (e.entity != Minecraft.getMinecraft().thePlayer) return; Minecraft.getMinecraft().thePlayer.sendQueue.handleCustomPayload(new S3FPacketCustomPayload("CV",new PacketBuffer(Unpooled.copiedBuffer(VERSION.getBytes())))); LogManager.getLogger().info("Packet Sent"); } VERSION is String type server plugin's code Bukkit.getMessenger().registerIncomingPluginChannel(this, "CV", (String channel, Player ply, byte[] bytes) -> { String version = new String(bytes); getLogger().log(Level.INFO, "Player client version:{0}", version); }); after player join,server doesn't write out client version
-
[SOLVED][1.8.8]How to get server information
okay,thanks
-
[SOLVED][1.8.8]How to get server information
but i can't find this class,is this class available in 1.8.8?
-
[SOLVED][1.8.8]How to get server information
i want to get a server's information(players,ping) when not connected but i don't know how
-
[SOLVED][1.8.8]Can't start game
thanks to jabalar i am try to use gradlew to build,and it can start
-
[SOLVED][1.8.8]Can't start game
Use Export in eclipse
IPS spam blocked by CleanTalk.