Uses of Enum Class
net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.Action
Package
Description
-
Uses of ServerboundPlayerActionPacket.Action in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap<com.mojang.datafixers.util.Pair<BlockPos,
ServerboundPlayerActionPacket.Action>, Vec3> MultiPlayerGameMode.unAckedActions
Modifier 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
Modifier and TypeFieldDescriptionprivate final ServerboundPlayerActionPacket.Action
ClientboundBlockBreakAckPacket.action
The field for theaction
record component.private final ServerboundPlayerActionPacket.Action
ServerboundPlayerActionPacket.action
Modifier 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.ModifierConstructorDescriptionClientboundBlockBreakAckPacket
(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
Modifier 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_)