Skip to content

config cluster

Robin Seifert edited this page Apr 16, 2024 · 4 revisions

Cluster Configuration

Configs

  • health of the missile when spawned, only impacts newly created. Missiles spawn before or via other mods will continue to have different values
  • item_ban_allow controls supported items for insertion into cluster missile. See (Item Ban/Allow Section
  • item_sizes controls volume size of items when inserted into cluster missile. See (Item Sizes Section

Item Sizes

Field item_sizes.max_size allows limiting the max volume of the cluster missile's payload. This is directly related to item count. As most items, blocks, and projectiles default to a value of 1. Use with caution as cluster can easily cause lag.

Field item_sizes.default_size allows setting the default value of items. This is normally set to 1 but may be set higher as a way to filter unknown items.

Field item_sizes.list provides a way to customize the size/weight of an item for insertion into a cluster. It supports ItemStack Configration with value being size. Only supports whole numbers 3 and will error out if provided decimal entries such as 3.5.

Default Sizes

These are loaded before configurations to provide recommended sizes. Adding an entry to item_size.list will override these values.

Item Size
icbmclassic:balloon 2
icbmclassic:parachute 2
icbmclassic:cluster_missile 20
icbmclassic:surface_to_air_missile 20
icbmclassic:explosive_missile 20

As a note, it is planned for nested items to be calculated towards volume in the future. Specifically for parachute, balloon, and missiles. This is to prevent nesting bypassing limits.

Item Ban Allow List

Allows customization of which items are permitted for insertion into cluster missiles. Doesn't modify existing cluster missiles but will prevent creation of new versions.

Set ban to true to use the item list as a disallow and false as only allow.

Field list can be used to add items. It supports ItemStack Configration with value being option disable entry. If disabled the entry will be ignored and not used for ban/allow. Useful for large lists where a server/modpack may want to remember entries for later.

Clone this wiki locally