Separate names with a comma.
Comments in 'Plugin Development' started by iDirtPlayzMC, Oct 21, 2015.
How to create a fake entities ( drop on the ground - items - entities )
There was something about packets, i've never used them (directly) so i cant say no more
Is ok figured it out about spawning entities but dk how to make it fake lol xD
Store the enitities you created in an array or config and cancel the InventoryPickupItemEvent if a player tries to pick them up.
I'll give you some credit for the trolling plugin I'm making
So you want to spawn an item that is unpickable?
@Primus note that you have to handle a lot of things if you use packets. It wouldn't work well if you send the entities while the player isn't using (loaded) that chunk.
But spawning actual entity (about 50) and handling InventoryPickupEvent? would'nt cause lag ?
Wait. So the @Hotshot_9930 way is correct?
so i must add entity on server start, save it and remove on server stop? or how?
Spawn entities ( have particle in it ) function = spawn mobs ( mob ai from aliuly ) so basicly its a mob spawner
if you want A Spawner MOBS ??
Look at code in ItemCasePE