Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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.

Default list provided through VillagerInfo

=+=+= =+=+= =+=+=
Hover Element Inventory Hover Element Baby Villager Display
Hover Element Inventory Hover Element Child Villager Display
Villager Output With Job Villager Output Without Job Zombie Villager Output
Villager Output With Job Villager Output Without Job Zombie Villager Output

Default minecraft /data get!

A large wall of text showing all the attributes and information of a minecraft villager

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:

  • [x] Toggle for information output
  • [x] 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

Project members

Simplexity

Simplexity

Organization

Rhythmic

Owner

Peashooter101

Developer


Technical information

License
MIT
Project ID