Uses of Enum Class
net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.Action
Packages that use ServerboundPlayerActionPacket.Action
Package
Description
-
Uses of ServerboundPlayerActionPacket.Action in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type ServerboundPlayerActionPacket.ActionModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap<com.mojang.datafixers.util.Pair<BlockPos,
ServerboundPlayerActionPacket.Action>, Vec3> MultiPlayerGameMode.unAckedActions
Methods in net.minecraft.client.multiplayer with parameters of type ServerboundPlayerActionPacket.ActionModifier and TypeMethodDescriptionvoid
MultiPlayerGameMode.handleBlockBreakAck
(ClientLevel p_105257_, BlockPos p_105258_, BlockState p_105259_, ServerboundPlayerActionPacket.Action p_105260_, boolean p_105261_) private void
MultiPlayerGameMode.sendBlockAction
(ServerboundPlayerActionPacket.Action p_105273_, BlockPos p_105274_, Direction p_105275_) -
Uses of ServerboundPlayerActionPacket.Action in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ServerboundPlayerActionPacket.ActionModifier and TypeFieldDescriptionprivate final ServerboundPlayerActionPacket.Action
ClientboundBlockBreakAckPacket.action
The field for theaction
record component.private final ServerboundPlayerActionPacket.Action
ServerboundPlayerActionPacket.action
Methods in net.minecraft.network.protocol.game that return ServerboundPlayerActionPacket.ActionModifier and TypeMethodDescriptionClientboundBlockBreakAckPacket.action()
Returns the value of theaction
record component.ServerboundPlayerActionPacket.getAction()
Returns the enum constant of this class with the specified name.static ServerboundPlayerActionPacket.Action[]
ServerboundPlayerActionPacket.Action.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in net.minecraft.network.protocol.game with parameters of type ServerboundPlayerActionPacket.ActionModifierConstructorDescriptionClientboundBlockBreakAckPacket
(BlockPos pos, BlockState state, ServerboundPlayerActionPacket.Action action, boolean allGood) Creates an instance of aClientboundBlockBreakAckPacket
record class.ClientboundBlockBreakAckPacket
(BlockPos p_131654_, BlockState p_131655_, ServerboundPlayerActionPacket.Action p_131656_, boolean p_131657_, String p_131658_) ServerboundPlayerActionPacket
(ServerboundPlayerActionPacket.Action p_134272_, BlockPos p_134273_, Direction p_134274_) -
Uses of ServerboundPlayerActionPacket.Action in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type ServerboundPlayerActionPacket.ActionModifier and TypeMethodDescriptionvoid
ServerPlayerGameMode.destroyAndAck
(BlockPos p_9287_, ServerboundPlayerActionPacket.Action p_9288_, String p_9289_) void
DemoMode.handleBlockBreakAction
(BlockPos p_140753_, ServerboundPlayerActionPacket.Action p_140754_, Direction p_140755_, int p_140756_) void
ServerPlayerGameMode.handleBlockBreakAction
(BlockPos p_9282_, ServerboundPlayerActionPacket.Action p_9283_, Direction p_9284_, int p_9285_)