mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-22 07:23:51 +00:00
Add Pick Block support for controllers (D-Pad Down) across all platforms
This commit is contained in:
parent
8cbc7606ac
commit
2cdedcff3f
6 changed files with 17 additions and 0 deletions
|
|
@ -1454,6 +1454,7 @@ void Minecraft::run_middle()
|
|||
if(InputManager.ButtonPressed(i, ACTION_MENU_GTC_PAUSE)) localplayers[i]->ullButtonsPressed|=1LL<<ACTION_MENU_GTC_PAUSE;
|
||||
#endif
|
||||
if(InputManager.ButtonPressed(i, MINECRAFT_ACTION_DROP)) localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_DROP;
|
||||
if(InputManager.ButtonPressed(i, MINECRAFT_ACTION_PICK_ITEM)) localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_PICK_ITEM;
|
||||
|
||||
// 4J-PB - If we're flying, the sneak needs to be held on to go down
|
||||
if(localplayers[i]->abilities.flying)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue