<commit_before>broom:
    icon: acacia_sapling{CustomModelData:18002}
    icon_disabled: acacia_sapling{CustomModelData:18003}
    legacy_icon: spell_icon:168
    legacy_icon_disabled: spell_icon_disabled:168
    hidden: true
    icon_url: http://textures.minecraft.net/texture/7f4f1b4c6661ab552b21df8ed841a221296512de46c86e8dee891efbd2fba6
    category: specialty
    worth: 600
    upgrade_required_path: broom
    upgrade_required_casts: 20
    world_border_restricted: true
    creative_restricted: true
    cast_on_no_target: false
    cancellable: false
    show_undoable: false
    undoable: false
    reactivate: true
    actions:
      reactivate:
        - class: MountArmorStand
          find_wand: true
      cast:
        - class: ChangeContext
          target_offset: 0,1,0
          ignore_result: true
          actions:
            - class: Volume
              radius: 1
              actions:
                - class: CheckBlock
                  allowed: passthrough
                  fail:
                    - class: Message
                      ignore_result: true
                      message_type: action_bar
                      message_key: nospace
                    - class: CastResult
                      result: no_target
                      end_result: true
                    - class: Stop
        - class: MountArmorStand
    effects:
        cast:
        -  class: EffectSingle
           sound: entity_enderdragon_flap
           sound_volume: 1.1
        -  class: EffectSingle
           effectlib:
             class: TraceEffect
             iterations: 30
             particle: spell
        crash:
        -  class: EffectSingle
           location: origin
           entity_effect: hurt
           particle: explosion_large
        -  class: EffectSingle
           location: origin
           effectlib:
             class: SmokeEffect
             iterations: 12
        land:
        -  sound: block_stone_step
           sound_pitch: 0.7
        -  class: EffectRing
           particle: block_crack
           source_location: feet
           period: 4
           particle_count: 80
           radius: 4
           particle_offset_x: 0.9
           particle_offset_z: 0.9
           particle_offset_y: 0.1
    parameters:
        target: self
        mount_name: Broomstick
        mount_wand: true
        start_speed: 0.2
        min_speed: 0.1
        max_deceleration: 0.02
        bypass_confusion: false
        liftoff_duration: 600
        liftoff_thrust: 1
        fall_protection: 8000
        duration: 60000
        duration_warning: 10000
        cooldown: 15000
        crash_distance: 0.9
        crash_effects:
          confusion: 120,3
        warning_effects:
          confusion: 5
        cancel_on_no_permission: true
        sound: magic.flying
        sound_interval: 500
        sound_max_volume: 4
        sound_min_volume: 0.9
        sound_max_pitch: 2
        sound_min_pitch: 0.5
        armor_stand_pitch: 0.3
        controllable: true
        strafe_controllable: 1
        jump_controllable: 1
        exemption_duration: 5000
        armor_stand_marker: false

        # Upgrades with level
        steer_speed: 0.03

        # Upgrades with items
        max_speed: 1.25
        max_acceleration: 0.015

crudbroom:
  inherit: broom
  parameters:
    max_speed: 1
    max_acceleration: 0.01

broom|2:
  upgrade_required_casts: 30
  parameters:
    steer_speed: 0.05
    duration: 75000
    cooldown: 13000

broom|3:
  upgrade_required_casts: 40
  parameters:
    steer_speed: 0.07
    # TODO: Add to upgrade item
    # max_speed: 1.5
    # max_acceleration: 0.02
    duration: 90000
    cooldown: 10000

broom|4:
  upgrade_required_casts: 50
  parameters:
    steer_speed: 0.1
    # TODO: Add to upgrade item
    # max_speed: 1.75
    # max_acceleration: 0.03
    duration: 100000
    cooldown: 9000

broom|5:
  upgrade_required_casts: 50
  parameters:
    steer_speed: 0.5
    # TODO: Add to upgrade item
    # max_speed: 2
    # max_acceleration: 0.04
    duration: 120000
    cooldown: 8000

