Difference between revisions of "Melon"
Jump to navigation
Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
m |
|||
Line 108: | Line 108: | ||
* The algorithm for deciding how many melons a melon block drops is <code>min(9, 3+random(0 to 4 inclusive)+random(0 to fortuneLevel inclusive))</code>. Although this means that both Fortune 2 and 3 have the same maximum drop of 9 melon slices, Fortune 3 is more likely to get this maximum drop. If we ignore the first random function and assume it gives 4, in total 7 so far, then with Fortune 2 there is a 1/3 chance of getting +2, so 9 in total, while with Fortune 3 there is a 1/2, because both +2 and +3(which would result in the <code>min</code> function choosing the 9 over the 10 total), result in 9 melons. | * The algorithm for deciding how many melons a melon block drops is <code>min(9, 3+random(0 to 4 inclusive)+random(0 to fortuneLevel inclusive))</code>. Although this means that both Fortune 2 and 3 have the same maximum drop of 9 melon slices, Fortune 3 is more likely to get this maximum drop. If we ignore the first random function and assume it gives 4, in total 7 so far, then with Fortune 2 there is a 1/3 chance of getting +2, so 9 in total, while with Fortune 3 there is a 1/2, because both +2 and +3(which would result in the <code>min</code> function choosing the 9 over the 10 total), result in 9 melons. | ||
− | == See | + | == See also == |
* [[Glistering melon]] | * [[Glistering melon]] | ||
* [[Melon block]] | * [[Melon block]] |
Revision as of 14:50, 17 February 2020
Melon | |
---|---|
Type: | Food, Item |
Renewable: | Yes |
Identifier: | melon |
Contents
Obtaining
Drops
See also: Farming
When a melon block is broken with any tool, it drops 3-7 melons. Using a tool enchanted with Fortune can wield higher numbers. At Fortune 3, it may drop 3-9 melons.
Usage
Food
Eating a melon gives the player 1.5 hunger points back.
Crafting Ingredient
A melon can be made into a melon seed.
|
|
A melon is required in the crafting recipe for a glistering melon.
|
|
Nine melons are required to craft a melon block.
|
|
Tasks
# | Task | Objective | ||
---|---|---|---|---|
26 | Eat some food. | Eat some food, such as raw porkchop or an orange. |
|
History
Version | Date | Changes |
---|---|---|
1.27 | Nov 13, 2015 |
|
Trivia
- The melon and the glistering melon are flipped 90 degrees compared to each other.
- In the image files of Mine Blocks, melon is referred to as a melon slice, while its id and in game name are both melon.
- The algorithm for deciding how many melons a melon block drops is
min(9, 3+random(0 to 4 inclusive)+random(0 to fortuneLevel inclusive))
. Although this means that both Fortune 2 and 3 have the same maximum drop of 9 melon slices, Fortune 3 is more likely to get this maximum drop. If we ignore the first random function and assume it gives 4, in total 7 so far, then with Fortune 2 there is a 1/3 chance of getting +2, so 9 in total, while with Fortune 3 there is a 1/2, because both +2 and +3(which would result in themin
function choosing the 9 over the 10 total), result in 9 melons.