Mineuniverse
Log in Register
Plugins

Animal Selector

A simple animal selector API for developers.
by _ForgeUser7181231
Download Claim this project
2,878 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Developer Tools

Animal Selector

Animal Selector is an API for plugin developers to hook into and use in their entity related plugins. Animal Selector is perfect for plugins who require the user to select an animal for plugins to later manipulate.

Server Owners

You're probably here because a plugin you use has required you to download this plugin. You can get the latest version to the right of this page or on the files page.

Plugin Developers

Making a Bukkit plugin that requires players to select a animal? To prevent conflicts with other plugins when selecting entities, use Animal Selector! When a player wants to select an entity, all they need to do is sneak then right click the entity! We provide a super simple api that all plugins can hook into to get the entity information.

  1. First make sure you add
    depend: [AnimalSelector]
    
    to your plugin.yml
  2. Next download AnimalSelector and add it to your build path.
  3. After that, add the following code to call the plugin:
public static AnimalSelector getAnimalSelector() {
	//Get AnimalSelector plugin for later on use.
	AnimalSelector plugin = (AnimalSelector) Bukkit.getServer().getPluginManager().getPlugin("AnimalSelector");
	
	if (plugin == null || !(plugin instanceof AnimalSelector)) {
        Bukkit.getLogger().info("[WARNING] AnimalSelector isn't loaded yet.");
        return null;
    }
    return (AnimalSelector) plugin;
}
  1. Finally, you can get the selected entities by using
getAnimalSelector().getPlayerSelectedEntity(playerstring);

A more detailed documentation and a JavaDoc is in the process of getting written/created.

Plugins using Animal Selector

Animal Lock - nxtguy



HostHorde


Animal Selector v0.2
MC CB 1.6.2-R0.1, CB 1.5.2-R1.0
Beta 2013-08-31 Get
Animal Selector v0.1
MC CB 1.5.2-R1.0
Beta 2013-07-07 Get

More from _ForgeUser7181231

Steve
7,656
Animal Lock
6,203
tpAnimals
3,860
tpLogin
38,252
Mojang Status
3,233
Minecron
3,005

You Might Also Like

WorldGuard Custom Flags
WorldGuard Custom Flags
97,851
HoloAPI
Advanced and powerful holographic displays
93,959
Minequery
Minequery
91,099
SQLibrary
SQLibrary aims to streamline driver wrappers in Java for every database engine
85,675
WolfyUtilities
Utils and APIs: Config, Language and Inventory API, Protection Utils: WorldGuard, LWC, PlotSquared
84,728
DisguiseTester
Experiment with disguises!
9,677