If you use this plugin, please consider to share (By opening an issue) your entities, skins or model. It will encourage me to continue and try to put new functionalities.
Main idea and code - Thanks to Enes5519
https://github.com/Enes5519/PlayerHead/
Download: https://poggit.pmmp.io/ci/benda95280/MyEntities
Do you need to add entity and manage it easily , and add more blocks/items to your server ? Want a life dispenser ? A small flower pot ? Or just some popcorn ?
!! Some examples included !!
Can be run from console
Automatic creation of entity in config file when Skin in folder and not exist (I'm so lazy ...)
Items/entities can be given to players
You can place entities with custom head texture EASILY
You can place custom entities, with geometry
Powerful automatic verification of your config file (See Screenshot) -> Change 'log-level' in config file for more informations
Custom parameters for entity:
Item to help :
(PlayerName is optional)
skins:
book_1:
type: 'head'
name: 'Nice Book'
param:
size: 'small'
health: 1
unbreakable: 1
usable:
#Number usable time
time: 3
#New Skin when empty ? (Skin name must be '*_empty.png')
skinchange: 1
#Automatic Reload in second ? 0 = Never / Max 300 (5min)
reload: 0
#Destruction when empty ? 0 = No
destruction: 0
#Message when using (Empty/remaining ...)?
use_msg: 1
#Custom message when descruction happen
destruction_msg: "Oups, sorry ..."
#When used, what it does ?
# Heal 1 = Half Hearth
# Effects: EFFECT/Amplifier/Duration | Items: ID/meta/count
# action: '{"heal": 1, "teleport": "1;2;3", "effect": "1/1/30;2/1/60;3/1/80", "item": "1/1/30;2/1/60;3/1/20", "msg": "May the force be with you ..."}'
# action: '{"Set1":{"heal": 4, "item": "1/1/30;2/1/60;3/1/80"}, "Set2":{"heal":8,"msg":"Big Heal;Dude;You like that ?" }}'
action: '{"heal": 1, "effect": "1/1/30;2/1/60;3/1/80", "msg": "May the force be with you ..."}'
#choose one random action ?
action_random: 1
(Inspired from ... HalfLife, please send me a new model/skin if you can ...)
Source / credits of the skin: https://minecraft-heads.com/
book: https://minecraft-heads.com/custom-heads/decoration/30771-old-book
bowl_pasta: https://minecraft-heads.com/custom-heads/food%20&%20drinks/30178-bowl-of-pasta-with-tomato-sauce
calice: https://minecraft-heads.com/custom-heads/decoration/883-golden-chalice
crate_locked: https://minecraft-heads.com/custom-heads/decoration/31223-locked-crate-gray
bible: https://minecraft-heads.com/custom-heads/decoration/603-bible
A big thanks to :