Skip to content

Commit

Permalink
Regenerate api data
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMorpheus committed May 4, 2024
1 parent 7f3079d commit 00c4791
Show file tree
Hide file tree
Showing 27 changed files with 9 additions and 99 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class AdvancementTypes {

// @formatter:off
// SORTFIELDS:ON
/**
* Represents the challenge completion advancement type.
*
Expand All @@ -66,8 +64,6 @@ public final class AdvancementTypes {
*/
public static final DefaultedRegistryReference<AdvancementType> TASK = AdvancementTypes.key(ResourceKey.sponge("task"));

// SORTFIELDS:OFF
// @formatter:on
private AdvancementTypes() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class ArmorMaterials {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<ArmorMaterial> CHAINMAIL = ArmorMaterials.key(ResourceKey.sponge("chainmail"));

public static final DefaultedRegistryReference<ArmorMaterial> DIAMOND = ArmorMaterials.key(ResourceKey.sponge("diamond"));
Expand All @@ -56,8 +54,6 @@ public final class ArmorMaterials {

public static final DefaultedRegistryReference<ArmorMaterial> TURTLE = ArmorMaterials.key(ResourceKey.sponge("turtle"));

// SORTFIELDS:OFF
// @formatter:on
private ArmorMaterials() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,12 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class BambooLeavesTypes {

// @formatter:off
public static final DefaultedRegistryReference<BambooLeavesType> LARGE = BambooLeavesTypes.key(ResourceKey.sponge("large"));

public static final DefaultedRegistryReference<BambooLeavesType> NONE = BambooLeavesTypes.key(ResourceKey.sponge("none"));

public static final DefaultedRegistryReference<BambooLeavesType> SMALL = BambooLeavesTypes.key(ResourceKey.sponge("small"));

// @formatter:on
private BambooLeavesTypes() {
}

Expand Down
4 changes: 0 additions & 4 deletions src/main/java/org/spongepowered/api/data/type/BoatTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class BoatTypes {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<BoatType> ACACIA = BoatTypes.key(ResourceKey.sponge("acacia"));

public static final DefaultedRegistryReference<BoatType> BAMBOO = BoatTypes.key(ResourceKey.sponge("bamboo"));
Expand All @@ -60,8 +58,6 @@ public final class BoatTypes {

public static final DefaultedRegistryReference<BoatType> SPRUCE = BoatTypes.key(ResourceKey.sponge("spruce"));

// SORTFIELDS:OFF
// @formatter:on
private BoatTypes() {
}

Expand Down
4 changes: 0 additions & 4 deletions src/main/java/org/spongepowered/api/data/type/DyeColors.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class DyeColors {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<DyeColor> BLACK = DyeColors.key(ResourceKey.sponge("black"));

public static final DefaultedRegistryReference<DyeColor> BLUE = DyeColors.key(ResourceKey.sponge("blue"));
Expand Down Expand Up @@ -74,8 +72,6 @@ public final class DyeColors {

public static final DefaultedRegistryReference<DyeColor> YELLOW = DyeColors.key(ResourceKey.sponge("yellow"));

// SORTFIELDS:OFF
// @formatter:on
private DyeColors() {
}

Expand Down
4 changes: 0 additions & 4 deletions src/main/java/org/spongepowered/api/data/type/FoxTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,10 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class FoxTypes {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<FoxType> RED = FoxTypes.key(ResourceKey.sponge("red"));

public static final DefaultedRegistryReference<FoxType> SNOW = FoxTypes.key(ResourceKey.sponge("snow"));

// SORTFIELDS:OFF
// @formatter:on
private FoxTypes() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class HorseColors {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<HorseColor> BLACK = HorseColors.key(ResourceKey.sponge("black"));

public static final DefaultedRegistryReference<HorseColor> BROWN = HorseColors.key(ResourceKey.sponge("brown"));
Expand All @@ -56,8 +54,6 @@ public final class HorseColors {

public static final DefaultedRegistryReference<HorseColor> WHITE = HorseColors.key(ResourceKey.sponge("white"));

// SORTFIELDS:OFF
// @formatter:on
private HorseColors() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class HorseStyles {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<HorseStyle> BLACK_DOTS = HorseStyles.key(ResourceKey.sponge("black_dots"));

public static final DefaultedRegistryReference<HorseStyle> NONE = HorseStyles.key(ResourceKey.sponge("none"));
Expand All @@ -52,8 +50,6 @@ public final class HorseStyles {

public static final DefaultedRegistryReference<HorseStyle> WHITE_FIELD = HorseStyles.key(ResourceKey.sponge("white_field"));

// SORTFIELDS:OFF
// @formatter:on
private HorseStyles() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class InstrumentTypes {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<InstrumentType> BANJO = InstrumentTypes.key(ResourceKey.sponge("banjo"));

public static final DefaultedRegistryReference<InstrumentType> BASE_DRUM = InstrumentTypes.key(ResourceKey.sponge("basedrum"));
Expand Down Expand Up @@ -88,8 +86,6 @@ public final class InstrumentTypes {

public static final DefaultedRegistryReference<InstrumentType> ZOMBIE = InstrumentTypes.key(ResourceKey.sponge("zombie"));

// SORTFIELDS:OFF
// @formatter:on
private InstrumentTypes() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class TropicalFishShapes {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<TropicalFishShape> BETTY = TropicalFishShapes.key(ResourceKey.sponge("betty"));

public static final DefaultedRegistryReference<TropicalFishShape> BLOCKFISH = TropicalFishShapes.key(ResourceKey.sponge("blockfish"));
Expand All @@ -67,8 +65,6 @@ public final class TropicalFishShapes {

public static final DefaultedRegistryReference<TropicalFishShape> SUNSTREAK = TropicalFishShapes.key(ResourceKey.sponge("sunstreak"));

// SORTFIELDS:OFF
// @formatter:on
private TropicalFishShapes() {
}

Expand Down
7 changes: 3 additions & 4 deletions src/main/java/org/spongepowered/api/entity/EntityTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,15 @@
import org.spongepowered.api.registry.RegistryScopes;
import org.spongepowered.api.registry.RegistryTypes;

/**
* <!-- This file is automatically generated. Any manual changes will be overwritten. -->
*/
@SuppressWarnings("unused")
@RegistryScopes(scopes = RegistryScope.GAME)
public final class EntityTypes {

public static final DefaultedRegistryReference<EntityType<Allay>> ALLAY = EntityTypes.key(ResourceKey.minecraft("allay"));

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<EntityType<AreaEffectCloud>> AREA_EFFECT_CLOUD = EntityTypes.key(ResourceKey.minecraft("area_effect_cloud"));

public static final DefaultedRegistryReference<EntityType<ArmorStand>> ARMOR_STAND = EntityTypes.key(ResourceKey.minecraft("armor_stand"));
Expand Down Expand Up @@ -413,8 +414,6 @@ public final class EntityTypes {

public static final DefaultedRegistryReference<EntityType<ZombifiedPiglin>> ZOMBIFIED_PIGLIN = EntityTypes.key(ResourceKey.minecraft("zombified_piglin"));

// SORTFIELDS:OFF
// @formatter:on
private EntityTypes() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class BillboardTypes {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<BillboardType> CENTER = BillboardTypes.key(ResourceKey.sponge("center"));

public static final DefaultedRegistryReference<BillboardType> FIXED = BillboardTypes.key(ResourceKey.sponge("fixed"));
Expand All @@ -49,8 +47,6 @@ public final class BillboardTypes {

public static final DefaultedRegistryReference<BillboardType> VERTICAL = BillboardTypes.key(ResourceKey.sponge("vertical"));

// SORTFIELDS:OFF
// @formatter:on
private BillboardTypes() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class ItemDisplayTypes {

// @formatter:off
// SORTFIELDS:OFF
public static final DefaultedRegistryReference<ItemDisplayType> FIRSTPERSON_LEFTHAND = ItemDisplayTypes.key(ResourceKey.sponge("firstperson_lefthand"));

public static final DefaultedRegistryReference<ItemDisplayType> FIRSTPERSON_RIGHTHAND = ItemDisplayTypes.key(ResourceKey.sponge("firstperson_righthand"));
Expand All @@ -60,8 +58,6 @@ public final class ItemDisplayTypes {

public static final DefaultedRegistryReference<ItemDisplayType> THIRDPERSON_RIGHTHAND = ItemDisplayTypes.key(ResourceKey.sponge("thirdperson_righthand"));

// SORTFIELDS:OFF
// @formatter:on
private ItemDisplayTypes() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,12 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class TextAlignments {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<TextAlignment> CENTER = TextAlignments.key(ResourceKey.sponge("center"));

public static final DefaultedRegistryReference<TextAlignment> LEFT = TextAlignments.key(ResourceKey.sponge("left"));

public static final DefaultedRegistryReference<TextAlignment> RIGHT = TextAlignments.key(ResourceKey.sponge("right"));

// SORTFIELDS:OFF
// @formatter:on
private TextAlignments() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class DamageEffects {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<DamageEffect> BURNING = DamageEffects.key(ResourceKey.sponge("burning"));

public static final DefaultedRegistryReference<DamageEffect> DROWNING = DamageEffects.key(ResourceKey.sponge("drowning"));
Expand All @@ -54,8 +52,6 @@ public final class DamageEffects {

public static final DefaultedRegistryReference<DamageEffect> THORNS = DamageEffects.key(ResourceKey.sponge("thorns"));

// SORTFIELDS:OFF
// @formatter:on
private DamageEffects() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,12 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class DamageScalings {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<DamageScaling> ALWAYS = DamageScalings.key(ResourceKey.sponge("always"));

public static final DefaultedRegistryReference<DamageScaling> NEVER = DamageScalings.key(ResourceKey.sponge("never"));

public static final DefaultedRegistryReference<DamageScaling> WHEN_CAUSED_BY_LIVING_NON_PLAYER = DamageScalings.key(ResourceKey.sponge("when_caused_by_living_non_player"));

// SORTFIELDS:OFF
// @formatter:on
private DamageScalings() {
}

Expand Down
4 changes: 0 additions & 4 deletions src/main/java/org/spongepowered/api/item/ItemRarities.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class ItemRarities {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<ItemRarity> COMMON = ItemRarities.key(ResourceKey.sponge("common"));

public static final DefaultedRegistryReference<ItemRarity> EPIC = ItemRarities.key(ResourceKey.sponge("epic"));
Expand All @@ -50,8 +48,6 @@ public final class ItemRarities {

public static final DefaultedRegistryReference<ItemRarity> UNCOMMON = ItemRarities.key(ResourceKey.sponge("uncommon"));

// SORTFIELDS:OFF
// @formatter:on
private ItemRarities() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,12 @@
import org.spongepowered.api.registry.RegistryTypes;

/**
* An enumeration of known {@link EnchantmentType}s.
*
* <p>In vanilla the minimum level of these is 1, while the max levels vary.</p>
* <!-- This file is automatically generated. Any manual changes will be overwritten. -->
*/
@SuppressWarnings("unused")
@RegistryScopes(scopes = RegistryScope.GAME)
public final class EnchantmentTypes {

// @formatter:off
// SORTFIELDS:ON
/**
* Increases regular underwater mining speed.
*
Expand Down Expand Up @@ -279,8 +275,6 @@ public final class EnchantmentTypes {
*/
public static final DefaultedRegistryReference<EnchantmentType> VANISHING_CURSE = EnchantmentTypes.key(ResourceKey.minecraft("vanishing_curse"));

// SORTFIELDS:OFF
// @formatter:on
private EnchantmentTypes() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,12 @@
import org.spongepowered.api.registry.RegistryTypes;

/**
* An enumeration of all {@link RecipeType}s in vanilla minecraft.
* <!-- This file is automatically generated. Any manual changes will be overwritten. -->
*/
@SuppressWarnings("unused")
@RegistryScopes(scopes = RegistryScope.GAME)
public final class RecipeTypes {

// @formatter:off
// SORTFIELDS:ON
public static final DefaultedRegistryReference<RecipeType<CookingRecipe>> BLASTING = RecipeTypes.key(ResourceKey.minecraft("blasting"));

public static final DefaultedRegistryReference<RecipeType<CookingRecipe>> CAMPFIRE_COOKING = RecipeTypes.key(ResourceKey.minecraft("campfire_cooking"));
Expand All @@ -60,8 +58,6 @@ public final class RecipeTypes {

public static final DefaultedRegistryReference<RecipeType<StoneCutterRecipe>> STONECUTTING = RecipeTypes.key(ResourceKey.minecraft("stonecutting"));

// SORTFIELDS:OFF
// @formatter:on
private RecipeTypes() {
}

Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/spongepowered/api/tag/BiomeTags.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class BiomeTags {

//@formatter:off
public static final Tag<Biome> ALLOWS_SURFACE_SLIME_SPAWNS = BiomeTags.key(ResourceKey.minecraft("allows_surface_slime_spawns"));

public static final Tag<Biome> ALLOWS_TROPICAL_FISH_SPAWNS_AT_ANY_HEIGHT = BiomeTags.key(ResourceKey.minecraft("allows_tropical_fish_spawns_at_any_height"));
Expand Down Expand Up @@ -176,7 +175,6 @@ public final class BiomeTags {

public static final Tag<Biome> WITHOUT_ZOMBIE_SIEGES = BiomeTags.key(ResourceKey.minecraft("without_zombie_sieges"));

//@formatter:on
private BiomeTags() {
}

Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/spongepowered/api/tag/BlockTypeTags.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
@RegistryScopes(scopes = RegistryScope.GAME)
public final class BlockTypeTags {

//@formatter:off
public static final Tag<BlockType> ACACIA_LOGS = BlockTypeTags.key(ResourceKey.minecraft("acacia_logs"));

public static final Tag<BlockType> ALL_HANGING_SIGNS = BlockTypeTags.key(ResourceKey.minecraft("all_hanging_signs"));
Expand Down Expand Up @@ -382,7 +381,6 @@ public final class BlockTypeTags {

public static final Tag<BlockType> WOOL_CARPETS = BlockTypeTags.key(ResourceKey.minecraft("wool_carpets"));

//@formatter:on
private BlockTypeTags() {
}

Expand Down
Loading

0 comments on commit 00c4791

Please sign in to comment.