📃
Scripting
  • Introduction
  • Creating a script
  • Dummy API
  • Namespaces
    • breeze
    • mc
    • inventory
    • mathUtil
    • playerController
    • UIRenderer
    • world
    • render3D
    • gameSettings
  • Objects
    • Breeze
      • Settings
        • BooleanSetting
        • IntSetting
        • DoubleSetting
        • ModeSetting
        • ColorSetting
        • MinMaxSetting
        • StringSetting
        • KeyBindSetting
        • PositionSetting
      • Animation
      • Module
        • HudModule
        • RotationModule
    • Minecraft
      • Packets
        • ClientPacket
          • C00PacketKeepAlive
          • C01PacketChatMessage
          • C02PacketUseEntity
          • C03PacketPlayer
            • C04PacketPlayerPosition
            • C05PacketPlayerLook
            • C06PacketPlayerPosLook
          • C07PacketPlayerDigging
          • C08PacketBlockPlacement
          • C09PacketHeldItemChange
          • C0APacketAnimation
          • C0BPacketEntityAction
          • C0CPacketInput
          • C0DPacketCloseWindow
          • C0EPacketClickWindow
          • C0FPacketConfirmTransaction
          • C17PacketCustomPayload
        • ServerPacket
          • S00PacketKeepAlive
          • S01PacketJoinGame
          • S02PacketChat
          • S03PacketTimeUpdate
          • S04PacketEntityEquipment
          • S05PacketSpawnPosition
          • S06PacketUpdateHealth
          • S07PacketRespawn
          • S08PacketPlayerPosLook
          • S09PacketHeldItemChange
          • S0CPacketSpawnPlayer
          • S0DPacketCollectItem
          • S0EPacketSpawnObject
          • S0FPacketSpawnMob
          • S12PacketEntityVelocity
          • S13PacketDestroyEntities
          • S14PacketEntity
            • S15PacketEntityRelMove
            • S16PacketEntityLook
            • S17PacketEntityLookMove
          • S18PacketEntityTeleport
          • S19PacketEntityHeadLook
          • S19PacketEntityStatus
          • S27PacketExplosion
          • S2APacketParticles
          • S2CPacketSpawnGlobalEntity
          • S2DPacketOpenWindow
          • S2EPacketCloseWindow
          • S2FPacketSetSlot
          • S3FPacketCustomPayload
      • Util
        • Vec3
        • AxisAlingenedBB
        • RaytraceResult
        • ItemStack
        • BlockPos
      • Entity
        • LivingEntity
          • EntityPlayerSP
    • Util
      • Timer
      • KeyBind
      • Color
      • Rotation
  • Events
    • Packet send event
    • Packet receive event
    • Pre motion event
    • Motion event
    • Post motion event
    • Input event
    • Render2D event
    • Render3D event
    • Tick event
    • Render Entity event
    • World change event
    • Join server event
  • Examples
    • AntiAim
    • CPS Counter
    • Chat Spammer
    • Blink
    • Auto Sprint
  • EnumFacing
Powered by GitBook
On this page
  • new C07PacketPlayerDigging(String action, BlockPos pos, String face)
  • getPosition(): BlockPos
  • setPosition(BlockPos pos): void
  • getFace(): String
  • setFace(String face): void
  • getAction(): String
  • setAction(String action): void
  • Action Types for C07PacketPlayerDigging
  1. Objects
  2. Minecraft
  3. Packets
  4. ClientPacket

C07PacketPlayerDigging

Last updated 9 months ago

new C07PacketPlayerDigging(String action, pos, String face)

Constructs a new C07PacketPlayerDigging object with the specified , target block position, and of the block. action is a string representing the digging action, block is a BlockPos object indicating the position of the block, and face is a string indicating the block face involved in the action.

getPosition():

Returns a object representing the position of the block that is being interacted with.

setPosition( pos): void

Sets the position for this packet.

getFace(): String

Returns a String representing the face that is being interacted with, a list of possible faces can be found .

setFace(String face): void

Sets the face that is being interacted with, a list of possible faces can be found .

getAction(): String

Returns a String that corresponds to one of the action types described below.

setAction(String action): void

Action Types for C07PacketPlayerDigging

The C07PacketPlayerDigging class supports the following actions:

Action Type
Description

START_DESTROY_BLOCK

Begin destroying a block.

ABORT_DESTROY_BLOCK

Abort the action of destroying a block.

STOP_DESTROY_BLOCK

Stop/finish destroying a block.

DROP_ALL_ITEMS

Drop the entire stack you are holding currently.

DROP_ITEM

Drop the currently held item.

RELEASE_USE_ITEM

Release the use of the currently held item.

Sets the action for this packet, you can choose from the all the actions described .

BlockPos
face
BlockPos
BlockPos
BlockPos
here
here
action
here