Fix bucket pickup with scale-aware aiming and build-local Botcraft patches
This commit is contained in:
1 parent
0a6193f68e
commit
12c7332337
10 files changed
+416
-40
No files matched your search
@@ -8,10 +8,12 @@
|
||||
namespace Botcraft
|
||||
{
|
||||
class Window;
|
||||
class Blockstate;
|
||||
}
|
||||
|
||||
namespace ProtocolCraft
|
||||
{
|
||||
class Packet;
|
||||
class ServerboundContainerClickPacket;
|
||||
class Slot;
|
||||
}
|
||||
@@ -35,6 +37,9 @@ void MaintainActionInputs(BilicraftClient &client);
|
||||
short ActionGuiSlot(Botcraft::InventoryType type, int row, int col);
|
||||
short ActionBackpackSlot(int row, int col);
|
||||
short ActionHotbarIndex(int slot);
|
||||
int CountWaterBuckets(const Botcraft::Window &window);
|
||||
std::shared_ptr<ProtocolCraft::Packet> MakeBlockRightClickPacket(const ActionCommand &command,
|
||||
const Botcraft::Blockstate &block, const ProtocolCraft::Slot &mainHand, float yaw, float pitch, int sequence);
|
||||
void ValidateActionPosition(int x, int y, int z);
|
||||
|
||||
enum class FrameAttackIntent { None, TakeItem, RemoveFrame };
|
||||
|
||||
Reference in new issue
Block a user