|
| 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