/*
 * This file is part of SpongeAPI, licensed under the MIT License (MIT).
 *
 * Copyright (c) SpongePowered <https://www.spongepowered.org>
 * Copyright (c) contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package org.spongepowered.api.item.inventory.equipment;

import org.spongepowered.api.Sponge;

import java.util.function.Supplier;

/**
 * All built-in equipment types.
 */
public final class EquipmentTypes {

    public static final Supplier<EquipmentType> BOOTS = Sponge.getRegistry().getCatalogRegistry().provideSupplier(EquipmentType.class, "BOOTS");

    public static final Supplier<EquipmentType> CHESTPLATE = Sponge.getRegistry().getCatalogRegistry().provideSupplier(EquipmentType.class, "CHESTPLATE");

    public static final Supplier<EquipmentType> HEADWEAR = Sponge.getRegistry().getCatalogRegistry().provideSupplier(EquipmentType.class, "HEADWEAR");

    public static final Supplier<EquipmentType> LEGGINGS = Sponge.getRegistry().getCatalogRegistry().provideSupplier(EquipmentType.class, "LEGGINGS");

    public static final Supplier<EquipmentType> MAIN_HAND = Sponge.getRegistry().getCatalogRegistry().provideSupplier(EquipmentType.class, "MAIN_HAND");

    public static final Supplier<EquipmentType> OFF_HAND = Sponge.getRegistry().getCatalogRegistry().provideSupplier(EquipmentType.class, "OFF_HAND");

    // Suppress default constructor to ensure non-instantiability.
    private EquipmentTypes() {
        throw new AssertionError("You should not be attempting to instantiate this class.");
    }

}

@@ -1590,21 +1590,20 @@
 class, %22
-BOOTS
+feet
 %22);%0A%0A   
@@ -1740,26 +1740,21 @@
 class, %22
-CHESTPLATE
+chest
 %22);%0A%0A   
@@ -1889,24 +1889,20 @@
 class, %22
-HEADWEAR
+head
 %22);%0A%0A   
@@ -2037,24 +2037,20 @@
 class, %22
-LEGGINGS
+legs
 %22);%0A%0A   
@@ -2186,25 +2186,24 @@
 class, %22
-MAIN_HAND
+mainhand
 %22);%0A%0A   
@@ -2338,24 +2338,23 @@
 class, %22
-OFF_HAND
+offhand
 %22);%0A%0A   

fix EquipmentTypes registration