User:Nixinova/Sandbox

From Minecraft Wiki
Jump to: navigation, search
Archives

This is my sandbox page, where I test code and/or wikitext.

lwjgl offset[edit]

lwjgl Echlogs are in UTC+2.

<ref group="note">Although it could not previously be determined which UTC was used by Echelog for the #lwjgl IRC logs, this UTC is now known to be UTC+2.  IRC logs show that Notch reposted a line from #lwjgl to #tigirc, and the UTC offset of #tigirc logs is already known to be UTC-4.</ref>

Special:Permalink/1589776

Launcher stuff[edit]

The links for the dungeons launcher, linux and macos launcher

https://launchermeta.mojang.com/v1/products/launcher-dungeons/483ee059de6398875a1ab48e6a85b509d3cb76d9/windows-x86.json (dungeons) https://launchermeta.mojang.com/v1/products/launcher-dungeons/f4aeb07bcf673630e4f5692423c71b3e6de30005/windows-x86.json (dungeons beta) https://launchermeta.mojang.com/v1/products/launcher/90d7c66d02d60563c205648699e8ecca377c67d6/mac-os.json (beta) https://launchermeta.mojang.com/v1/products/launcher/022631aeac4a9addbce8e0503dce662152dc198d/mac-os.json (release) https://launchermeta.mojang.com/v1/products/launcher/bb3355e087ada56549e6342233b57bf65d9d7147/linux.json (beta) https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json (release)

Indev data[edit]

LootChestItem[edit]

old[edit]

