|
| 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.data; |
| 26 | + |
| 27 | +/** |
| 28 | + * <!-- Copy to the register method of BlockStateDataProvider --> |
| 29 | + */ |
| 30 | +public final class BlockStateDataProvider { |
| 31 | + |
| 32 | + private BlockStateDataProvider() { |
| 33 | + } |
| 34 | + |
| 35 | + public static void register() { |
| 36 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_1, BlockStateProperties.AGE_1); |
| 37 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_15, BlockStateProperties.AGE_15); |
| 38 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_2, BlockStateProperties.AGE_2); |
| 39 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_25, BlockStateProperties.AGE_25); |
| 40 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_3, BlockStateProperties.AGE_3); |
| 41 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_4, BlockStateProperties.AGE_4); |
| 42 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_5, BlockStateProperties.AGE_5); |
| 43 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_7, BlockStateProperties.AGE_7); |
| 44 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.ATTACHED, BlockStateProperties.ATTACHED); |
| 45 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.ATTACH_FACE, BlockStateProperties.ATTACH_FACE); |
| 46 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AXIS, BlockStateProperties.AXIS); |
| 47 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BAMBOO_LEAVES, BlockStateProperties.BAMBOO_LEAVES); |
| 48 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BED_PART, BlockStateProperties.BED_PART); |
| 49 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BELL_ATTACHMENT, BlockStateProperties.BELL_ATTACHMENT); |
| 50 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BERRIES, BlockStateProperties.BERRIES); |
| 51 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BITES, BlockStateProperties.BITES); |
| 52 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BLOOM, BlockStateProperties.BLOOM); |
| 53 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BOTTOM, BlockStateProperties.BOTTOM); |
| 54 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CANDLES, BlockStateProperties.CANDLES); |
| 55 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CAN_SUMMON, BlockStateProperties.CAN_SUMMON); |
| 56 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHEST_TYPE, BlockStateProperties.CHEST_TYPE); |
| 57 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_0_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_0_OCCUPIED); |
| 58 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_1_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_1_OCCUPIED); |
| 59 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_2_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_2_OCCUPIED); |
| 60 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_3_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_3_OCCUPIED); |
| 61 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_4_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_4_OCCUPIED); |
| 62 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_5_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_5_OCCUPIED); |
| 63 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CONDITIONAL, BlockStateProperties.CONDITIONAL); |
| 64 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CRACKED, BlockStateProperties.CRACKED); |
| 65 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CRAFTING, BlockStateProperties.CRAFTING); |
| 66 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CREAKING, BlockStateProperties.CREAKING); |
| 67 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DELAY, BlockStateProperties.DELAY); |
| 68 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DISARMED, BlockStateProperties.DISARMED); |
| 69 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DISTANCE, BlockStateProperties.DISTANCE); |
| 70 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DOOR_HINGE, BlockStateProperties.DOOR_HINGE); |
| 71 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DOUBLE_BLOCK_HALF, BlockStateProperties.DOUBLE_BLOCK_HALF); |
| 72 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DOWN, BlockStateProperties.DOWN); |
| 73 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DRAG, BlockStateProperties.DRAG); |
| 74 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DRIPSTONE_THICKNESS, BlockStateProperties.DRIPSTONE_THICKNESS); |
| 75 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DUSTED, BlockStateProperties.DUSTED); |
| 76 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EAST, BlockStateProperties.EAST); |
| 77 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EAST_REDSTONE, BlockStateProperties.EAST_REDSTONE); |
| 78 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EAST_WALL, BlockStateProperties.EAST_WALL); |
| 79 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EGGS, BlockStateProperties.EGGS); |
| 80 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.ENABLED, BlockStateProperties.ENABLED); |
| 81 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EXTENDED, BlockStateProperties.EXTENDED); |
| 82 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EYE, BlockStateProperties.EYE); |
| 83 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.FACING, BlockStateProperties.FACING); |
| 84 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.FACING_HOPPER, BlockStateProperties.FACING_HOPPER); |
| 85 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.FALLING, BlockStateProperties.FALLING); |
| 86 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.FLOWER_AMOUNT, BlockStateProperties.FLOWER_AMOUNT); |
| 87 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HALF, BlockStateProperties.HALF); |
| 88 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HANGING, BlockStateProperties.HANGING); |
| 89 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HAS_BOOK, BlockStateProperties.HAS_BOOK); |
| 90 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HAS_BOTTLE_0, BlockStateProperties.HAS_BOTTLE_0); |
| 91 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HAS_BOTTLE_1, BlockStateProperties.HAS_BOTTLE_1); |
| 92 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HAS_BOTTLE_2, BlockStateProperties.HAS_BOTTLE_2); |
| 93 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HAS_RECORD, BlockStateProperties.HAS_RECORD); |
| 94 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HATCH, BlockStateProperties.HATCH); |
| 95 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HORIZONTAL_AXIS, BlockStateProperties.HORIZONTAL_AXIS); |
| 96 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HORIZONTAL_FACING, BlockStateProperties.HORIZONTAL_FACING); |
| 97 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.INVERTED, BlockStateProperties.INVERTED); |
| 98 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.IN_WALL, BlockStateProperties.IN_WALL); |
| 99 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LAYERS, BlockStateProperties.LAYERS); |
| 100 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LEVEL, BlockStateProperties.LEVEL); |
| 101 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LEVEL_CAULDRON, BlockStateProperties.LEVEL_CAULDRON); |
| 102 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LEVEL_COMPOSTER, BlockStateProperties.LEVEL_COMPOSTER); |
| 103 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LEVEL_FLOWING, BlockStateProperties.LEVEL_FLOWING); |
| 104 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LEVEL_HONEY, BlockStateProperties.LEVEL_HONEY); |
| 105 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LIT, BlockStateProperties.LIT); |
| 106 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LOCKED, BlockStateProperties.LOCKED); |
| 107 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.MODE_COMPARATOR, BlockStateProperties.MODE_COMPARATOR); |
| 108 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.MOISTURE, BlockStateProperties.MOISTURE); |
| 109 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.NORTH, BlockStateProperties.NORTH); |
| 110 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.NORTH_REDSTONE, BlockStateProperties.NORTH_REDSTONE); |
| 111 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.NORTH_WALL, BlockStateProperties.NORTH_WALL); |
| 112 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.NOTE, BlockStateProperties.NOTE); |
| 113 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.NOTEBLOCK_INSTRUMENT, BlockStateProperties.NOTEBLOCK_INSTRUMENT); |
| 114 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.OCCUPIED, BlockStateProperties.OCCUPIED); |
| 115 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.OMINOUS, BlockStateProperties.OMINOUS); |
| 116 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.OPEN, BlockStateProperties.OPEN); |
| 117 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.ORIENTATION, BlockStateProperties.ORIENTATION); |
| 118 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.PERSISTENT, BlockStateProperties.PERSISTENT); |
| 119 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.PICKLES, BlockStateProperties.PICKLES); |
| 120 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.PISTON_TYPE, BlockStateProperties.PISTON_TYPE); |
| 121 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.POWER, BlockStateProperties.POWER); |
| 122 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.POWERED, BlockStateProperties.POWERED); |
| 123 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.RAIL_SHAPE, BlockStateProperties.RAIL_SHAPE); |
| 124 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.RAIL_SHAPE_STRAIGHT, BlockStateProperties.RAIL_SHAPE_STRAIGHT); |
| 125 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.RESPAWN_ANCHOR_CHARGES, BlockStateProperties.RESPAWN_ANCHOR_CHARGES); |
| 126 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.ROTATION_16, BlockStateProperties.ROTATION_16); |
| 127 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SCULK_SENSOR_PHASE, BlockStateProperties.SCULK_SENSOR_PHASE); |
| 128 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SHORT, BlockStateProperties.SHORT); |
| 129 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SHRIEKING, BlockStateProperties.SHRIEKING); |
| 130 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SIGNAL_FIRE, BlockStateProperties.SIGNAL_FIRE); |
| 131 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SLAB_TYPE, BlockStateProperties.SLAB_TYPE); |
| 132 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SNOWY, BlockStateProperties.SNOWY); |
| 133 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SOUTH, BlockStateProperties.SOUTH); |
| 134 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SOUTH_REDSTONE, BlockStateProperties.SOUTH_REDSTONE); |
| 135 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SOUTH_WALL, BlockStateProperties.SOUTH_WALL); |
| 136 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.STABILITY_DISTANCE, BlockStateProperties.STABILITY_DISTANCE); |
| 137 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.STAGE, BlockStateProperties.STAGE); |
| 138 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.STAIRS_SHAPE, BlockStateProperties.STAIRS_SHAPE); |
| 139 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.STRUCTUREBLOCK_MODE, BlockStateProperties.STRUCTUREBLOCK_MODE); |
| 140 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.TILT, BlockStateProperties.TILT); |
| 141 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.TIP, BlockStateProperties.TIP); |
| 142 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.TRIAL_SPAWNER_STATE, BlockStateProperties.TRIAL_SPAWNER_STATE); |
| 143 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.TRIGGERED, BlockStateProperties.TRIGGERED); |
| 144 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.UNSTABLE, BlockStateProperties.UNSTABLE); |
| 145 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.UP, BlockStateProperties.UP); |
| 146 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.VAULT_STATE, BlockStateProperties.VAULT_STATE); |
| 147 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.VERTICAL_DIRECTION, BlockStateProperties.VERTICAL_DIRECTION); |
| 148 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.WATERLOGGED, BlockStateProperties.WATERLOGGED); |
| 149 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.WEST, BlockStateProperties.WEST); |
| 150 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.WEST_REDSTONE, BlockStateProperties.WEST_REDSTONE); |
| 151 | + BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.WEST_WALL, BlockStateProperties.WEST_WALL); |
| 152 | + } |
| 153 | +} |
0 commit comments