Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-09-08 20:43:04 +02: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.
Dieser Commit ist enthalten in:
Ursprung
6aadfb3a63
Commit
278f59103e
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren