mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-12-23 17:08:00 +01:00
Add trident to EntityType1_13
This commit is contained in:
parent
88cfa40776
commit
885ae3f63b
@ -286,7 +286,8 @@ public class EntityType1_13 {
|
||||
EVOCATION_FANGS(79, EntityType.EVOCATION_FANGS),
|
||||
FISHIHNG_HOOK(90, EntityType.FISHING_BOBBER),
|
||||
SPECTRAL_ARROW(91, EntityType.SPECTRAL_ARROW),
|
||||
DRAGON_FIREBALL(93, EntityType.DRAGON_FIREBALL);
|
||||
DRAGON_FIREBALL(93, EntityType.DRAGON_FIREBALL),
|
||||
TRIDENT(94, EntityType.TRIDENT);
|
||||
|
||||
private final int id;
|
||||
private final EntityType type;
|
||||
@ -308,7 +309,7 @@ public class EntityType1_13 {
|
||||
return output.map(ObjectType::getType);
|
||||
}
|
||||
|
||||
public static Optional<ObjectType> fromEntityType(EntityType type){
|
||||
public static Optional<ObjectType> fromEntityType(EntityType type) {
|
||||
for (ObjectType ent : ObjectType.values())
|
||||
if (ent.getType() == type)
|
||||
return Optional.of(ent);
|
||||
|
Loading…
Reference in New Issue
Block a user