Difference between revisions of "Melon"

From Mine Blocks Wiki
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!

(Categorization)
Line 5: Line 5:
 
|physics=No
 
|physics=No
 
|renewable=Yes
 
|renewable=Yes
|heals=1.5 hunger points
+
|restores=1.5 hunger points
 
|id=melon
 
|id=melon
 
}}
 
}}
  
Melon is a [[food]] item.
+
Melon is a [[food]] [[Items|item]].
  
 
== Obtaining ==
 
== Obtaining ==
When a [[melon block]] is broken with any tool, it drops 3-7 melon slices.
+
When a [[melon block]] is broken with any [[Tools|tool]], it drops 3-7 melon slices. Using a [[tool]] [[Enchanting|enchanted]] with Fortune can wield higher numbers. At Fortune 3, it may drop 3-9 slices.
  
 
=== Farming ===
 
=== Farming ===
Line 93: Line 93:
 
* The melon and the glistering melon are flipped 90 degrees compared to each other.
 
* 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.
 
* 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.
 +
  
 
== See Also ==
 
== See Also ==

Revision as of 11:01, 2 September 2019

Melon slice

Melon.png






Name:Melon slice
Type:Food, Item
Restores:1.5 hunger points
Physics:No
Renewable:Yes
Item ID:melon

Melon is a food item.

Obtaining

When a melon block is broken with any tool, it drops 3-7 melon slices. Using a tool enchanted with Fortune can wield higher numbers. At Fortune 3, it may drop 3-9 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 3-7 melons.

Usage

Food

Eating a melon slice gives the player 1.5 hunger point back.

Crafting Ingredient

Melon can be made into melon seed.

Melon Empty
Empty Empty
Melon seed

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

Gold nugget Gold nugget Gold nugget
Gold nugget Melon Gold nugget
Gold nugget Gold nugget Gold nugget
Glistering melon

Nine melons are required to craft a melon block.

Melon Melon Melon
Melon Melon Melon
Melon Melon Melon
Melon block

History

Version Date Changes
1.27 Nov 13, 2015
  • Added melons.

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 the min function choosing the 9 over the 10 total), result in 9 slices.


See Also