Skip to main content

steel_registry/generated/
vanilla_poi_types.rs

1use crate :: poi :: { PointOfInterestType , PoiBlockMatcher , PoiTypeRegistry } ; use crate :: vanilla_blocks ; use steel_utils :: Identifier ; pub static ARMORER : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("armorer") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: BLAST_FURNACE , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static BUTCHER : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("butcher") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: SMOKER , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static CARTOGRAPHER : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("cartographer") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: CARTOGRAPHY_TABLE , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static CLERIC : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("cleric") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: BREWING_STAND , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static FARMER : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("farmer") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: COMPOSTER , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static FISHERMAN : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("fisherman") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: BARREL , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static FLETCHER : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("fletcher") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: FLETCHING_TABLE , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static LEATHERWORKER : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("leatherworker") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: POWDER_SNOW_CAULDRON , properties : & [] , } , PoiBlockMatcher { block : & vanilla_blocks :: WATER_CAULDRON , properties : & [] , } , PoiBlockMatcher { block : & vanilla_blocks :: LAVA_CAULDRON , properties : & [] , } , PoiBlockMatcher { block : & vanilla_blocks :: CAULDRON , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static LIBRARIAN : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("librarian") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: LECTERN , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static MASON : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("mason") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: STONECUTTER , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static SHEPHERD : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("shepherd") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: LOOM , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static TOOLSMITH : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("toolsmith") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: SMITHING_TABLE , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static WEAPONSMITH : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("weaponsmith") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: GRINDSTONE , properties : & [] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static HOME : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("home") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: PINK_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: ORANGE_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: GRAY_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: BLACK_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: BLUE_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: WHITE_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: PURPLE_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: RED_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: LIME_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: LIGHT_GRAY_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: CYAN_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: BROWN_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: YELLOW_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: MAGENTA_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: GREEN_BED , properties : & [("part" , "head")] , } , PoiBlockMatcher { block : & vanilla_blocks :: LIGHT_BLUE_BED , properties : & [("part" , "head")] , }] , ticket_count : 1u32 , search_distance : 1u32 , } ; pub static MEETING : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("meeting") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: BELL , properties : & [] , }] , ticket_count : 32u32 , search_distance : 6u32 , } ; pub static BEEHIVE : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("beehive") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: BEEHIVE , properties : & [] , }] , ticket_count : 0u32 , search_distance : 1u32 , } ; pub static BEE_NEST : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("bee_nest") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: BEE_NEST , properties : & [] , }] , ticket_count : 0u32 , search_distance : 1u32 , } ; pub static NETHER_PORTAL : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("nether_portal") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: NETHER_PORTAL , properties : & [] , }] , ticket_count : 0u32 , search_distance : 1u32 , } ; pub static LODESTONE : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("lodestone") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: LODESTONE , properties : & [] , }] , ticket_count : 0u32 , search_distance : 1u32 , } ; pub static TEST_INSTANCE : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("test_instance") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: TEST_INSTANCE_BLOCK , properties : & [] , }] , ticket_count : 0u32 , search_distance : 1u32 , } ; pub static LIGHTNING_ROD : PointOfInterestType = PointOfInterestType { key : Identifier :: vanilla_static ("lightning_rod") , blocks : & [PoiBlockMatcher { block : & vanilla_blocks :: OXIDIZED_LIGHTNING_ROD , properties : & [] , } , PoiBlockMatcher { block : & vanilla_blocks :: WAXED_WEATHERED_LIGHTNING_ROD , properties : & [] , } , PoiBlockMatcher { block : & vanilla_blocks :: LIGHTNING_ROD , properties : & [] , } , PoiBlockMatcher { block : & vanilla_blocks :: WAXED_LIGHTNING_ROD , properties : & [] , } , PoiBlockMatcher { block : & vanilla_blocks :: WEATHERED_LIGHTNING_ROD , properties : & [] , } , PoiBlockMatcher { block : & vanilla_blocks :: WAXED_EXPOSED_LIGHTNING_ROD , properties : & [] , } , PoiBlockMatcher { block : & vanilla_blocks :: EXPOSED_LIGHTNING_ROD , properties : & [] , } , PoiBlockMatcher { block : & vanilla_blocks :: WAXED_OXIDIZED_LIGHTNING_ROD , properties : & [] , }] , ticket_count : 0u32 , search_distance : 1u32 , } ; pub fn register_poi_types (registry : & mut PoiTypeRegistry) { registry . register (& ARMORER) ; registry . register (& BUTCHER) ; registry . register (& CARTOGRAPHER) ; registry . register (& CLERIC) ; registry . register (& FARMER) ; registry . register (& FISHERMAN) ; registry . register (& FLETCHER) ; registry . register (& LEATHERWORKER) ; registry . register (& LIBRARIAN) ; registry . register (& MASON) ; registry . register (& SHEPHERD) ; registry . register (& TOOLSMITH) ; registry . register (& WEAPONSMITH) ; registry . register (& HOME) ; registry . register (& MEETING) ; registry . register (& BEEHIVE) ; registry . register (& BEE_NEST) ; registry . register (& NETHER_PORTAL) ; registry . register (& LODESTONE) ; registry . register (& TEST_INSTANCE) ; registry . register (& LIGHTNING_ROD) ; }