Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pumpkin and melon stems should drop seeds according to a binomial distribution #5739

Open
dktapps opened this issue May 9, 2023 · 0 comments
Labels
Category: Gameplay Related to Minecraft gameplay experience Easy task Probably really easy to do, good task for first-time contributors Type: Enhancement Contributes features or other improvements to PocketMine-MP

Comments

@dktapps
Copy link
Member

dktapps commented May 9, 2023

Description

In newer versions, the Mojang devs have gotten more creative with drop amounts, overengineering their code to the point of illegibility.

However, pumpkin seed drops follow probabilities according to a binomial distribution with parameters n=3 and p=(age+1)/15).

Other blocks likely have similar distributions. Currently, PM drops a uniformly random number of seeds between 0 and 2, irrespective of the age.

@dktapps dktapps added Category: Gameplay Related to Minecraft gameplay experience Type: Enhancement Contributes features or other improvements to PocketMine-MP labels May 9, 2023
@dktapps dktapps added the Easy task Probably really easy to do, good task for first-time contributors label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Gameplay Related to Minecraft gameplay experience Easy task Probably really easy to do, good task for first-time contributors Type: Enhancement Contributes features or other improvements to PocketMine-MP
Projects
Status: Todo
Development

No branches or pull requests

1 participant