mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Alphabetize the camel
This commit is contained in:
parent
59974c3f3a
commit
bd5428a2e6
1 changed files with 7 additions and 7 deletions
|
@ -860,6 +860,13 @@ public final class EntityDefinitions {
|
||||||
.addTranslator(MetadataType.BYTE, AbstractHorseEntity::setHorseFlags)
|
.addTranslator(MetadataType.BYTE, AbstractHorseEntity::setHorseFlags)
|
||||||
.addTranslator(null) // UUID of owner
|
.addTranslator(null) // UUID of owner
|
||||||
.build();
|
.build();
|
||||||
|
CAMEL = EntityDefinition.inherited(CamelEntity::new, abstractHorseEntityBase)
|
||||||
|
.type(EntityType.CAMEL)
|
||||||
|
.identifier("minecraft:llama") // todo 1.20
|
||||||
|
.height(2.375f).width(1.7f)
|
||||||
|
.addTranslator(MetadataType.BOOLEAN, CamelEntity::setDashing)
|
||||||
|
.addTranslator(null) // Last pose change tick
|
||||||
|
.build();
|
||||||
HORSE = EntityDefinition.inherited(HorseEntity::new, abstractHorseEntityBase)
|
HORSE = EntityDefinition.inherited(HorseEntity::new, abstractHorseEntityBase)
|
||||||
.type(EntityType.HORSE)
|
.type(EntityType.HORSE)
|
||||||
.height(1.6f).width(1.3965f)
|
.height(1.6f).width(1.3965f)
|
||||||
|
@ -895,13 +902,6 @@ public final class EntityDefinitions {
|
||||||
.type(EntityType.TRADER_LLAMA)
|
.type(EntityType.TRADER_LLAMA)
|
||||||
.identifier("minecraft:llama")
|
.identifier("minecraft:llama")
|
||||||
.build();
|
.build();
|
||||||
CAMEL = EntityDefinition.inherited(CamelEntity::new, abstractHorseEntityBase)
|
|
||||||
.type(EntityType.CAMEL)
|
|
||||||
.identifier("minecraft:llama") // todo 1.20
|
|
||||||
.height(2.375f).width(1.7f)
|
|
||||||
.addTranslator(MetadataType.BOOLEAN, CamelEntity::setDashing)
|
|
||||||
.addTranslator(null) // Last pose change tick
|
|
||||||
.build();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EntityDefinition<TameableEntity> tameableEntityBase = EntityDefinition.inherited(TameableEntity::new, ageableEntityBase)
|
EntityDefinition<TameableEntity> tameableEntityBase = EntityDefinition.inherited(TameableEntity::new, ageableEntityBase)
|
||||||
|
|
Loading…
Reference in a new issue