Cargo Pets
MythicMobs Recommended: Use this external plugin to get the most out of this feature.
Store items inside animals (or any entity, actually).
As long as you know this entity's UUID, you can store items inside it.
Personal Containers save items to "Players," like enderchests...
This statement is not entirely true. Personal Containers save items to the UUID of the player...
This stat just uses the entity UUID to save items into.
Basic Usage
If you are using MythicMobs, just strap the following skill to a mob:
Skills:
- command{c="goop containers see <container> <trigger.name> <caster.uuid>"} @Trigger ~onInteract
When right-clicked, this entity will open a container within itself to the player who clicked it.
Limitations
If the entity is killed, you will be unable to open the storage ever again (unless you somehow remember its UUID?).
The items will be practically lost.
Example: Cargo Sheep (MythicMobs)
This is the cargo sheep mythicmob:
plugins/MythicMobs/Mobs/cargo_sheep_mob.yml
ContainerSheep: Type: SHEEP Display: '&6Cargo Sheep' Health: 40 Damage: 2 Skills: # Access storage contents when right-clicked - command{c="goop containers see CargoSheep <trigger.name> <caster.uuid>"} @Trigger ~onInteract# Drop the stored items when killed :( - command{c="goop containers unregister CargoSheep <caster.uuid> <caster.l.w> <caster.l.x> <caster.l.y> <caster.l.z>"} @Trigger ~onDeath
This is the cargo sheep container:
plugins/Gunging_Ootilities_Plugin/container-templates/cargo-sheep.yml
CargoSheep: DisplayTitle: '&8Inside the wool of this sheep...' ContainerType: PERSONAL NumberOfRows: 3 Contents: - 0||DISPLAY||v WHITE_WOOL 0||1|| - 1||EDGE||v GRAY_STAINED_GLASS_PANE 0||1||NME ||CMD3000|| - 2||STORAGE||v WHITE_WOOL 0||1|| - 3||STORAGE||v COBWEB 0||1|| - 4||STORAGE||v COBWEB 0||1|| - 5||STORAGE||v COBWEB 0||1|| - 6||DISPLAY||v WHITE_WOOL 0||1|| - 7||EDGE||v GRAY_STAINED_GLASS_PANE 0||1||NME ||CMD3000|| - 8||EDGE||v GRAY_STAINED_GLASS_PANE 0||1||NME ||CMD3000|| - 9||DISPLAY||v WHITE_WOOL 0||1|| - 10||STORAGE||v COBWEB 0||1|| - 11||STORAGE||v STRING 0||1|| - 12||STORAGE||v STRING 0||1|| - 13||STORAGE||v STRING 0||1|| - 14||STORAGE||v STRING 0||1|| - 15||STORAGE||v STRING 0||1|| - 16||STORAGE||v COBWEB 0||1|| - 17||DISPLAY||v COBWEB 0||1|| - 18||EDGE||v GRAY_STAINED_GLASS_PANE 0||1||NME ||CMD3000|| - 19||DISPLAY||v WHITE_WOOL 0||1|| - 20||STORAGE||v COBWEB 0||1|| - 21||STORAGE||v COBWEB 0||1|| - 22||STORAGE||v WHITE_WOOL 0||1|| - 23||EDGE||v GRAY_STAINED_GLASS_PANE 0||1||NME ||CMD3000|| - 24||EDGE||v GRAY_STAINED_GLASS_PANE 0||1||NME ||CMD3000|| - 25||EDGE||v GRAY_STAINED_GLASS_PANE 0||1||NME ||CMD3000|| - 26||DISPLAY||v WHITE_WOOL 0||1||