@author daoge_cmd
| 7 | * @author daoge_cmd |
| 8 | */ |
| 9 | public interface TypeNames { |
| 10 | // jdk |
| 11 | ClassName STRING = ClassName.get("java.lang", "String"); |
| 12 | ClassName HASH_MAP = ClassName.get("java.util", "HashMap"); |
| 13 | ClassName MAP = ClassName.get("java.util", "Map"); |
| 14 | ClassName REGISTRIES = ClassName.get("org.allaymc.api.registry", "Registries"); |
| 15 | ClassName LIST = ClassName.get("java.util", "List"); |
| 16 | |
| 17 | // 3rd libs |
| 18 | ClassName GETTER = ClassName.get("lombok", "Getter"); |
| 19 | ClassName DELEGATE = ClassName.get("lombok.experimental", "Delegate"); |
| 20 | |
| 21 | // allay |
| 22 | ClassName API_IDENTIFIER = ClassName.get("org.allaymc.api.utils.identifier", "Identifier"); |
| 23 | ClassName DEP_IDENTIFIER = ClassName.get("org.allaymc.dependence", "Identifier"); |
| 24 | |
| 25 | ClassName COMPONENT = ClassName.get("org.allaymc.api.component", "Component"); |
| 26 | ClassName COMPONENT_PROVIDER = ClassName.get("org.allaymc.server.component", "ComponentProvider"); |
| 27 | |
| 28 | ClassName BLOCK_BEHAVIOR = ClassName.get("org.allaymc.api.block", "BlockBehavior"); |
| 29 | ClassName BLOCK_BEHAVIOR_IMPL = ClassName.get("org.allaymc.server.block.impl", "BlockBehaviorImpl"); |
| 30 | ClassName BLOCK_ID = ClassName.get("org.allaymc.server.block.data", "BlockId"); |
| 31 | ClassName BLOCK_PROPERTY_TYPE = ClassName.get("org.allaymc.api.block.property.type", "BlockPropertyType"); |
| 32 | ClassName BLOCK_PROPERTY_TYPES = ClassName.get("org.allaymc.api.block.property.type", "BlockPropertyTypes"); |
| 33 | ClassName BLOCK_TYPE = ClassName.get("org.allaymc.api.block.type", "BlockType"); |
| 34 | ClassName BLOCK_TYPES = ClassName.get("org.allaymc.api.block.type", "BlockTypes"); |
| 35 | ClassName BLOCK_TYPE_DEFAULT_INITIALIZER = ClassName.get("org.allaymc.server.block.type", "BlockTypeDefaultInitializer"); |
| 36 | ClassName BLOCK_TAG = ClassName.get("org.allaymc.api.block.data", "BlockTag"); |
| 37 | ClassName ALLAY_BLOCK_TYPE = ClassName.get("org.allaymc.server.block.type", "AllayBlockType"); |
| 38 | ClassName ENUM_PROPERTY = ClassName.get("org.allaymc.api.block.property.type", "EnumPropertyType"); |
| 39 | ClassName BOOLEAN_PROPERTY = ClassName.get("org.allaymc.api.block.property.type", "BooleanPropertyType"); |
| 40 | ClassName INT_PROPERTY = ClassName.get("org.allaymc.api.block.property.type", "IntPropertyType"); |
| 41 | |
| 42 | ClassName BIOME_TYPE = ClassName.get("org.allaymc.api.world.biome", "BiomeType"); |
| 43 | ClassName BIOME_TAG = ClassName.get("org.allaymc.api.world.biome", "BiomeTag"); |
| 44 | ClassName BIOME_ID = ClassName.get("org.allaymc.server.world.biome", "BiomeId"); |
| 45 | ArrayTypeName BIOME_ID_ARRAY = ArrayTypeName.of(BIOME_ID.box()); |
| 46 | |
| 47 | ClassName ENTITY = ClassName.get("org.allaymc.api.entity", "Entity"); |
| 48 | ClassName ENTITY_IMPL = ClassName.get("org.allaymc.server.entity.impl", "EntityImpl"); |
| 49 | ClassName ENTITY_INIT_INFO = ClassName.get("org.allaymc.api.entity", "EntityInitInfo"); |
| 50 | ClassName ENTITY_ID = ClassName.get("org.allaymc.server.entity.data", "EntityId"); |
| 51 | ClassName ENTITY_TYPE = ClassName.get("org.allaymc.api.entity.type", "EntityType"); |
| 52 | ClassName ENTITY_TYPES = ClassName.get("org.allaymc.api.entity.type", "EntityTypes"); |
| 53 | ClassName ALLAY_ENTITY_TYPE = ClassName.get("org.allaymc.server.entity.type", "AllayEntityType"); |
| 54 | ClassName ENTITY_TYPE_DEFAULT_INITIALIZER = ClassName.get("org.allaymc.server.entity.type", "EntityTypeDefaultInitializer"); |
| 55 | |
| 56 | ClassName ITEM_ID = ClassName.get("org.allaymc.server.item.data", "ItemId"); |
| 57 | ClassName ITEM_STACK = ClassName.get("org.allaymc.api.item", "ItemStack"); |
| 58 | ClassName ITEM_STACK_IMPL = ClassName.get("org.allaymc.server.item.impl", "ItemStackImpl"); |
| 59 | ClassName ITEM_STACK_INIT_INFO = ClassName.get("org.allaymc.api.item", "ItemStackInitInfo"); |
| 60 | ClassName ITEM_TYPE = ClassName.get("org.allaymc.api.item.type", "ItemType"); |
| 61 | ClassName ITEM_TYPES = ClassName.get("org.allaymc.api.item.type", "ItemTypes"); |
| 62 | ClassName ALLAY_ITEM_TYPE = ClassName.get("org.allaymc.server.item.type", "AllayItemType"); |
| 63 | ClassName ITEM_TYPE_DEFAULT_INITIALIZER = ClassName.get("org.allaymc.server.item.type", "ItemTypeDefaultInitializer"); |
| 64 | ClassName ITEM_TAG = ClassName.get("org.allaymc.api.item.data", "ItemTag"); |
| 65 | |
| 66 | ClassName TR_KEYS = ClassName.get("org.allaymc.api.message", "TrKeys"); |