[SPIGOT-6162] FallingBlock API missing methods Created: 29/Sep/20  Updated: 29/Sep/20

Status: Open
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Dyens Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: API, falling_block

Version: 17d78db-1ee373f
Guidelines Read: Yes

 Description   

Note: Relates to SPIGOT-6159 but taking into account more points

 

First, related to SPIGOT-6159 FallingBlock#getTime() and FallingBlock#setTime() should be added to manage FallingBlock Time state, and remove the overriden method CraftFallingBlock#setLivedTicks() as it should not change the Time value since is used for different things.

 

Moreover, to expose EntityFallingBlock#fallHurtAmount and EntityFallingBlock#fallHurtMax also CraftFallingBlock#getFallHurtAmount() CraftFallingBlock#setFallHurtAmount() CraftFallingBlock#getFallHurtMax() CraftFallingBlock#setFallHurtMax() should be added.


Generated at Sat Apr 05 09:38:15 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.