mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
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:
parent
6aadfb3a63
commit
278f59103e
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue