Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6162

FallingBlock API missing methods

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • 17d78db-1ee373f
    • Yes

      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.

            Unassigned Unassigned
            Dyens Dyens
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: