Class ActionKey
java.lang.Object
com.beansgalaxy.backpacks.network.serverbound.ActionKey
- All Implemented Interfaces:
Packet2S
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ActionKey
public ActionKey(boolean actionKeyPressed) -
ActionKey
public ActionKey(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
send
public static void send(boolean actionKeyPressed) -
getNetwork
- Specified by:
getNetworkin interfacePacket2S
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf buf) -
handle
public void handle(net.minecraft.server.level.ServerPlayer sender)
-