Replace illusioners with pillagers (#550)

Illusioners do not exist in Bedrock edition; this commit replaces them with pillagers so they can be somewhat replicated.
This commit is contained in:
Camotoy 2020-05-13 17:08:32 -04:00 committed by GitHub
parent 6aadfb3a63
commit 278f59103e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,12 @@ public enum EntityType {
/** /**
* Item frames are handled differently since they are a block in Bedrock. * Item frames are handled differently since they are a block in Bedrock.
*/ */
ITEM_FRAME(ItemFrameEntity.class, 0, 0, 0); ITEM_FRAME(ItemFrameEntity.class, 0, 0, 0),
/**
* Not an entity in Bedrock, so we replace it with a Pillager
*/
ILLUSIONER(AbstractIllagerEntity.class, 114, 1.8f, 0.6f, 0.6f, 1.62f, "minecraft:pillager");
private Class<? extends Entity> entityClass; private Class<? extends Entity> entityClass;
private final int type; private final int type;