Перейти к содержимому
Mineforgian

VillagerInfo

Plugin that allows easier access to useful information stored in villagers' brains

5K загрузок28 подписчиковMITpaperpurpur

Обновлён 26 мая 2025 г. · опубликован 15 августа 2022 г.

  • Hover Message
  • Zombie Villager Output
  • Minecraft's /data get output
  • Villager Inventory
  • VillagerInfo Baby Villager
  • VillagerInfo Basic Villager

VillagerInfo

wakatime Discord Ko-Fi Support Link

This plugin aims to make accessing useful information that is stored in villagers brains, easier.

Accessing the information in villager's brains is useful, but /data get has much more information than is needed for most things.

Permissions

  • villagerinfo.reload

    • Default: OP only
    • Description: Allows the Player to use /villreload to reload the VillagerInfo configurations.
    • Unlocks: Reloads the VillagerInfo configurations.
  • villagerinfo.output

    • Default: Enabled
    • Description: Allows the player to see the information from a villager using crouch-interact.
    • Unlocks: Ability to view information from a villager using crouch-interact.
  • villagerinfo.commands

    • Default: Enabled
    • Description: Allows the player to use commands to adjust their preferences on how VillagerInfo will behave for them (/villinfo).
    • Unlocks: Access to command-based adjustments for VillagerInfo behavior.
  • villagerinfo.commands.help

    • Default: Enabled
    • Description: Allows the player to use the help command to see how the plugin functions.
    • Unlocks: Access to the help command for understanding the plugin's functionality.
  • villagerinfo.commands.toggle

    • Default: Enabled
    • Description: Allows the player to use commands to toggle certain behaviors in the VillagerInfo plugin (/villinfo toggle).
    • Unlocks: Ability to toggle specific behaviors within the VillagerInfo plugin.
  • villagerinfo.commands.toggle.output

    • Default: Enabled
    • Description: Allows the player to toggle whether they want VillagerInfo to output on crouch-interact or not (/villinfo toggle output).
    • Unlocks: Toggles the output of VillagerInfo on crouch-interact.
  • villagerinfo.commands.toggle.highlight

    • Default: Enabled
    • Description: Allows the player to toggle whether they want VillagerInfo to highlight a villager's workstation on crouch-interact or not (/villinfo toggle highlight).
    • Unlocks: Toggles the highlighting of a villager's workstation on crouch-interact.
  • villagerinfo.commands.toggle.sound

    • Default: Enabled
    • Description: Allows the player to toggle whether they want VillagerInfo to output sound on crouch-interact or not (/villinfo toggle sound).
    • Unlocks: Toggles the sound output of VillagerInfo on crouch-interact.

Commands

  • villreload

    • Permission: villagerinfo.reload
    • Description: Reloads the VillagerInfo configuration
    • Aliases: none
  • villagerinfo

    • Permission: villagerinfo.commands
    • Description: Base command for VillagerInfo player commands
    • Aliases:
      • vinfo
      • villinfo
      • vi
  • villagerinfo help

    • Permission: villagerinfo.commands.help
    • Description: Command that shows a player the help screen
  • villagerinfo toggle

    • Permission: villagerinfo.commands.toggle
    • Description: Command that allows a player to toggle personal settings related to Villager Info functionality
  • villagerinfo toggle highlight

    • Permission: villagerinfo.commands.toggle.highlight
    • Description: Command that allows a player to prevent a Villager's workstation from being highlighted when they crouch-interact with a villager
  • villagerinfo toggle output

    • Permission: villagerinfo.commands.toggle.output
    • Description: Command that allows a player to prevent a Villager's information from being output when they crouch-interact with a villager
  • villagerinfo toggle sound

    • Permission: villagerinfo.commands.toggle.sound
    • Description: Command that allows a player to prevent sound from playing when they crouch-interact with a villager

API

For the time being, the current way to import this project is through the modrinth maven Remember to check what the current version is - these may not be up to date

Javadocs

Maven Import

<repository>
  <id>modrinth-repo</id>
  <url>https://api.modrinth.com/maven/</url>
</repository>

<dependency>
  <groupId>maven.modrinth</groupId>
  <artifactId>villager-info</artifactId>
  <version>3.0.1</version>
  <scope>provided</scope>
</dependency>

Gradle Import

exclusiveContent {
    forRepository { maven { url = "https://api.modrinth.com/maven" } }
    filter { includeGroup "maven.modrinth" }
}

dependencies {
    compileOnly 'maven.modrinth:villager-info:3.0.1'
}

