Fix default values to match vanilla

This commit is contained in:
FlorianMichael 2024-07-04 20:48:22 +02:00
parent 5b4925e2fb
commit 785b450168
10 changed files with 10 additions and 10 deletions

View File

@ -245,7 +245,7 @@ public enum EntityTypes1_14 implements EntityType {
}
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) {

View File

@ -246,7 +246,7 @@ public enum EntityTypes1_15 implements EntityType {
}
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) {

View File

@ -250,7 +250,7 @@ public enum EntityTypes1_16 implements EntityType {
}
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) {

View File

@ -253,7 +253,7 @@ public enum EntityTypes1_16_2 implements EntityType {
}
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) {

View File

@ -259,7 +259,7 @@ public enum EntityTypes1_17 implements EntityType {
}
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) {

View File

@ -264,7 +264,7 @@ public enum EntityTypes1_19 implements EntityType {
}
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) {

View File

@ -265,7 +265,7 @@ public enum EntityTypes1_19_3 implements EntityType {
}
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) {

View File

@ -272,7 +272,7 @@ public enum EntityTypes1_19_4 implements EntityType {
}
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) {

View File

@ -274,7 +274,7 @@ public enum EntityTypes1_20_3 implements EntityType {
}
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) {

View File

@ -280,7 +280,7 @@ public enum EntityTypes1_20_5 implements EntityType {
}
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) {