@@ -860,12 +860,32 @@ public final class Keys {
860860 public static final Key <MapValue <EntityType <?>, Double >> CUSTOM_ATTACK_DAMAGE = Keys .mapKey (ResourceKey .sponge ("custom_attack_damage" ), new TypeToken <EntityType <?>>() {}, TypeToken .get (Double .class ));
861861
862862 /**
863- * The resource pack model index of an {@link ItemStack} .
863+ * List of floats used by items model definitions .
864864 *
865- * <p>Resource packs can use the same index in their files to replace the
866- * item model of an ItemStack.</p>
865+ * @see <a href="https://minecraft.wiki/w/Items_model_definition">Items model definition</a>
867866 */
868- public static final Key <Value <Integer >> CUSTOM_MODEL_DATA = Keys .key (ResourceKey .sponge ("custom_model_data" ), Integer .class );
867+ public static final Key <ListValue <Float >> CUSTOM_MODEL_DATA_FLOATS = Keys .listKey (ResourceKey .sponge ("custom_model_data_floats" ), Float .class );
868+
869+ /**
870+ * List of booleans used by items model definitions.
871+ *
872+ * @see <a href="https://minecraft.wiki/w/Items_model_definition">Items model definition</a>
873+ */
874+ public static final Key <ListValue <Boolean >> CUSTOM_MODEL_DATA_FLAGS = Keys .listKey (ResourceKey .sponge ("custom_model_data_flags" ), Boolean .class );
875+
876+ /**
877+ * List of strings used by items model definitions.
878+ *
879+ * @see <a href="https://minecraft.wiki/w/Items_model_definition">Items model definition</a>
880+ */
881+ public static final Key <ListValue <String >> CUSTOM_MODEL_DATA_STRINGS = Keys .listKey (ResourceKey .sponge ("custom_model_data_strings" ), String .class );
882+
883+ /**
884+ * List of colors used by items model definitions.
885+ *
886+ * @see <a href="https://minecraft.wiki/w/Items_model_definition">Items model definition</a>
887+ */
888+ public static final Key <ListValue <Color >> CUSTOM_MODEL_DATA_COLORS = Keys .listKey (ResourceKey .sponge ("custom_model_data_colors" ), Color .class );
869889
870890 /**
871891 * The custom name of an {@link Entity}, {@link ItemStack} or {@link BlockEntity}.
0 commit comments