<commit_msg>Reduce broom ambient sound volume<commit_after>broom:
    icon: acacia_sapling{CustomModelData:18002}
    icon_disabled: acacia_sapling{CustomModelData:18003}
    legacy_icon: spell_icon:168
    legacy_icon_disabled: spell_icon_disabled:168
    hidden: true
    icon_url: http://textures.minecraft.net/texture/7f4f1b4c6661ab552b21df8ed841a221296512de46c86e8dee891efbd2fba6
    category: specialty
    worth: 600
    upgrade_required_path: broom
    upgrade_required_casts: 20
    world_border_restricted: true
    creative_restricted: true
    cast_on_no_target: false
    cancellable: false
    show_undoable: false
    undoable: false
    reactivate: true
    actions:
      reactivate:
        - class: MountArmorStand
          find_wand: true
      cast:
        - class: ChangeContext
          target_offset: 0,1,0
          ignore_result: true
          actions:
            - class: Volume
              radius: 1
              actions:
                - class: CheckBlock
                  allowed: passthrough
                  fail:
                    - class: Message
                      ignore_result: true
                      message_type: action_bar
                      message_key: nospace
                    - class: CastResult
                      result: no_target
                      end_result: true
                    - class: Stop
        - class: MountArmorStand
    effects:
        cast:
        -  class: EffectSingle
           sound: entity_enderdragon_flap
           sound_volume: 1.1
        -  class: EffectSingle
           effectlib:
             class: TraceEffect
             iterations: 30
             particle: spell
        crash:
        -  class: EffectSingle
           location: origin
           entity_effect: hurt
           particle: explosion_large
        -  class: EffectSingle
           location: origin
           effectlib:
             class: SmokeEffect
             iterations: 12
        land:
        -  sound: block_stone_step
           sound_pitch: 0.7
        -  class: EffectRing
           particle: block_crack
           source_location: feet
           period: 4
           particle_count: 80
           radius: 4
           particle_offset_x: 0.9
           particle_offset_z: 0.9
           particle_offset_y: 0.1
    parameters:
        target: self
        mount_name: Broomstick
        mount_wand: true
        start_speed: 0.2
        min_speed: 0.1
        max_deceleration: 0.02
        bypass_confusion: false
        liftoff_duration: 600
        liftoff_thrust: 1
        fall_protection: 8000
        duration: 60000
        duration_warning: 10000
        cooldown: 15000
        crash_distance: 0.9
        crash_effects:
          confusion: 120,3
        warning_effects:
          confusion: 5
        cancel_on_no_permission: true
        sound: magic.flying
        sound_interval: 500
        sound_max_volume: 0.5
        sound_min_volume: 0.1
        sound_max_pitch: 2
        sound_min_pitch: 0.5
        armor_stand_pitch: 0.3
        controllable: true
        strafe_controllable: 1
        jump_controllable: 1
        exemption_duration: 5000
        armor_stand_marker: false

        # Upgrades with level
        steer_speed: 0.03

        # Upgrades with items
        max_speed: 1.25
        max_acceleration: 0.015

crudbroom:
  inherit: broom
  parameters:
    max_speed: 1
    max_acceleration: 0.01

broom|2:
  upgrade_required_casts: 30
  parameters:
    steer_speed: 0.05
    duration: 75000
    cooldown: 13000

broom|3:
  upgrade_required_casts: 40
  parameters:
    steer_speed: 0.07
    # TODO: Add to upgrade item
    # max_speed: 1.5
    # max_acceleration: 0.02
    duration: 90000
    cooldown: 10000

broom|4:
  upgrade_required_casts: 50
  parameters:
    steer_speed: 0.1
    # TODO: Add to upgrade item
    # max_speed: 1.75
    # max_acceleration: 0.03
    duration: 100000
    cooldown: 9000

broom|5:
  upgrade_required_casts: 50
  parameters:
    steer_speed: 0.5
    # TODO: Add to upgrade item
    # max_speed: 2
    # max_acceleration: 0.04
    duration: 120000
    cooldown: 8000


{'fraction_non_alphanumeric': 0.0543134872417983, 'fraction_numerical': 0.05455650060753341, 'mean_word_length': 1.7129202373104813, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '135225', 'n_tokens_mistral': 2818, 'n_tokens_neox': 2431, 'n_words': 570}