Placement Rules - Lach01298/QMD GitHub Wiki
Certain multiblock parts like accelerator coolers, particle chamber detectors and vacuum chamber heaters must be placed in a certain location inside their respective multiblock order to work properly. These placement rules can be found on the tool tip of each block. The default placement rules for accelerator coolers and vacuum chamber heaters can also be changed in the config. Custom multiblock parts also have placement rules defined when they are registered. This page gives the details of what rules are available and how they work.
String Placement Rules
String Placement rules are very similar to Nuclearcrafts Placement rules. They are a string that consist of an amount, a optional amount modifier, a part and a optional special condition. They can also be combined together with Boolean operators to make more complex rules. Here is an example : one water cooler && exactly two axial magnet. any and two are amounts, exactly is an amount modifier, cooler and magnet are parts axial is a special condition and && is a Boolean operator.
Amounts include:
zeroonetwothreefourfivesix
Amounts modifiers include:
orat leastexactlyat most
Parts depend on the multiblock so there are no general ones.
Special conditions include:
axialoraxiallyvertexorat vertexorat a vertex
Boolean operators include:
&&and||or
Accelerator Cooler Rules
Parts include:
beammagnetyokecavityxcoolerwhere x is the type this includesany
Special conditions include:
differentthis means the types of the specified adjacent parts must be different. This only works for cavities and magnets.
Examples
three tin coolerstwo different cavityone yoke || one cavityat most one magnetexactly two lapis coolers
Vacuum Chamber Heater Rules
Parts include:
casingbeamglassnozzlexheaterwhere x is the type this includesany
Examples
one beam && one nozzletwo casing || one iron heaterexactly one redstone heater && two iron heaterstwo axial obsidian heaters
Other
Particle Chamber Detector Rules
The default particle chambers detectors rules can't be changed but custom detectors can. Custom detector rules are they must be placed within (less than or equal to) the taxi distance to a particle chamber block or outside (greater than or equal to) that distance. This is specified in their registration.