mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 10:05:12 +01:00
Fix default values to match vanilla
This commit is contained in:
parent
5b4925e2fb
commit
785b450168
@ -245,7 +245,7 @@ public enum EntityTypes1_14 implements EntityType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType getTypeFromId(final int typeId) {
|
public static EntityType getTypeFromId(final int typeId) {
|
||||||
return EntityTypeUtil.getTypeFromId(TYPES, typeId, ENTITY);
|
return EntityTypeUtil.getTypeFromId(TYPES, typeId, PIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
||||||
|
@ -246,7 +246,7 @@ public enum EntityTypes1_15 implements EntityType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType getTypeFromId(final int typeId) {
|
public static EntityType getTypeFromId(final int typeId) {
|
||||||
return EntityTypeUtil.getTypeFromId(TYPES, typeId, ENTITY);
|
return EntityTypeUtil.getTypeFromId(TYPES, typeId, PIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
||||||
|
@ -250,7 +250,7 @@ public enum EntityTypes1_16 implements EntityType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType getTypeFromId(final int typeId) {
|
public static EntityType getTypeFromId(final int typeId) {
|
||||||
return EntityTypeUtil.getTypeFromId(TYPES, typeId, ENTITY);
|
return EntityTypeUtil.getTypeFromId(TYPES, typeId, PIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
||||||
|
@ -253,7 +253,7 @@ public enum EntityTypes1_16_2 implements EntityType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType getTypeFromId(final int typeId) {
|
public static EntityType getTypeFromId(final int typeId) {
|
||||||
return EntityTypeUtil.getTypeFromId(TYPES, typeId, ENTITY);
|
return EntityTypeUtil.getTypeFromId(TYPES, typeId, PIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
||||||
|
@ -259,7 +259,7 @@ public enum EntityTypes1_17 implements EntityType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType getTypeFromId(final int typeId) {
|
public static EntityType getTypeFromId(final int typeId) {
|
||||||
return EntityTypeUtil.getTypeFromId(TYPES, typeId, ENTITY);
|
return EntityTypeUtil.getTypeFromId(TYPES, typeId, PIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
||||||
|
@ -264,7 +264,7 @@ public enum EntityTypes1_19 implements EntityType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType getTypeFromId(final int typeId) {
|
public static EntityType getTypeFromId(final int typeId) {
|
||||||
return EntityTypeUtil.getTypeFromId(TYPES, typeId, ENTITY);
|
return EntityTypeUtil.getTypeFromId(TYPES, typeId, PIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
||||||
|
@ -265,7 +265,7 @@ public enum EntityTypes1_19_3 implements EntityType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType getTypeFromId(final int typeId) {
|
public static EntityType getTypeFromId(final int typeId) {
|
||||||
return EntityTypeUtil.getTypeFromId(TYPES, typeId, ENTITY);
|
return EntityTypeUtil.getTypeFromId(TYPES, typeId, PIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
||||||
|
@ -272,7 +272,7 @@ public enum EntityTypes1_19_4 implements EntityType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType getTypeFromId(final int typeId) {
|
public static EntityType getTypeFromId(final int typeId) {
|
||||||
return EntityTypeUtil.getTypeFromId(TYPES, typeId, ENTITY);
|
return EntityTypeUtil.getTypeFromId(TYPES, typeId, PIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
||||||
|
@ -274,7 +274,7 @@ public enum EntityTypes1_20_3 implements EntityType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType getTypeFromId(final int typeId) {
|
public static EntityType getTypeFromId(final int typeId) {
|
||||||
return EntityTypeUtil.getTypeFromId(TYPES, typeId, ENTITY);
|
return EntityTypeUtil.getTypeFromId(TYPES, typeId, PIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
||||||
|
@ -280,7 +280,7 @@ public enum EntityTypes1_20_5 implements EntityType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType getTypeFromId(final int typeId) {
|
public static EntityType getTypeFromId(final int typeId) {
|
||||||
return EntityTypeUtil.getTypeFromId(TYPES, typeId, ENTITY);
|
return EntityTypeUtil.getTypeFromId(TYPES, typeId, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
public static void initialize(final Protocol<?, ?, ?, ?> protocol) {
|
||||||
|
Loading…
Reference in New Issue
Block a user