Difference between revisions of "Melon"
m 

Line 1:  Line 1:  
{{Object  {{Object  
image=Melon.png  image=Melon.png  
−  name=Melon  +  name=Melon Slice 
type=Food, Item  type=Food, Item  
−  
renewable=Yes  renewable=Yes  
restores=1.5 hunger points  restores=1.5 hunger points  
Line 87:  Line 86:  
! Nov 13, 2015  ! Nov 13, 2015  
    
−  *Added  +  *Added the melon slice 
}  }  
Line 94:  Line 93:  
* 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.  * 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 melon slices 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 slices.  * The algorithm for deciding how many melon slices 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 slices.  
−  
== See Also ==  == See Also == 
Revision as of 08:27, 2 September 2019

Contents
Obtaining
When a melon block is broken with any tool, it drops 37 melon slices. Using a tool enchanted with Fortune can wield higher numbers. At Fortune 3, it may drop 39 slices.
Farming
To start a melon farm, melon seeds are required. Currently melons don't spawn naturally, so the player must look for seeds in loot chests of skyholds, dungeons, or ruins, or by breaking long grass, of which the melon seed is a rare drop. Melon seeds have to be planted on farmland in order to grow. Once fully grown, every so often, it has a chance of spawning a melon block next to it, from which you then get 37 melons.
Usage
Food
Eating a melon slice gives the player 1.5 hunger point back.
Crafting Ingredient
Melon can be made into melon seed.


A melon is required in the crafting recipe for a glistering melon.


Nine melons are required to craft a melon block.


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 melon slices 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 slices.