Skip to content

Commit 201e3a2

Browse files
authored
Add missing tag groups (#2590)
1 parent 23dfbfd commit 201e3a2

File tree

4 files changed

+238
-0
lines changed

4 files changed

+238
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
3+
*
4+
* Copyright (c) SpongePowered <https://www.spongepowered.org>
5+
* Copyright (c) contributors
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
* THE SOFTWARE.
24+
*/
25+
package org.spongepowered.api.tag;
26+
27+
import org.spongepowered.api.ResourceKey;
28+
import org.spongepowered.api.data.type.ArtType;
29+
import org.spongepowered.api.registry.RegistryScope;
30+
import org.spongepowered.api.registry.RegistryScopes;
31+
import org.spongepowered.api.registry.RegistryTypes;
32+
33+
/**
34+
* <!-- This file is automatically generated. Any manual changes will be overwritten. -->
35+
*/
36+
@SuppressWarnings("unused")
37+
@RegistryScopes(scopes = RegistryScope.GAME)
38+
public final class ArtTypeTags {
39+
40+
public static final DefaultedTag<ArtType> PLACEABLE = ArtTypeTags.key(ResourceKey.minecraft("placeable"));
41+
42+
private ArtTypeTags() {
43+
}
44+
45+
private static DefaultedTag<ArtType> key(final ResourceKey key) {
46+
return DefaultedTag.of(RegistryTypes.ART_TYPE, key);
47+
}
48+
}
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
/*
2+
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
3+
*
4+
* Copyright (c) SpongePowered <https://www.spongepowered.org>
5+
* Copyright (c) contributors
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
* THE SOFTWARE.
24+
*/
25+
package org.spongepowered.api.tag;
26+
27+
import org.spongepowered.api.ResourceKey;
28+
import org.spongepowered.api.data.type.BannerPatternShape;
29+
import org.spongepowered.api.registry.RegistryScope;
30+
import org.spongepowered.api.registry.RegistryScopes;
31+
import org.spongepowered.api.registry.RegistryTypes;
32+
33+
/**
34+
* <!-- This file is automatically generated. Any manual changes will be overwritten. -->
35+
*/
36+
@SuppressWarnings("unused")
37+
@RegistryScopes(scopes = RegistryScope.GAME)
38+
public final class BannerPatternShapeTags {
39+
40+
public static final DefaultedTag<BannerPatternShape> NO_ITEM_REQUIRED = BannerPatternShapeTags.key(ResourceKey.minecraft("no_item_required"));
41+
42+
public static final DefaultedTag<BannerPatternShape> PATTERN_ITEM_BORDURE_INDENTED = BannerPatternShapeTags.key(ResourceKey.minecraft("pattern_item/bordure_indented"));
43+
44+
public static final DefaultedTag<BannerPatternShape> PATTERN_ITEM_CREEPER = BannerPatternShapeTags.key(ResourceKey.minecraft("pattern_item/creeper"));
45+
46+
public static final DefaultedTag<BannerPatternShape> PATTERN_ITEM_FIELD_MASONED = BannerPatternShapeTags.key(ResourceKey.minecraft("pattern_item/field_masoned"));
47+
48+
public static final DefaultedTag<BannerPatternShape> PATTERN_ITEM_FLOW = BannerPatternShapeTags.key(ResourceKey.minecraft("pattern_item/flow"));
49+
50+
public static final DefaultedTag<BannerPatternShape> PATTERN_ITEM_FLOWER = BannerPatternShapeTags.key(ResourceKey.minecraft("pattern_item/flower"));
51+
52+
public static final DefaultedTag<BannerPatternShape> PATTERN_ITEM_GLOBE = BannerPatternShapeTags.key(ResourceKey.minecraft("pattern_item/globe"));
53+
54+
public static final DefaultedTag<BannerPatternShape> PATTERN_ITEM_GUSTER = BannerPatternShapeTags.key(ResourceKey.minecraft("pattern_item/guster"));
55+
56+
public static final DefaultedTag<BannerPatternShape> PATTERN_ITEM_MOJANG = BannerPatternShapeTags.key(ResourceKey.minecraft("pattern_item/mojang"));
57+
58+
public static final DefaultedTag<BannerPatternShape> PATTERN_ITEM_PIGLIN = BannerPatternShapeTags.key(ResourceKey.minecraft("pattern_item/piglin"));
59+
60+
public static final DefaultedTag<BannerPatternShape> PATTERN_ITEM_SKULL = BannerPatternShapeTags.key(ResourceKey.minecraft("pattern_item/skull"));
61+
62+
private BannerPatternShapeTags() {
63+
}
64+
65+
private static DefaultedTag<BannerPatternShape> key(final ResourceKey key) {
66+
return DefaultedTag.of(RegistryTypes.BANNER_PATTERN_SHAPE, key);
67+
}
68+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/*
2+
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
3+
*
4+
* Copyright (c) SpongePowered <https://www.spongepowered.org>
5+
* Copyright (c) contributors
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
* THE SOFTWARE.
24+
*/
25+
package org.spongepowered.api.tag;
26+
27+
import org.spongepowered.api.ResourceKey;
28+
import org.spongepowered.api.data.type.CatType;
29+
import org.spongepowered.api.registry.RegistryScope;
30+
import org.spongepowered.api.registry.RegistryScopes;
31+
import org.spongepowered.api.registry.RegistryTypes;
32+
33+
/**
34+
* <!-- This file is automatically generated. Any manual changes will be overwritten. -->
35+
*/
36+
@SuppressWarnings("unused")
37+
@RegistryScopes(scopes = RegistryScope.GAME)
38+
public final class CatTypeTags {
39+
40+
public static final DefaultedTag<CatType> DEFAULT_SPAWNS = CatTypeTags.key(ResourceKey.minecraft("default_spawns"));
41+
42+
public static final DefaultedTag<CatType> FULL_MOON_SPAWNS = CatTypeTags.key(ResourceKey.minecraft("full_moon_spawns"));
43+
44+
private CatTypeTags() {
45+
}
46+
47+
private static DefaultedTag<CatType> key(final ResourceKey key) {
48+
return DefaultedTag.of(RegistryTypes.CAT_TYPE, key);
49+
}
50+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
3+
*
4+
* Copyright (c) SpongePowered <https://www.spongepowered.org>
5+
* Copyright (c) contributors
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
* THE SOFTWARE.
24+
*/
25+
package org.spongepowered.api.tag;
26+
27+
import org.spongepowered.api.ResourceKey;
28+
import org.spongepowered.api.registry.RegistryScope;
29+
import org.spongepowered.api.registry.RegistryScopes;
30+
import org.spongepowered.api.registry.RegistryTypes;
31+
import org.spongepowered.api.world.generation.structure.Structure;
32+
33+
/**
34+
* <!-- This file is automatically generated. Any manual changes will be overwritten. -->
35+
*/
36+
@SuppressWarnings("unused")
37+
@RegistryScopes(scopes = RegistryScope.GAME)
38+
public final class StructureTags {
39+
40+
public static final DefaultedTag<Structure> CATS_SPAWN_AS_BLACK = StructureTags.key(ResourceKey.minecraft("cats_spawn_as_black"));
41+
42+
public static final DefaultedTag<Structure> CATS_SPAWN_IN = StructureTags.key(ResourceKey.minecraft("cats_spawn_in"));
43+
44+
public static final DefaultedTag<Structure> DOLPHIN_LOCATED = StructureTags.key(ResourceKey.minecraft("dolphin_located"));
45+
46+
public static final DefaultedTag<Structure> EYE_OF_ENDER_LOCATED = StructureTags.key(ResourceKey.minecraft("eye_of_ender_located"));
47+
48+
public static final DefaultedTag<Structure> MINESHAFT = StructureTags.key(ResourceKey.minecraft("mineshaft"));
49+
50+
public static final DefaultedTag<Structure> OCEAN_RUIN = StructureTags.key(ResourceKey.minecraft("ocean_ruin"));
51+
52+
public static final DefaultedTag<Structure> ON_OCEAN_EXPLORER_MAPS = StructureTags.key(ResourceKey.minecraft("on_ocean_explorer_maps"));
53+
54+
public static final DefaultedTag<Structure> ON_TREASURE_MAPS = StructureTags.key(ResourceKey.minecraft("on_treasure_maps"));
55+
56+
public static final DefaultedTag<Structure> ON_TRIAL_CHAMBERS_MAPS = StructureTags.key(ResourceKey.minecraft("on_trial_chambers_maps"));
57+
58+
public static final DefaultedTag<Structure> ON_WOODLAND_EXPLORER_MAPS = StructureTags.key(ResourceKey.minecraft("on_woodland_explorer_maps"));
59+
60+
public static final DefaultedTag<Structure> RUINED_PORTAL = StructureTags.key(ResourceKey.minecraft("ruined_portal"));
61+
62+
public static final DefaultedTag<Structure> SHIPWRECK = StructureTags.key(ResourceKey.minecraft("shipwreck"));
63+
64+
public static final DefaultedTag<Structure> VILLAGE = StructureTags.key(ResourceKey.minecraft("village"));
65+
66+
private StructureTags() {
67+
}
68+
69+
private static DefaultedTag<Structure> key(final ResourceKey key) {
70+
return DefaultedTag.of(RegistryTypes.STRUCTURE, key);
71+
}
72+
}

0 commit comments

Comments
 (0)