- Native Minecraft Version:
- Tested Minecraft Versions:
- Languages Supported:
- All Minecraft client languages supportedWhat Is This - Identify the block you are looking at
Easily get the name of the block you are looking at and the items it drops
WhatIsThis is a lightweight utility plugin aimed at providing block information directly to the player without the need to open a UI. This can be helpful in Survival mode to know what a block is without having to break it first, or while looking at other people's builds in Creative mode.
Inspired by Forge mods such as WAWLA (What Are We Looking At), WAILA (What Am I Looking At) and HWYLA (Here's What You're Looking At), but without the distraction of the display on the screen constantly, and without utilising PlayerMoveEvent or constantly checking the block being looked at.
Simply by right-clicking the block with a STICK (default) or running command /wt while looking at a block, the block type and the items it drops will be briefly displayed on the side of the screen. Both options can be used underwater as well as on land.
There is also the option to have the block information displayed on the ActionBar or BossBar. Using these methods, only the name of the block is displayed and not the dropped items.
The ActionBar display is probably the most attractive and least intrusive of the display methods. The text colour can be set in the config.yml file.
The text colour and the colour of the BossBar can be set in the config.yml file.
Using the plugin
The above is a quick 90 second video showing the plugin in use in the 1.16 nether.
You must have a clear view of the block being looked at when running the /wt command. The range is currently set to 10 blocks - I plan to make this configurable in a future release.
The ability to right-click with an item can be toggled OFF and ON using the /wt toggleclick command, or disabled in the config.yml if not required.
The item used to select the block is also configurable. The default item is a STICK. Any item can be used, including an empty hand, although the plugin does not cancel any events that might be triggered by right-clicking with the item such as a "block place" event or opening a door or chest, so it doesn't interfere with the normal mechanics of the game.
If using the scoreboard display option, the name and number of items dropped reported by the plugin are those obtained from Block#getDrops(). Where the drops are variable (e.g. the number of SEEDS dropped by WHEAT) it returns either a range (e.g. 0 -> 3) or what could be dropped by breaking the block, not necessarily what you will get on breaking the block (e.g. number of MELON_SLICEs from a MELON).
Thanks to ericbarbwire for creating this video of the plugin.
This plugin is supported on Minecraft/Spigot 1.13 to 1.16+.
Thanks to the contribution from TheBusyBiscuit, items and machines from the Slimefun4 plugin are also supported.
Commands & Permissions
/wt - identifies the block being looked at
/wt info - information about the plugin
/wt reload - reload the config file (requires whatisthis.admin permission)
/wt toggleclick - toggle right-click ON/OFF (requires whatisthis.admin permission)
whatisthis.use - default true
whatisthis.admin - default op
All Minecraft languages are supported. The player's own language (which is set locally in the Minecraft launcher) is used to automatically display the name of the block and the items it drops when broken. The text for the word "Drops" can be changed from English by manually changing the text in the config.yml.
If you know that you will only need certain language files, then those required can be set in the config.yml - see example config below.
As the Scoreboard has a limit of 40 characters, item names which are too long will be truncated to fit.
If the name has not been set in the local language file, then it will revert to "en_us" and display the English equivalent.
Code (YAML):# Check for new version
# Allow right-click with item. Use AIR or NONE for no item
# Translatable text
# To enable the loading of specific languages only, add them to a list as follows:
#LoadLanguage = [en_us, es_es, cy_gb]
# If you want to load all the languages, add "all" to the list:
# Enable the preferred method(s) to display the block info
- Download WhatIsThis.jar
- Copy to your server's 'plugins' folder
- Restart your server
This plugin uses bstats to collect anonymous plugin metrics. The data is collected once every 30mins and is submitted asynchronously to the bstats server. The plugin doesn't collect any custom data, just the default bstats data which is listed on bstats.org. The metrics class is also open source and can be viewed here, or in the plugin source on GitHub.
Metrics can of course be disabled on your server but I would appreciate it if it was left enabled as the information it provides gives me an idea of how many servers are using the plugin, what versions are in use, etc. and is an incentive for me to put more of my time into development of my plugins.
The pretty graphs and data from the plugin can be viewed here:
Issues and source code
Join our Discord server to make it easier to discuss issues and share information.
The source code is on GitHub. As well as Discord, any issues or suggestions can be raised on the Issues tab in the GitHub repository.
WhatIsThis - Identify the block you are looking at | 1.13 - 1.16 | Multi-Language support | 3.0
Easily get the name of a block and the items it drops displayed in your local language