Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 16:12:43 +01:00
Add trident to EntityType1_13
Dieser Commit ist enthalten in:
Ursprung
88cfa40776
Commit
885ae3f63b
@ -286,7 +286,8 @@ public class EntityType1_13 {
|
|||||||
EVOCATION_FANGS(79, EntityType.EVOCATION_FANGS),
|
EVOCATION_FANGS(79, EntityType.EVOCATION_FANGS),
|
||||||
FISHIHNG_HOOK(90, EntityType.FISHING_BOBBER),
|
FISHIHNG_HOOK(90, EntityType.FISHING_BOBBER),
|
||||||
SPECTRAL_ARROW(91, EntityType.SPECTRAL_ARROW),
|
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 int id;
|
||||||
private final EntityType type;
|
private final EntityType type;
|
||||||
@ -308,7 +309,7 @@ public class EntityType1_13 {
|
|||||||
return output.map(ObjectType::getType);
|
return output.map(ObjectType::getType);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Optional<ObjectType> fromEntityType(EntityType type){
|
public static Optional<ObjectType> fromEntityType(EntityType type) {
|
||||||
for (ObjectType ent : ObjectType.values())
|
for (ObjectType ent : ObjectType.values())
|
||||||
if (ent.getType() == type)
|
if (ent.getType() == type)
|
||||||
return Optional.of(ent);
|
return Optional.of(ent);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren