Hi i would like to spawn wither but unpowered, but idk how do it :/ in the first builds for 0.16 it was possible due to broken metadata sending, but now idk how to do it (property id).
there are DATA_FLAG_CHARGED and DATA_FLAG_POWERED, but wither is powered by default, without these flags
I'm not sure if this has to be changed/adjusted/whatever by PM. Anyways, you can set dataflags false too. Setting a dataflag doesn't always have to be true.
why? data flags such as named tag, invisible, etc... are same for all mobs and is there any unpower flag for wither?
Maybe you have never heard that, but plugins usually add something that is not implemented in PocketMine —,—
its easy. PocketMine has already implemented entity MetaData. i just need data flag id. Or how to find it in disassebmled MCPE code.
try $entity->saveNBT() after youve set glowing to 0 (false) on the entity's nbt im not entierly sure, not that good in nbt
He is doing that by packets, so there is no $entity variable, just a $pk->metadata array to insert the data flags.