Todo:

  • Toggle for information output
  • Personal options for output(?)
  • Add a command to clear all current highlights and reset all villager highlight PDC data
  • Adjust the functionality of the workstation highlights so that if someone starts the highlight again, it's not strictly ignores, but starts the time over again
  • Add different info modes
  • Add more information like if the villager has been healed previously, and if so, by whom
  • Use pages for the information so it's not all in one big list
  • Use click events to trigger the block highlights
  • Highlight for bed location, Village center

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
4.3.0Релиз26.1, 26.1.1, 26.1.2, 26.2paper, purpur26 мая 2025 г.Скачать (79 КБ)
4.2.0Релиз1.21.2, 1.21.3, 1.21.4, 1.21.5paper, purpur22 февраля 2025 г.Скачать (72 КБ)
4.0.1Релиз1.20.6, 1.21paper, purpur30 июня 2024 г.Скачать (68 КБ)
4.0.0Релиз1.20.5, 1.20.6paper, purpur30 апреля 2024 г.Скачать (68 КБ)
3.0.5Релиз1.20.1, 1.20.2, 1.20.3, 1.20.4paper, purpur21 февраля 2024 г.Скачать (71 КБ)
3.0.4Релиз1.19.4, 1.20, 1.20.1, 1.20.2paper, purpur6 ноября 2023 г.Скачать (71 КБ)
3.0.3Релиз1.19.3, 1.19.4, 1.20, 1.20.1paper, purpur30 июня 2023 г.Скачать (71 КБ)
3.0.2Релиз1.20paper, purpur11 июня 2023 г.Скачать (70 КБ)
3.0.1Релиз1.19.1, 1.19.2, 1.19.3, 1.19.4paper, purpur19 мая 2023 г.Скачать (70 КБ)
3.0.0Релиз1.19.4paper, purpur18 мая 2023 г.Скачать (67 КБ)
3.0.0-beta-5Бета1.19.4paper, purpur17 мая 2023 г.Скачать (64 КБ)
3.0.0-beta-4Бета1.19.4paper, purpur15 мая 2023 г.Скачать (63 КБ)
3.0.0-beta-3Бета1.19.1, 1.19.2, 1.19.3, 1.19.4paper, purpur10 мая 2023 г.Скачать (57 КБ)
3.0.0-beta-2Бета1.19.1, 1.19.2, 1.19.3, 1.19.4paper, purpur8 мая 2023 г.Скачать (52 КБ)
3.0.0-beta-1Бета1.19.1, 1.19.2, 1.19.3, 1.19.4paper, purpur6 мая 2023 г.Скачать (45 КБ)

Показаны последние 15 из 24 версий.

Ченджлог

4.3.0Релиз26.1.1, 26.1.2, 26.2 · 26 мая 2025 г.

Toggle-able interact type settings

  • Adds the ability to switch the action a user uses to trigger output
  • Valid options are 'attack', 'both', and 'interact'
  • Crouching is still required while doing the interaction
  • Adds toggle command: /vi toggle interact-type [attack|interact|both]
  • Adds permission villagerinfo.commands.toggle.interact-type - default is true

Tested on 1.21.5

Screenshot showing chat messages that say 'Interact type has been set to Attack' and switching to 'Interact' and back to 'Attack'

Screenshot of in-game command villager info toggle interact type and autocompletion for attack, both, and interact

4.2.0Релиз1.21.3, 1.21.4, 1.21.5 · 22 февраля 2025 г.

Functionality Changes:

  • Villager's beds are now highlighted

Locale Changes:

  • New lines are no longer hard-coded into the component builder. This means that you will either need to regenerate your locale, or add \n to the beginning of the villager-information-message messages.

Config Changes:

  • Added highlight-bed-on-output, bed-highlight-color, and defaults section.
    • highlight-bed-on-output highlights bed at the same time as workstation
    • bed-highlight-color - color to highlight the beds in RR GG BB format
    • defaults - default settings for the highlighted blocks
4.0.1Релиз1.20.6, 1.21 · 30 июня 2024 г.
  • Fixes the mappings so that paper will not remap it.
  • No other changes
4.0.0Релиз1.20.5, 1.20.6 · 30 апреля 2024 г.
  • Updated to 1.20.6
  • No longer supports 1.19-1.20.4
3.0.5Релиз1.20.2, 1.20.3, 1.20.4 · 21 февраля 2024 г.
  • Updated NMS to support 1.20.4 (it worked but was giving an error about not being supported)
  • no other changes
3.0.4Релиз1.20, 1.20.1, 1.20.2 · 6 ноября 2023 г.

Support for 1.20.2

3.0.3Релиз1.19.4, 1.20, 1.20.1 · 30 июня 2023 г.

Loads on 1.19-1.19.4 again

3.0.2Релиз1.20 · 11 июня 2023 г.

Updated to 1.20 (No functionality changes)

Комментарии

Загружаем…