Tips:It's better to backup the files before updating to this version
In this version, we have added item suction feature to the hopper.
There're some configurable settings: - item suction interval in ticks - the range - particle color - able to disable item suction
Code (YAML):
item_suction: # If set to true, player is required to have "hoppersorter.hopper.itemsuction" permission # to able to enable item suction for their hoppers. require_permission: false
enable: true
# item suction will auto enable after player place the hopper auto_enable: true
# Hopper will pick up the item around it every X ticks tick: 60
# the default range that hopper can pick the item up # default value: 3.0 range: 3.0
power_consumption:
enable: true
amount: 2.5
particle:
enable: true
color:
red: 75
green: 0
blue: 130
Item suction also configurable in levels
Code (YAML):
auto:
max_level: 5
# Player will be able to enable item suction for the hopper after X level item_suction_level_requirement: 3
on_start:
max_power: 200.0
max_material: 2
max_block_per_material: 1
max_subuser: 1
max_distance: 10
transfer_speed: 20
item_suction_tick: 100
item_suction_range: 2
on_next_level: # Available placeholders # {PREVIOUS_POWER}: return the amount of last level max power # {PREVIOUS_MATERIAL}: return the amount of last level max material # {PREVIOUS_BLOCK}: return the amount of last level max block per material # {PREVIOUS_SUBUSER}: return the amount of last level max sub user # {PREVIOUS_DISTANCE}: return the amount of last level distance # {PREVIOUS_LEVEL}: return the last level # {PREVIOUS_SPEED}: return the last level item transferring tick # {PREVIOUS_ITEM_SUCTION_TICK}: return the last level's item suction tick # {PREVIOUS_ITEM_SUCTION_RANGE}: return the last level's item suction range # {CURRENT_LEVEL}: return the current level # for 'max_material', 'max_block_per_material', 'max_subuser' and 'max_distance', the number will get rounded up # example after the math calculation is 3.52 , it will get rounded up to 4 max_power: '
{PREVIOUS_POWER
} + 125'
max_material: '
{PREVIOUS_MATERIAL
} +
({CURRENT_LEVEL
} * 0.25
)'
max_block_per_material: '
{PREVIOUS_BLOCK
} +
({CURRENT_LEVEL
} * 0.5
)'
max_subuser: '
{PREVIOUS_SUBUSER
} +
({CURRENT_LEVEL
} * 0.5
)'
max_distance: '
{PREVIOUS_DISTANCE
} +
({CURRENT_LEVEL
} * 2
)'
transfer_speed: '
{PREVIOUS_SPEED
} - 1'
item_suction_tick: '
{PREVIOUS_ITEM_SUCTION_TICK
} - 10'
item_suction_range: '
{PREVIOUS_ITEM_SUCTION_RANGE
} + 1'
cost: # money will be rounded up to 2 decimal money: '
({PREVIOUS_LEVEL
} * 520
) + 5000'
manual:
levels:
1:
max_power: 200.0
max_material: 2
max_block_per_material: 1
max_subuser: 1
max_distance: 10
transfer_speed: 20
item_suction:
enable: false
tick: 100
range: 3
cost:
money: 1000.0
2:
max_power: 300.0
max_material: 2
max_block_per_material: 2
max_subuser: 1
max_distance: 12
transfer_speed: 18
item_suction:
enable: true
tick: 100
range: 3
cost:
money: 2500.0
3:
max_power: 450.0
max_material: 3
max_block_per_material: 3
max_subuser: 2
max_distance: 15
transfer_speed: 16
item_suction:
enable: true
tick: 80
range: 3
cost:
money: 4200.0
4:
max_power: 620.0
max_material: 3
max_block_per_material: 4
max_subuser: 3
max_distance: 20
transfer_speed: 10
item_suction:
enable: true
tick: 60
range: 3
cost:
money: 6500.0
5:
max_power: 750.0
max_material: 5
max_block_per_material: 5
max_subuser: 4
max_distance: 30
transfer_speed: 5
item_suction:
enable: true
tick: 70
range: 4
cost:
money: 10000.0