Add missing entity metadata ID for fireworks

This commit is contained in:
Camotoy 2021-11-19 21:37:26 -05:00
parent 03ff725e47
commit 96e60e043a
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -252,6 +252,7 @@ public final class EntityDefinitions {
.identifier("minecraft:fireworks_rocket")
.addTranslator(MetadataType.ITEM, FireworkEntity::setFireworkItem)
.addTranslator(MetadataType.OPTIONAL_VARINT, FireworkEntity::setPlayerGliding)
.addTranslator(null) // Shot at angle
.build();
FISHING_BOBBER = EntityDefinition.<FishingHookEntity>inherited(null, entityBase)
.type(EntityType.FISHING_BOBBER)