ILLUSION_ILLAGER -> EVOCATION_ILLAGER (Better suggestions are welcome, bow will be invisible with the current entity.)

This commit is contained in:
Matsv 2017-06-08 18:43:23 +02:00
parent 85286095d7
commit 5a4dd8bb6a
No known key found for this signature in database
GPG Key ID: 97CEC2A2EA31350F

View File

@ -341,8 +341,8 @@ public class EntityPackets1_12 extends EntityRewriter<Protocol1_11_1To1_12> {
@Override
protected void registerRewrites() {
// Todo handle IllusionIllager and do research what it is
regEntType(EntityType.PARROT, EntityType.BAT).spawnMetadata(storage -> storage.add(new Metadata(12, MetaType1_12.Byte, (byte) 0x00)));
regEntType(EntityType.ILLUSION_ILLAGER, EntityType.EVOCATION_ILLAGER);
// Parrot remove animal metadata
registerMetaHandler().filter(EntityType.PARROT, 12).removed(); // Is baby