Mob Loot
Mob Drops
Note: MobDropLoot must be set to true in the config in order to use this feature
PhatLoots can be used to cause mobs to drop specific items based on a loot table. In order to do so, simply create a new PhatLoot using the name of the mob. A list of mob names can be found below. The steps to setup zombies to drop a zombie head and egg are as follows:
- /loot make Zombie
- /loot add egg d54 %20 pZombie
- /loot add skull d2 %60 pZombie
And that's it! From now on, any zombie that dies has a chance to drop an egg and/or a head. Of course you can also add money, experience, commands, and more as loot.
Mob Armor/Weapon
Note: MobSpawnLoot must be set to true in the config in order to use this feature
To add mob equipment rather than drops, simply append Spawn (case sensitive) to the end of the mob name. e.g. ZombieSpawn or WitherSkeletonSpawn. Only certain mobs are able to carry equipment. Some mobs don't visibly wear the armor but they may still benefit from it. When creating a mob spawn loot, it must give exactly 5 items in the following order:
- Weapon/Item holding
- Helmet/Item on Head
- Chestplate
- Leggings
- Boots
Any of these items may be AIR if you wish to not actually give them that piece of equipment. As an example, the following commands will cause skeletons to spawn with an enchanted bow and leather chaps:
- /loot make Skeleton
- /loot add bow earrow_fire(3)
- /loot add air
- /loot add air
- /loot add leather_leggings
- /loot add air
Video Tutorial
You may create more complicated loot tables using collections. Watch this video for a more in depth look at mob armor using PhatLoots.
Mob Worlds/Regions
Note: In order to use this feature, There are four settings in the config; WorldMobDropLoot, WorldMobSpawnLoot, RegionMobDropLoot, and RegionMobSpawnLoot
Mob Loots can vary based on the Region or World that they are in. Both RegionOwn and WorldGuard are supported for creating regions. To limit the PhatLoot to only effect mobs in a specific area, name the PhatLoot <MobName>@<RegionName> such as Zombie@Dungeon and PriestVillager@Graveyard. The Region name must match the name of the region exactly. You may also use a World name instead.
Mob Names
Note: All names are case sensitive.
Most of the Mob names are listed below for your convenience. If you do not see a mob in the list, it is still supported you just have to figure out what it is called. Take note that a Player is considered a mob. You can customize what Players drop and the armor in which they spawn with.
Player Friendly Hostile
- Player
- Horse
- Donkey
- Mule
- UndeadHorse
- SkeletonHorse
- Pig
- Sheep
- Cow
- Chicken
- Squid
- Wolf
- MushroomCow
- SnowMan
- Ozelot
- VillagerGolem
- Villager
- Creeper
- Skeleton
- Spider
- Giant
- Zombie
- Slime
- Ghast
- PigZombie
- Enderman
- CaveSpider
- Silverfish
- Blaze
- LavaSlime
- EnderDragon
- Bat
- WitherBoss
- Witch
Mob Types
Note: MobTypes must be set to true in the config in order to use this feature
There are specific types of mobs in Minecraft. Zombies, Villagers, and Skeletons all have various types. Zombies may be baby zombies or zombie villagers. Villagers may be defined by their profession such as Butcher and Priest. A full list of mob types can be found below. When create mob loots etc. you may replace use one of these mob types rather than the mob name.
- BlacksmithVillager
- ButcherVillager
- FarmerVillager
- LibrarianVillager
- PriestVillager
- SpottedHorse (White Spots)
- DarkHorse (Dark blotches on back)
- LightHorse (Light shading on back)
- MilkyHorse (White cow-like splotches)
- NormalPigZombie
- VillagerPigZombie
- VillagerPigZombie
- NormalSkeleton
- WitherSkeleton
- NormalZombie
- VillagerZombie
- PoweredCreeper
Baby Mobs
Mobs may also have Baby amended to the beginning of the type. Here are 4 examples:
- BabyPig
- BabyPriestVillager
- BabyVillagerPigZombie
- BabyZombie
Colors
Sheep and Horses may have a color amended to the beginning of the type.
Sheep
- White
- Orange
- Magenta
- LightBlue
- Yellow
- Lime
- Pink
- Gray
- Silver
- Cyan
- Purple
- Blue
- Brown
- Green
- Red
- Black
Horse
- White
- Creamy
- Chestnut
- Brown
- Black
- Gray
- DarkBrown
Custom Named Mobs
Note: NamedMobs must be set to true in the config in order to use this feature
Mobs in Minecraft can have custom names. You may use these custom names rather than a mobs type. For example, if you create a PhatLoot named Bob then any mob named Bob will drop the loot from that PhatLoot. Note that this also works with Player names.
Citizens NPC Players/Mobs
When creating a PhatLoot for a specific NPC (powered by Citizens) you will use the same rules as Custom Named Mobs but prepend it with NPC.
i.e. NPCGorkTheGriefer or NPCCityGuardSpawn
Using the loot tables NPC and NPCSpawn will apply to all NPCs which are not explicitly stated like in one of the examples above.