base
{{#invoke:LootChest|base|igloo}}

In Java Edition each igloo chest contains items drawn from 2 pools, with the following distribution:

Item Stack Size [A] Weight [B] Chance [C] Avg.
per chest
[D]
Avg. # chests
to search
[E]
2–8× 2–8×
Golden Apple 111100.0%1.0001.0
Coal 1–4156370.4%2.9761.4
Apple 1–3156370.4%2.3811.4
Wheat 2–3106355.3%1.9841.8
Gold Nugget 1–3106355.3%1.5871.8
Rotten Flesh 1106355.3%0.7941.8
Stone Axe 126314.7%0.1596.8
Emerald 11637.6%0.07913.1

In Bedrock Edition each igloo chest contains items drawn from 2 pools, with the following distribution:

Item Stack Size [A] Weight [B] Chance [C] Avg.
per chest
[D]
Avg. # chests
to search
[E]
2–8× 2–8×
Golden Apple 111100.0%1.0001.0
Coal 1–4156370.4%2.9761.4
Apple 1–3156370.4%2.3811.4
Wheat 2–3106355.3%1.9841.8
Gold Nugget 1–3106355.3%1.5871.8
Rotten Flesh 1106355.3%0.7941.8
Stone Axe 126314.7%0.1596.8
Emerald 11637.6%0.07913.1
  1. a b The size of stacks (or for unstackable items, number) of this item on any given roll.
  2. a b The weight of this item relative to other items in the pool.
  3. a b The odds of finding any of this item in a single chest.
  4. a b The number of items expected per chest, averaged over a large number of chests.
  5. a b The average number of chests the player should expect to search to find any of this item.
base2
{{#invoke:LootChest|base2|emerald}}

Emeralds can be found in 14.9% of big underwater ruins chests, 24.2% of village fisherman chests, 31.8% of village armorer chests, 12.3% of village shepherd chests, 10.2% of village butcher chests, 16.4% of small underwater ruins chests, 12.3% of village fletcher chests, 7.6% of igloo chests, and 20.8% of village mason chests, all in stacks of 1; in 25.4% of village temple chests, 9.9% of snowy village house chests, 21.5% of savanna village house chests, 22.8% of plains village house chests, 18.6% of taiga village house chests, and 17.3% of village tannery chests, all in stacks of 1–4; in 73.7% of shipwreck treasure chests in stacks of 1–5; in 53.1% of buried treasure chests in stacks of 4–8; in 14.3% of desert village house chests, 8.7% of jungle temple chests, and 18.0% of desert temple chests, all in stacks of 1–3; and in 9.0% of End city chests in stacks of 2–6.

Bedrock Edition they can be found in 14.9% of big underwater ruins chests, 31.8% of village armorer chests, 12.3% of village shepherd chests, 10.2% of village butcher chests, 16.4% of small underwater ruins chests, 12.3% of village fletcher chests, 7.6% of igloo chests, and 20.8% of village mason chests, all in stacks of 1; in 7.2% of stronghold altar chests, 14.3% of desert village house chests, 8.7% of jungle temple chests, and 18.0% of desert temple chests, all in stacks of 1–3; in 9.0% of End city chests in stacks of 2–6; and in 25.4% of village temple chests, 9.9% of snowy village house chests, 21.5% of savanna village house chests, 22.8% of plains village house chests, 20.3% of taiga village house chests, and 17.3% of village tannery chests, all in stacks of 1–4.

base3
{{#invoke:LootChest|base3|emerald}}
Item Structure Container Quantity Chance
Java Edition
Emerald Buried treasure Chest 4–8 53.1%
Desert temple Chest 1–3 18%
End city Chest 2–6 9%
Igloo Chest 1 7.6%
Jungle temple Chest 1–3 8.7%
Shipwreck Treasure chest 1–5 73.7%
Underwater ruins Big ruins chest 1 14.9%
Small ruins chest 1 16.4%
Village Shepherd's chest 1 12.3%
Tanner's chest 1–4 17.3%
Armorer's chest 1 31.8%
Fisherman's chest 1 24.2%
Desert house chest 1–3 14.3%
Fletcher's chest 1 12.3%
Taiga house chest 1–4 18.6%
Savanna house chest 1–4 21.5%
Mason's chest 1 20.8%
Plains house chest 1–4 22.8%
Temple chest 1–4 25.4%
Butcher's chest 1 10.2%
Snowy house chest 1–4 9.9%
Bedrock Edition
Emerald Desert temple Chest 1–3 18%
End city Chest 2–6 9%
Igloo Chest 1 7.6%
Jungle temple Chest 1–3 8.7%
Stronghold Altar chest 1–3 7.2%
Underwater ruins Big ruins chest 1 14.9%
Small ruins chest 1 16.4%
Village Snowy house chest 1–4 9.9%
Plains house chest 1–4 22.8%
Savanna house chest 1–4 21.5%
Temple chest 1–4 25.4%
Desert house chest 1–3 14.3%
Mason's chest 1 20.8%
Armorer's chest 1 31.8%
Taiga house chest 1–4 20.3%
Shepherd's chest 1 12.3%
Fletcher's chest 1 12.3%
Butcher's chest 1 10.2%
Tanner's chest 1–4 17.3%

new[edit]

2 make_item_table
{{#invoke:LootChest2|make_item_table|emerald}}

Emeralds may be found in the following chests, with the following distribution:

Structure Container Stack Size [A] Rolls [B] Weight [C] Chance [D] Avg. # items
per chest
[E]
Avg # chests
to search
[F]
Bedrock Java
Buried treasure Chest 4–8 1–3 515 53.1% 4.000  1.9 ? Yes
Desert temple Chest 1–3 2–4 15232 18.0% 0.388  5.5 Yes Yes
End city Chest 2–6 2–6 285  9.0% 0.376 11.1 Yes Yes
Igloo Chest 1 2–8 163  7.6% 0.079 13.1 Yes Yes
Jungle temple Chest 1–3 2–6 10441  8.7% 0.181 11.5 Yes Variant
1–3 2–6 288  8.7% 0.182 11.4 Variant Yes
Shipwreck Treasure chest 1–5 3–6 40150 73.7% 3.600  1.4 Yes Yes
Stronghold Altar chest 1–3 2–3 15511  7.2% 0.147 14.0 Yes ?
Underwater ruins Big chest 1 2–8 131 14.9% 0.161  6.7 Yes Yes
Small chest 1 2–8 128 16.4% 0.179  6.1 Yes Yes
Village Armorer's chest 1 1–5 18 31.8% 0.375  3.1 Yes Yes
Butcher's chest 1 1–5 128 10.2% 0.107  9.8 Yes Yes
Desert house chest 1–3 3–8 136 14.3% 0.306  7.0 Yes Yes
Fisherman's chest 1 1–5 111 24.2% 0.273  4.1 ? Yes
Fletcher's chest 1 1–5 123 12.3% 0.130  8.1 Yes Yes
Mason's chest 1 1–5 113 20.8% 0.231  4.8 Yes Yes
Plains house chest 1–4 3–8 243 22.8% 0.640  4.4 Yes Yes
Savanna house chest 1–4 3–8 246 21.5% 0.598  4.7 Yes Yes
Shepherd's chest 1 1–5 123 12.3% 0.130  8.1 Yes Yes
Snowy house chest 1–4 3–8 153  9.9% 0.259 10.1 Yes Yes
Taiga house chest 1–4 3–8 249 20.3% 0.561  4.9 Yes Variant
1–4 3–8 254 18.6% 0.509  5.4 Variant Yes
Tanner's chest 1–4 1–5 116 17.3% 0.469  5.8 Yes Yes
Temple chest 1–4 3–8 119 25.4% 0.724  3.9 Yes Yes
  1. The size of stacks (or for unstackable items, number) of this item on any given roll.
  2. The number of times this chest draws item stacks randomly from this item's pool.
  3. The weight of this item relative to other items in the pool.
  4. The odds of finding any of this item in a single chest.
  5. The number of items expected per chest, averaged over a large number of chests.
  6. The average number of chests the player should expect to search, to find any of this item.