This pull request introduces a canReachTree method to the woodcutting logic, ensuring trees are accessible before woodcutting begins. It includes:
A new function in Region called "GetObjectAt".
A new function in Region called "reachedObject".
This update aims to improve gameplay mechanics by preventing unreachable tree interactions.
Checklist
Code compiles without errors.
Tested Normal, Oak, Willow, Maple, Yew & Magic trees at various locations.
Additional Notes
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/2006-Scape/2006Scape/pull/666
**Author:** [@0x5472616379](https://github.com/0x5472616379)
**Created:** 3/7/2025
**Status:** 🔄 Open
**Base:** `master` ← **Head:** `woodcutting-clipping-check`
---
### 📝 Commits (2)
- [`13a0b3d`](https://github.com/2006-Scape/2006Scape/commit/13a0b3dcf84c5f9d9d31db9f1585ec489dd7d0d1) Add tree reachability check to woodcutting logic.
- [`7a8ea4b`](https://github.com/2006-Scape/2006Scape/commit/7a8ea4bb8eceaa83695c4305b5d0cd6c5b6da13e) Remove debug messages from Woodcutting.java
### 📊 Changes
**2 files changed** (+77 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `2006Scape Server/src/main/java/com/rs2/game/content/skills/woodcutting/Woodcutting.java` (+37 -0)
📝 `2006Scape Server/src/main/java/com/rs2/world/clip/Region.java` (+40 -0)
</details>
### 📄 Description
### Description
This pull request introduces a `canReachTree` method to the woodcutting logic, ensuring trees are accessible before woodcutting begins. It includes:
- A new function in Region called "GetObjectAt".
- A new function in Region called "reachedObject".
This update aims to improve gameplay mechanics by preventing unreachable tree interactions.
### Checklist
- [x] Code compiles without errors.
- [x] Tested Normal, Oak, Willow, Maple, Yew & Magic trees at various locations.
### Additional Notes
N/A
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/2006-Scape/2006Scape/pull/666
Author: @0x5472616379
Created: 3/7/2025
Status: 🔄 Open
Base:
master← Head:woodcutting-clipping-check📝 Commits (2)
13a0b3dAdd tree reachability check to woodcutting logic.7a8ea4bRemove debug messages from Woodcutting.java📊 Changes
2 files changed (+77 additions, -0 deletions)
View changed files
📝
2006Scape Server/src/main/java/com/rs2/game/content/skills/woodcutting/Woodcutting.java(+37 -0)📝
2006Scape Server/src/main/java/com/rs2/world/clip/Region.java(+40 -0)📄 Description
Description
This pull request introduces a
canReachTreemethod to the woodcutting logic, ensuring trees are accessible before woodcutting begins. It includes:This update aims to improve gameplay mechanics by preventing unreachable tree interactions.
Checklist
Additional Notes
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.