User Tools

Site Tools


tutorial:command_argument_types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:command_argument_types [2024/04/15 07:15] solidblocktutorial:command_argument_types [2024/04/15 07:21] (current) – [Custom argument serializer] solidblock
Line 222: Line 222:
     public void writePacket(Properties properties, PacketByteBuf buf) {     public void writePacket(Properties properties, PacketByteBuf buf) {
       // Writes the basic properties to a packet. You should ensure all properties       // Writes the basic properties to a packet. You should ensure all properties
-      // can be in some ways stored in the packed.+      // can be in some ways stored in the packet.
       buf.writeBoolean(properties.booleanValue).writeInt(properties.intValue);       buf.writeBoolean(properties.booleanValue).writeInt(properties.intValue);
     }     }
tutorial/command_argument_types.1713165304.txt.gz · Last modified: 2024/04/15 07:15 by solidblock