Skip to main content

steel_registry/generated/
vanilla_attributes.rs

1use crate :: attribute :: { Attribute , AttributeRegistry } ; use steel_utils :: Identifier ; pub static AIR_DRAG_MODIFIER : & Attribute = & Attribute { key : Identifier :: vanilla_static ("air_drag_modifier") , translation_key : "attribute.name.air_drag_modifier" , default_value : 1f64 , min_value : 0f64 , max_value : 2048f64 , syncable : true , } ; pub static ARMOR : & Attribute = & Attribute { key : Identifier :: vanilla_static ("armor") , translation_key : "attribute.name.armor" , default_value : 0f64 , min_value : 0f64 , max_value : 30f64 , syncable : true , } ; pub static ARMOR_TOUGHNESS : & Attribute = & Attribute { key : Identifier :: vanilla_static ("armor_toughness") , translation_key : "attribute.name.armor_toughness" , default_value : 0f64 , min_value : 0f64 , max_value : 20f64 , syncable : true , } ; pub static ATTACK_DAMAGE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("attack_damage") , translation_key : "attribute.name.attack_damage" , default_value : 2f64 , min_value : 0f64 , max_value : 2048f64 , syncable : false , } ; pub static ATTACK_KNOCKBACK : & Attribute = & Attribute { key : Identifier :: vanilla_static ("attack_knockback") , translation_key : "attribute.name.attack_knockback" , default_value : 0f64 , min_value : 0f64 , max_value : 5f64 , syncable : false , } ; pub static ATTACK_SPEED : & Attribute = & Attribute { key : Identifier :: vanilla_static ("attack_speed") , translation_key : "attribute.name.attack_speed" , default_value : 4f64 , min_value : 0f64 , max_value : 1024f64 , syncable : true , } ; pub static BELOW_NAME_DISTANCE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("below_name_distance") , translation_key : "attribute.name.below_name_distance" , default_value : 10f64 , min_value : 0f64 , max_value : 512f64 , syncable : true , } ; pub static BLOCK_BREAK_SPEED : & Attribute = & Attribute { key : Identifier :: vanilla_static ("block_break_speed") , translation_key : "attribute.name.block_break_speed" , default_value : 1f64 , min_value : 0f64 , max_value : 1024f64 , syncable : true , } ; pub static BLOCK_INTERACTION_RANGE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("block_interaction_range") , translation_key : "attribute.name.block_interaction_range" , default_value : 4.5f64 , min_value : 0f64 , max_value : 64f64 , syncable : true , } ; pub static BOUNCINESS : & Attribute = & Attribute { key : Identifier :: vanilla_static ("bounciness") , translation_key : "attribute.name.bounciness" , default_value : 0f64 , min_value : 0f64 , max_value : 1f64 , syncable : true , } ; pub static BURNING_TIME : & Attribute = & Attribute { key : Identifier :: vanilla_static ("burning_time") , translation_key : "attribute.name.burning_time" , default_value : 1f64 , min_value : 0f64 , max_value : 1024f64 , syncable : true , } ; pub static CAMERA_DISTANCE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("camera_distance") , translation_key : "attribute.name.camera_distance" , default_value : 4f64 , min_value : 0f64 , max_value : 32f64 , syncable : true , } ; pub static EXPLOSION_KNOCKBACK_RESISTANCE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("explosion_knockback_resistance") , translation_key : "attribute.name.explosion_knockback_resistance" , default_value : 0f64 , min_value : 0f64 , max_value : 1f64 , syncable : true , } ; pub static ENTITY_INTERACTION_RANGE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("entity_interaction_range") , translation_key : "attribute.name.entity_interaction_range" , default_value : 3f64 , min_value : 0f64 , max_value : 64f64 , syncable : true , } ; pub static FALL_DAMAGE_MULTIPLIER : & Attribute = & Attribute { key : Identifier :: vanilla_static ("fall_damage_multiplier") , translation_key : "attribute.name.fall_damage_multiplier" , default_value : 1f64 , min_value : 0f64 , max_value : 100f64 , syncable : true , } ; pub static FLYING_SPEED : & Attribute = & Attribute { key : Identifier :: vanilla_static ("flying_speed") , translation_key : "attribute.name.flying_speed" , default_value : 0.4f64 , min_value : 0f64 , max_value : 1024f64 , syncable : true , } ; pub static FOLLOW_RANGE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("follow_range") , translation_key : "attribute.name.follow_range" , default_value : 32f64 , min_value : 0f64 , max_value : 2048f64 , syncable : false , } ; pub static FRICTION_MODIFIER : & Attribute = & Attribute { key : Identifier :: vanilla_static ("friction_modifier") , translation_key : "attribute.name.friction_modifier" , default_value : 1f64 , min_value : 0f64 , max_value : 2048f64 , syncable : true , } ; pub static GRAVITY : & Attribute = & Attribute { key : Identifier :: vanilla_static ("gravity") , translation_key : "attribute.name.gravity" , default_value : 0.08f64 , min_value : - 1f64 , max_value : 1f64 , syncable : true , } ; pub static JUMP_STRENGTH : & Attribute = & Attribute { key : Identifier :: vanilla_static ("jump_strength") , translation_key : "attribute.name.jump_strength" , default_value : 0.41999998688697815f64 , min_value : 0f64 , max_value : 32f64 , syncable : true , } ; pub static KNOCKBACK_RESISTANCE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("knockback_resistance") , translation_key : "attribute.name.knockback_resistance" , default_value : 0f64 , min_value : - 2f64 , max_value : 1f64 , syncable : false , } ; pub static LUCK : & Attribute = & Attribute { key : Identifier :: vanilla_static ("luck") , translation_key : "attribute.name.luck" , default_value : 0f64 , min_value : - 1024f64 , max_value : 1024f64 , syncable : true , } ; pub static MAX_ABSORPTION : & Attribute = & Attribute { key : Identifier :: vanilla_static ("max_absorption") , translation_key : "attribute.name.max_absorption" , default_value : 0f64 , min_value : 0f64 , max_value : 2048f64 , syncable : true , } ; pub static MAX_HEALTH : & Attribute = & Attribute { key : Identifier :: vanilla_static ("max_health") , translation_key : "attribute.name.max_health" , default_value : 20f64 , min_value : 1f64 , max_value : 1024f64 , syncable : true , } ; pub static MINING_EFFICIENCY : & Attribute = & Attribute { key : Identifier :: vanilla_static ("mining_efficiency") , translation_key : "attribute.name.mining_efficiency" , default_value : 0f64 , min_value : 0f64 , max_value : 1024f64 , syncable : true , } ; pub static MOVEMENT_EFFICIENCY : & Attribute = & Attribute { key : Identifier :: vanilla_static ("movement_efficiency") , translation_key : "attribute.name.movement_efficiency" , default_value : 0f64 , min_value : 0f64 , max_value : 1f64 , syncable : true , } ; pub static MOVEMENT_SPEED : & Attribute = & Attribute { key : Identifier :: vanilla_static ("movement_speed") , translation_key : "attribute.name.movement_speed" , default_value : 0.7f64 , min_value : 0f64 , max_value : 1024f64 , syncable : true , } ; pub static NAME_TAG_DISTANCE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("name_tag_distance") , translation_key : "attribute.name.name_tag_distance" , default_value : 64f64 , min_value : 0f64 , max_value : 512f64 , syncable : true , } ; pub static OXYGEN_BONUS : & Attribute = & Attribute { key : Identifier :: vanilla_static ("oxygen_bonus") , translation_key : "attribute.name.oxygen_bonus" , default_value : 0f64 , min_value : 0f64 , max_value : 1024f64 , syncable : true , } ; pub static SAFE_FALL_DISTANCE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("safe_fall_distance") , translation_key : "attribute.name.safe_fall_distance" , default_value : 3f64 , min_value : - 1024f64 , max_value : 1024f64 , syncable : true , } ; pub static SCALE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("scale") , translation_key : "attribute.name.scale" , default_value : 1f64 , min_value : 0.0625f64 , max_value : 16f64 , syncable : true , } ; pub static SNEAKING_SPEED : & Attribute = & Attribute { key : Identifier :: vanilla_static ("sneaking_speed") , translation_key : "attribute.name.sneaking_speed" , default_value : 0.3f64 , min_value : 0f64 , max_value : 1f64 , syncable : true , } ; pub static SPAWN_REINFORCEMENTS : & Attribute = & Attribute { key : Identifier :: vanilla_static ("spawn_reinforcements") , translation_key : "attribute.name.spawn_reinforcements" , default_value : 0f64 , min_value : 0f64 , max_value : 1f64 , syncable : false , } ; pub static STEP_HEIGHT : & Attribute = & Attribute { key : Identifier :: vanilla_static ("step_height") , translation_key : "attribute.name.step_height" , default_value : 0.6f64 , min_value : 0f64 , max_value : 10f64 , syncable : true , } ; pub static SUBMERGED_MINING_SPEED : & Attribute = & Attribute { key : Identifier :: vanilla_static ("submerged_mining_speed") , translation_key : "attribute.name.submerged_mining_speed" , default_value : 0.2f64 , min_value : 0f64 , max_value : 20f64 , syncable : true , } ; pub static SWEEPING_DAMAGE_RATIO : & Attribute = & Attribute { key : Identifier :: vanilla_static ("sweeping_damage_ratio") , translation_key : "attribute.name.sweeping_damage_ratio" , default_value : 0f64 , min_value : 0f64 , max_value : 1f64 , syncable : true , } ; pub static TEMPT_RANGE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("tempt_range") , translation_key : "attribute.name.tempt_range" , default_value : 10f64 , min_value : 0f64 , max_value : 2048f64 , syncable : false , } ; pub static WATER_MOVEMENT_EFFICIENCY : & Attribute = & Attribute { key : Identifier :: vanilla_static ("water_movement_efficiency") , translation_key : "attribute.name.water_movement_efficiency" , default_value : 0f64 , min_value : 0f64 , max_value : 1f64 , syncable : true , } ; pub static WAYPOINT_TRANSMIT_RANGE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("waypoint_transmit_range") , translation_key : "attribute.name.waypoint_transmit_range" , default_value : 0f64 , min_value : 0f64 , max_value : 60000000f64 , syncable : false , } ; pub static WAYPOINT_RECEIVE_RANGE : & Attribute = & Attribute { key : Identifier :: vanilla_static ("waypoint_receive_range") , translation_key : "attribute.name.waypoint_receive_range" , default_value : 0f64 , min_value : 0f64 , max_value : 60000000f64 , syncable : false , } ; pub fn register_attributes (registry : & mut AttributeRegistry) { registry . register (AIR_DRAG_MODIFIER) ; registry . register (ARMOR) ; registry . register (ARMOR_TOUGHNESS) ; registry . register (ATTACK_DAMAGE) ; registry . register (ATTACK_KNOCKBACK) ; registry . register (ATTACK_SPEED) ; registry . register (BELOW_NAME_DISTANCE) ; registry . register (BLOCK_BREAK_SPEED) ; registry . register (BLOCK_INTERACTION_RANGE) ; registry . register (BOUNCINESS) ; registry . register (BURNING_TIME) ; registry . register (CAMERA_DISTANCE) ; registry . register (EXPLOSION_KNOCKBACK_RESISTANCE) ; registry . register (ENTITY_INTERACTION_RANGE) ; registry . register (FALL_DAMAGE_MULTIPLIER) ; registry . register (FLYING_SPEED) ; registry . register (FOLLOW_RANGE) ; registry . register (FRICTION_MODIFIER) ; registry . register (GRAVITY) ; registry . register (JUMP_STRENGTH) ; registry . register (KNOCKBACK_RESISTANCE) ; registry . register (LUCK) ; registry . register (MAX_ABSORPTION) ; registry . register (MAX_HEALTH) ; registry . register (MINING_EFFICIENCY) ; registry . register (MOVEMENT_EFFICIENCY) ; registry . register (MOVEMENT_SPEED) ; registry . register (NAME_TAG_DISTANCE) ; registry . register (OXYGEN_BONUS) ; registry . register (SAFE_FALL_DISTANCE) ; registry . register (SCALE) ; registry . register (SNEAKING_SPEED) ; registry . register (SPAWN_REINFORCEMENTS) ; registry . register (STEP_HEIGHT) ; registry . register (SUBMERGED_MINING_SPEED) ; registry . register (SWEEPING_DAMAGE_RATIO) ; registry . register (TEMPT_RANGE) ; registry . register (WATER_MOVEMENT_EFFICIENCY) ; registry . register (WAYPOINT_TRANSMIT_RANGE) ; registry . register (WAYPOINT_RECEIVE_RANGE) ; }