Minecraft Wiki:Projects/Interactive tools and calculators

Jump to navigation Jump to search
This project is semi-active.
 
Activity is slower than it once was.
Shortcut

This project aims to explore how interactive tools and calculators might benefit reader experience.

Ideas[edit source]

Add your ideas here. It doesn’t have to be a good idea – we are just trying to gather as many ideas as possible.

Visualizations[edit source]

3D

Editors[edit source]

Command tools

Calculators[edit source]

  • Probability that at least/exactly X blocks out of a selection of Y blocks will receive one random tick in Z ticks/seconds with a random tick speed of A
  • Breeding simulator for Horses, Donkeys, Mules, Llamas, Pandas, Goats, Axolotls, Sheep, Mooshrooms
  • What is the best enchantment order for X, Y, Z on an A?:
https://iamcal.github.io/enchant-order
https://cph101.github.io/enchant-order-v2/ (unfinished)
https://kkchengaf.github.io/Minecraft-Enchantment-Order-Calculator/

Dungeons[edit source]

  • Damage value calculator

Rejected ideas[edit source]

Rejected for usefulness
  • What food combos can get you to max hunger efficiently, ways to get to 20 (max) saturation
    • Not really useful. Unlikely that a player needs to consult help to eat.
  • What should I do to bring the trading price from X emeralds to Y?
    • Not really useful, especially since 1.20.2 when repeated curing does not work anymore.
  • Loot chest frequency chart for the frequency of each loot container in the game, sorted by altitude.
    Structure frequency chart for the frequency of each structure in the game, sorted by altitude.
    World-gen feature frequency chart for the frequency of each world-gen feature in the game, sorted by altitude.
    • I don't think there's much value in providing these since it's unlikely a player will look for a feature just at a certain altitude.
  • Every achievement in the game and what is needed to achieve it
    • Existing tools, especially in-game mods, provide much more value that whatever we can put together.
Rejected for complexity
  • Data pack https://misode.github.io/
    • Better to be on its own. It is an area specific and complex enough that it makes little sense to integrate on-wiki.
  • Map art generator: [1] [2] [3]
    • Better to be on its own. It is an area specific and complex enough that it makes little sense to integrate on-wiki.

Implemented tools[edit source]

Implementation[edit source]

In our case, visualization tools generally require a separate JS. Frameworks like Three.js are useful for 3D rendering, but it’s really hard to get Three working on MCW because it has migrated to ESM, which is not supported by MW (blame ResourceLoader).

A GitHub repo, along with MCW's GitHub organization, has been created for Vue SFCs as well as possibility for modern JS frameworks to be used: https://github.com/mc-wiki/mcw-calc. Pages using calculators implemented by it can be found in Category:Pages using calculator.

The wiki also offers a template {{simplecalc}}, which is adapted from Wikipedia. It allows editors to create simple interactive calculators with MediaWiki:Gadget-simplecalc.js. Pages using calculators implemented by it can be found in Category:Pages using simple calculator.

On RuneScape Wiki, for reference[edit source]

RuneScape Wiki has two calculator implementations. The first one uses a JavaScript form to collect parameters. An API request to MW is then fired, requesting a template (or a Lua module) to be parsed with these params. Then the JavaScript adds the parsed template to the page. These pages may help you understand:

This method (aka form calculator) is implemented and working on dev wiki. See https://mc-dev.weirdgloop.org/w/Seed_(level_generation) for a working demo.

Another technique they use is to perform calculations on client-side for better performance. A set of instructions is stored in the page content, and a JS will follow the instructions. Learn more here.

Other than that, special calculators are implemented using dedicated JS code.