Class net.minecraft.client.network.ClientPlayerInteractionManager

This description should be content pulled from the first comments of a lua file.

Constructors

ClientPlayerInteractionManager(client, networkHandler) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

instance:attackBlock(pos, direction) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:attackEntity(player, target) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:breakBlock(pos) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:cancelBlockBreaking() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:clickButton(syncId, buttonId) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:clickCreativeStack(stack, slotId) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:clickRecipe(syncId, recipe, craftAll) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:clickSlot(syncId, slotId, button, actionType, player) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:copyAbilities(player) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:createPlayer(world, statHandler, recipeBook) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:createPlayer(world, statHandler, recipeBook, lastSneaking, lastSprinting) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:dropCreativeStack(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:equals(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getClass() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getCurrentGameMode() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getPreviousGameMode() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getReachDistance() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hasCreativeInventory() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hasExperienceBar() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hasExtendedReach() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hasLimitedAttackSpeed() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hasRidingInventory() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hasStatusBars() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hashCode() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:interactBlock(player, world, hand, hitResult) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:interactEntity(player, entity, hand) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:interactEntityAtLocation(player, entity, hitResult, hand) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:interactItem(player, world, hand) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isBreakingBlock() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isFlyingLocked() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notify() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:pickFromInventory(slot) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:processPlayerActionResponse(world, pos, state, action, approved) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setGameMode(gameMode) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setGameModes(gameMode, previousGameMode) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:stopUsingItem(player) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:tick() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toString() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:updateBlockBreakingProgress(pos, direction) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0, arg1) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Constructors

ClientPlayerInteractionManager(client, networkHandler)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • client userdata, MinecraftClient This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • networkHandler userdata, ClientPlayNetworkHandler This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Instance Methods

instance:attackBlock(pos, direction)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • direction userdata, Direction This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:attackEntity(player, target)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • target userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:breakBlock(pos)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:cancelBlockBreaking()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:clickButton(syncId, buttonId)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • syncId int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • buttonId int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:clickCreativeStack(stack, slotId)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • slotId int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:clickRecipe(syncId, recipe, craftAll)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • syncId int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • recipe userdata, Recipe This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • craftAll boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:clickSlot(syncId, slotId, button, actionType, player)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • syncId int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • slotId int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • button int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • actionType userdata, SlotActionType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:copyAbilities(player)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:createPlayer(world, statHandler, recipeBook)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • world userdata, ClientWorld This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • statHandler userdata, StatHandler This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • recipeBook userdata, ClientRecipeBook This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, ClientPlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:createPlayer(world, statHandler, recipeBook, lastSneaking, lastSprinting)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • world userdata, ClientWorld This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • statHandler userdata, StatHandler This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • recipeBook userdata, ClientRecipeBook This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • lastSneaking boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • lastSprinting boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, ClientPlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:dropCreativeStack(stack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:equals(arg0)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getClass()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Class This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getCurrentGameMode()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, GameMode This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getPreviousGameMode()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, GameMode This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getReachDistance()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hasCreativeInventory()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hasExperienceBar()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hasExtendedReach()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hasLimitedAttackSpeed()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hasRidingInventory()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hasStatusBars()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hashCode()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:interactBlock(player, world, hand, hitResult)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, ClientPlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • world userdata, ClientWorld This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • hand userdata, Hand This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • hitResult userdata, BlockHitResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, ActionResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:interactEntity(player, entity, hand)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • hand userdata, Hand This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, ActionResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:interactEntityAtLocation(player, entity, hitResult, hand)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • hitResult userdata, EntityHitResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • hand userdata, Hand This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, ActionResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:interactItem(player, world, hand)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • world userdata, World This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • hand userdata, Hand This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, ActionResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:isBreakingBlock()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:isFlyingLocked()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:notify()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:pickFromInventory(slot)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • slot int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:processPlayerActionResponse(world, pos, state, action, approved)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • world userdata, ClientWorld This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • state userdata, BlockState This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • action userdata, PlayerActionC2SPacket$Action This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • approved boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setGameMode(gameMode)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • gameMode userdata, GameMode This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:setGameModes(gameMode, previousGameMode)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • gameMode userdata, GameMode This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • previousGameMode userdata, GameMode This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:stopUsingItem(player)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:tick()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toString()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:updateBlockBreakingProgress(pos, direction)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • direction userdata, Direction This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:wait()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:wait(arg0, arg1)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • arg1 int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"