3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-07-30 17:18:10 +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:
Camotoy 2020-05-13 17:08:32 -04:00 committet von GitHub
Ursprung 6aadfb3a63
Commit 278f59103e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -152,7 +152,12 @@ public enum EntityType {
/**
* 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 final int type;