官方维基教程-类型

来自Mindustry中文wiki
硫缺铅留言 | 贡献2026年2月19日 (四) 20:46的版本

类型

类型

ItemUnitStance

继承自 UnitStance

UnitCommand

继承自 MappableContent

字段
名称 类型 默认值 注释
switchToMove boolean true
drawTarget boolean false
resetTarget boolean true
snapToBuilding boolean false
exactArrival boolean false
refreshOnSelect boolean false

UnitStance

继承自 MappableContent

字段
名称 类型 默认值 注释
icon String
incompatibleStances Seq<UnitStance> new Seq<>()
toggle boolean true

Content

继承自 Object

MappableContent

继承自 Content

UnlockableContent

继承自 MappableContent

字段
名称 类型 默认值 注释
localizedName String
description String
details String
credit String
alwaysUnlocked boolean false
inlineDescription boolean true
hideDetails boolean true
hideDatabase boolean false
generateIcons boolean true
selectionSize float 24
fullOverride String ""
allDatabaseTabs boolean false
shownPlanets ObjectSet<Planet> new ObjectSet<>()
databaseCategory String
databaseTag String

Effect

继承自 Object

字段
名称 类型 默认值 注释
lifetime float 50.0
clip float 0.0
startDelay float 0.0
baseRotation float 0.0
followParent boolean true
rotWithParent boolean false
layer float 110.0
layerDuration float 0.0

Ability

继承自 Object

字段
名称 类型 默认值 注释
display boolean true
data float

ArmorPlateAbility

继承自 Ability

字段
名称 类型 默认值 注释
plateSuffix String "-armor"
shineSuffix String "-shine"
color Color null
shineSpeed float 1.0
z float -1.0
drawPlate boolean true
drawShine boolean true
healthMultiplier float 0.2

EnergyFieldAbility

继承自 Ability

字段
名称 类型 默认值 注释
damage float 1
reload float 100
range float 60
healEffect Effect heal
hitEffect Effect hitLaserBlast
damageEffect Effect chainLightning
shootSound Sound shootEnergyField
statusDuration float 60f * 6
x float
y float
targetGround boolean true
targetAir boolean true
hitBuildings boolean true
hitUnits boolean true
maxTargets int 25
healPercent float 3
sameTypeHealMult float 1
displayHeal boolean true
layer float 001
blinkScl float 20
blinkSize float 1
effectRadius float 5
sectorRad float 14
rotateSpeed float 5
sectors int 5
color Color heal
useAmmo boolean true

ForceFieldAbility

继承自 Ability

字段
名称 类型 默认值 注释
radius float 60
regen float 1
max float 200
cooldown float 60f * 5
sides int 6
rotation float 0
breakSound Sound shieldBreakSmall
hitSound Sound shieldHit
hitSoundVolume float 12

LiquidExplodeAbility

继承自 Ability

字段
名称 类型 默认值 注释
liquid Liquid water
amount float 120.0
radAmountScale float 5.0
radScale float 1.0
noiseMag float 6.5
noiseScl float 5.0

LiquidRegenAbility

继承自 Ability

字段
名称 类型 默认值 注释
liquid Liquid
slurpSpeed float 5.0
regenPerSlurp float 6.0
slurpEffectChance float 0.4
slurpEffect Effect heal

MoveEffectAbility

继承自 Ability

字段
名称 类型 默认值 注释
minVelocity float 0.08
interval float 3.0
chance float 0.0
amount int 1
x float 0.0
y float 0.0
rotation float 0.0
rangeX float 0.0
rangeY float 0.0
rangeLengthMin float 0.0
rangeLengthMax float 0.0
rotateEffect boolean false
effectParam float 3.0
teamColor boolean false
parentizeEffects boolean false
color Color ffffffff
effect Effect missileTrail

MoveLightningAbility

继承自 Ability

字段
名称 类型 默认值 注释
damage float 35
chance float 15
length int 12
minSpeed float 8
maxSpeed float 2
color Color valueOf("a9d8ff")
y float 0
x float 0
alternate boolean true
heatRegion String "error"
bullet BulletType
bulletAngle float 0
bulletSpread float 0
shootEffect Effect sparkShoot
parentizeEffects boolean
shootSound Sound shootArc

RegenAbility

继承自 Ability

字段
名称 类型 默认值 注释
percentAmount float 0.0
amount float 0.0

RepairFieldAbility

继承自 Ability

字段
名称 类型 默认值 注释
amount float 1
reload float 100
range float 60
healPercent float 0
healEffect Effect heal
activeEffect Effect healWaveDynamic
sound Sound healWave
soundVolume float 5
parentizeEffects boolean false
sameTypeHealMult float 1

ShieldArcAbility

继承自 Ability

字段
名称 类型 默认值 注释
radius float 60.0
regen float 0.1
max float 200.0
cooldown float 300.0
angle float 80.0
angleOffset float 0.0
x float 0.0
y float 0.0
whenShooting boolean true
width float 6.0
chanceDeflect float -1.0
reflectBuildingDamage float 1
reflectVel float 1
reflectTime float 5
deflectSound Sound none
breakSound Sound shieldBreakSmall
hitSound Sound shieldHit
hitSoundVolume float 0.12
missileUnitMultiplier float 2.0
drawArc boolean true
region String
color Color
offsetRegion boolean false
pushUnits boolean true
pushEffect Effect circleColorSpark

ShieldRegenFieldAbility

继承自 Ability

字段
名称 类型 默认值 注释
amount float 1
max float 100
reload float 100
range float 60
applyEffect Effect shieldApply
activeEffect Effect shieldWave
sound Sound shieldWave
soundVolume float 7
parentizeEffects boolean

SpawnDeathAbility

继承自 Ability

字段
名称 类型 默认值 注释
unit UnitType
amount int 1
randAmount int 0
spread float 8.0
faceOutwards boolean true

StatusFieldAbility

继承自 Ability

字段
名称 类型 默认值 注释
duration float 60
reload float 100
range float 20
onShoot boolean false
applyEffect Effect none
activeEffect Effect overdriveWave
effectX float
effectY float
parentizeEffects boolean
effectSizeParam boolean true
color Color accent

SuppressionFieldAbility

继承自 Ability

字段
名称 类型 默认值 注释
reload float 90.0
maxDelay float 90.0
range float 200.0
orbRadius float 4.1
orbMidScl float 0.33
orbSinScl float 8.0
orbSinMag float 1.0
color Color a393feff
layer float 110.0
x float 0.0
y float 0.0
particles int 15
particleSize float 4.0
particleLen float 7.0
rotateScl float 3.0
particleLife float 110.0
active boolean true
particleColor Color 665c9fff
effectColor Color bf92f9ff
applyParticleChance float 13.0

UnitSpawnAbility

继承自 Ability

字段
名称 类型 默认值 注释
unit UnitType
spawnTime float 60.0
spawnX float 0.0
spawnY float 0.0
spawnEffect Effect spawn
parentizeEffects boolean false

ArtilleryBulletType

继承自 BasicBulletType

字段
名称 类型 默认值 注释
trailMult float 1.0
trailSize float 4.0

BasicBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
backColor Color f9c27aff
frontColor Color fff8e8ff
mixColorFrom Color ffffff00
mixColorTo Color ffffff00
width float 5.0
height float 7.0
shrinkX float 0.0
shrinkY float 0.5
shrinkInterp Interp Interp.linear
spin float 0.0
rotationOffset float 0.0
sprite String
backSprite String

BombBulletType

继承自 BasicBulletType

BulletType

继承自 Content

字段
名称 类型 默认值 注释
lifetime float 40.0
lifeScaleRandMin float 1.0
lifeScaleRandMax float 1.0
speed float 1.0
velocityScaleRandMin float 1.0
velocityScaleRandMax float 1.0
damage float 1.0
hitSize float 4.0
drawSize float 40.0
angleOffset float 0.0
randomAngleOffset float 0.0
drag float 0.0
accel float 0.0
pierce boolean false
pierceBuilding boolean false
pierceCap int -1
pierceDamageFactor float 0.0
maxDamageFraction float -1.0
removeAfterPierce boolean true
laserAbsorb boolean true
optimalLifeFract float 0.0
layer float 100.0
hitEffect Effect hitBulletSmall
despawnEffect Effect hitBulletSmall
shootEffect Effect shootSmall
shootPattern ShootPattern null
chargeEffect Effect none
smokeEffect Effect shootSmallSmoke
shootSound Sound none
hitSound Sound none
despawnSound Sound none
hitSoundPitch float 1.0
hitSoundPitchRange float 0.1
hitSoundVolume float 1.0
inaccuracy float 0.0
ammoMultiplier float 2.0
reloadMultiplier float 1.0
buildingDamageMultiplier float 1.0
shieldDamageMultiplier float 1.0
recoil float 0.0
killShooter boolean false
instantDisappear boolean false
splashDamage float 0.0
scaledSplashDamage boolean false
knockback float 0.0
impact boolean false
statusDuration float 480.0
targetBlocks boolean true
targetMissiles boolean true
collidesTiles boolean true
collidesTeam boolean false
collidesAir boolean true
collidesGround boolean true
collides boolean true
collideFloor boolean false
collideTerrain boolean false
keepVelocity boolean true
scaleLife boolean false
hittable boolean true
reflectable boolean true
absorbable boolean true
ignoreSpawnAngle boolean false
createChance float 1.0
maxRange float -1.0
rangeOverride float -1.0
rangeChange float 0.0
extraRangeMargin float 0.0
range float 0.0
minRangeChange float 0.0
healPercent float 0.0
healAmount float 0.0
healSound Sound blockHeal
healSoundVolume float 0.9
lifesteal float 0.0
makeFire boolean false
hitUnder boolean false
despawnHit boolean false
fragOnHit boolean true
fragOnDespawn boolean true
fragOnAbsorb boolean true
pierceArmor boolean false
armorMultiplier float 1
sticky boolean false
stickyExtraLifetime float 0.0
setDefaults boolean true
hitShake float 0.0
despawnShake float 0.0
fragBullet BulletType null
delayFrags boolean false
fragRandomSpread float 360.0
fragSpread float 0.0
fragAngle float 0.0
fragBullets int 9
fragVelocityMin float 0.2
fragVelocityMax float 1.0
fragLifeMin float 1.0
fragLifeMax float 1.0
fragOffsetMin float 1.0
fragOffsetMax float 7.0
pierceFragCap int -1
intervalBullet BulletType
bulletInterval float 20.0
intervalBullets int 1
intervalRandomSpread float 360.0
intervalSpread float 0.0
intervalAngle float 0.0
intervalDelay float -1.0
underwater boolean false
hitColor Color ffffffff
healColor Color 98ffa9ff
healEffect Effect healBlockFull
spawnBullets Seq<BulletType> []
showStats boolean false
spawnBulletRandomSpread float 0.0
spawnUnit UnitType
despawnUnit UnitType
despawnUnitChance float 1.0
despawnUnitCount int 1
despawnUnitRadius float 0.1
faceOutwards boolean false
parts Seq<DrawPart> []
trailColor Color e58956ff
trailChance float -1.0E-4
trailInterval float 0.0
trailMinVelocity float 0.0
trailEffect Effect missileTrail
trailSpread float 0.0
trailParam float 2.0
trailRotation boolean false
trailInterp Interp Interp.one
trailLength int -1
trailWidth float 2.0
trailSinMag float 0.0
trailSinScl float 3.0
circleShooter boolean false
circleShooterRadius float 13.0
circleShooterRadiusSmooth float 10.0
circleShooterRotateSpeed float 0.3
splashDamageRadius float -1.0
splashDamagePierce boolean false
incendAmount int 0
incendSpread float 8.0
incendChance float 1.0
homingPower float 0.0
homingRange float 50.0
homingDelay float -1.0
followAimSpeed float 0.0
suppressionRange float -1.0
suppressionDuration float 480.0
suppressionEffectChance float 50.0
suppressColor Color bf92f9ff
lightningColor Color f3e979ff
lightning int 0
lightningLength int 5
lightningLengthRand int 0
lightningDamage float -1.0
lightningCone float 360.0
lightningAngle float 0.0
lightningType BulletType null
weaveScale float 1.0
weaveMag float 0.0
weaveRandom boolean true
rotateSpeed float 0.0
puddles int 0
puddleRange float 0.0
puddleAmount float 5.0
puddleLiquid Liquid water
displayAmmoMultiplier boolean true
statLiquidConsumed float 0.0
lightRadius float -1.0
lightOpacity float 0.3
lightColor Color fbd367ff

ContinuousBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
length float 220.0
shake float 0.0
damageInterval float 5.0
largeHit boolean false
continuous boolean true
timescaleDamage boolean false

ContinuousFlameBulletType

继承自 ContinuousBulletType

字段
名称 类型 默认值 注释
lightStroke float 40.0
width float 3.7
oscScl float 1.2
oscMag float 0.02
divisions int 25
drawFlare boolean true
flareColor Color e189f5ff
flareWidth float 3.0
flareInnerScl float 0.5
flareLength float 40.0
flareInnerLenScl float 0.5
flareLayer float 99.9999
flareRotSpeed float 1.2
rotateFlare boolean false
lengthInterp Interp Interp.slope
lengthWidthPans float[] [1.121.30.321.01.00.30.80.90.20.50.80.150.250.70.1]
colors Color[] [eb7abe8ce189f5b2907ef7cc91a4ffffffffffff]

ContinuousLaserBulletType

继承自 ContinuousBulletType

字段
名称 类型 默认值 注释
fadeTime float 16.0
lightStroke float 40.0
divisions int 13
colors Color[] [ec745855ec7458aaff9c5affffffffff]
strokeFrom float 2.0
strokeTo float 0.5
pointyScaling float 0.75
backLength float 7.0
frontLength float 35.0
width float 9.0
oscScl float 0.8
oscMag float 1.5

EmpBulletType

继承自 BasicBulletType

字段
名称 类型 默认值 注释
radius float 100.0
timeIncrease float 2.5
timeDuration float 600.0
powerDamageScl float 2.0
powerSclDecrease float 0.2
hitPowerEffect Effect hitEmpSpark
chainEffect Effect chainEmp
applyEffect Effect heal
hitUnits boolean true
unitDamageScl float 0.7

EmptyBulletType

继承自 BulletType

ExplosionBulletType

继承自 BulletType

FireBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
colorFrom Color ffdd55ff
colorMid Color db401cff
colorTo Color 7f7f7fff
radius float 3.0
velMin float 0.6
velMax float 2.6
fireTrailChance float 0.04
trailEffect2 Effect ballfire
fireEffectChance float 0.1
fireEffectChance2 float 0.1

FlakBulletType

继承自 BasicBulletType

字段
名称 类型 默认值 注释
explodeRange float 30.0
explodeDelay float 5.0
flakDelay float 0.0
flakInterval float 6.0

InterceptorBulletType

继承自 BasicBulletType

LaserBoltBulletType

继承自 BasicBulletType

字段
名称 类型 默认值 注释
width float 2.0
height float 7.0

LaserBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
colors Color[] [a9d8ff66a9d8ffffffffffff]
laserEffect Effect lancerLaserShootSmoke
length float 160.0
width float 15.0
lengthFalloff float 0.5
sideLength float 29.0
sideWidth float 0.7
sideAngle float 90.0
lightningSpacing float -1.0
lightningDelay float 0.1
lightningAngleRand float 0.0
largeHit boolean false

LightningBulletType

继承自 BulletType

LiquidBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
liquid Liquid
puddleSize float 6.0
orbSize float 3.0
boilTime float 5.0

MassDriverBolt

继承自 BasicBulletType

MissileBulletType

继承自 BasicBulletType

MultiBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
bullets BulletType[] []
repeat int 1

PointBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
trailSpacing float 10.0

PointLaserBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
sprite String "point-laser"
color Color ffffffff
beamEffect Effect colorTrail
beamEffectInterval float 3.0
beamEffectSize float 3.5
oscScl float 2.0
oscMag float 0.3
damageInterval float 5.0
shake float 0.0

RailBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
pierceEffect Effect hitBulletSmall
pointEffect Effect none
lineEffect Effect none
endEffect Effect none
length float 100.0
pointEffectSpace float 20.0

SapBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
length float 100.0
lengthRand float 0.0
sapStrength float 0.5
color Color ffffffff
width float 0.4
sprite String "laser"

ShrapnelBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
length float 100.0
width float 20.0
fromColor Color ffffffff
toColor Color a9d8ffff
hitLarge boolean false
serrations int 7
serrationLenScl float 10.0
serrationWidth float 4.0
serrationSpacing float 8.0
serrationSpaceOffset float 80.0
serrationFadeOffset float 0.5

SpaceLiquidBulletType

继承自 BulletType

字段
名称 类型 默认值 注释
orbSize float 5.5

ExplosionEffect

继承自 Effect

字段
名称 类型 默认值 注释
waveColor Color ffd2aeff
smokeColor Color 7f7f7fff
sparkColor Color e58956ff
waveLife float 6.0
waveStroke float 3.0
waveRad float 15.0
waveRadBase float 2.0
sparkStroke float 1.0
sparkRad float 23.0
sparkLen float 3.0
smokeSize float 4.0
smokeSizeBase float 0.5
smokeRad float 23.0
smokes int 5
sparks int 4

MultiEffect

继承自 Effect

字段
名称 类型 默认值 注释
effects Effect[] []

ParticleEffect

继承自 Effect

字段
名称 类型 默认值 注释
colorFrom Color ffffffff
colorTo Color ffffffff
particles int 6
randLength boolean true
casingFlip boolean false
cone float 180.0
length float 20.0
baseLength float 0.0
interp Interp Interp.linear
sizeInterp Interp null
offsetX float 0.0
offsetY float 0.0
lightScl float 2.0
lightOpacity float 0.6
lightColor Color
spin float 0.0
sizeFrom float 2.0
sizeTo float 0.0
sizeChangeStart float 0.0
useRotation boolean true
offset float 0.0
region String "circle"
line boolean false
strokeFrom float 2.0
strokeTo float 0.0
lenFrom float 4.0
lenTo float 2.0
cap boolean true

RadialEffect

继承自 Effect

字段
名称 类型 默认值 注释
effect Effect none
rotationSpacing float 90.0
rotationOffset float 0.0
effectRotationOffset float 0.0
lengthOffset float 0.0
amount int 4

SeqEffect

继承自 Effect

字段
名称 类型 默认值 注释
effects Effect[] []

SoundEffect

继承自 Effect

字段
名称 类型 默认值 注释
sound Sound none
minPitch float 0.8
maxPitch float 1.2
minVolume float 1.0
maxVolume float 1.0
effect Effect

WaveEffect

继承自 Effect

字段
名称 类型 默认值 注释
colorFrom Color ffffffff
colorTo Color ffffffff
lightColor Color
sizeFrom float 0.0
sizeTo float 100.0
lightScl float 3.0
lightOpacity float 0.8
sides int -1
rotation float 0.0
strokeFrom float 2.0
strokeTo float 0.0
interp Interp Interp.linear
lightInterp Interp Interp.reverse
offsetX float 0.0
offsetY float 0.0

WrapEffect

继承自 Effect

字段
名称 类型 默认值 注释
effect Effect none
color Color ffffffff
rotation float 0.0

CellLiquid

继承自 Liquid

字段
名称 类型 默认值 注释
colorFrom Color ffffffff
colorTo Color ffffffff
cells int 6
spreadTarget Liquid
maxSpread float 0.75
spreadConversion float 1.2
spreadDamage float 0.11
removeScaling float 0.25

ErrorContent

继承自 Content

Item

继承自 UnlockableContent

字段
名称 类型 默认值 注释
color Color
explosiveness float 0.0
flammability float 0.0
radioactivity float 0.0
charge float 0.0
hardness int 0
cost float 1.0
healthScaling float 0.0
lowPriority boolean false
frames int 0
transitionFrames int 0
frameTime float 5.0
buildable boolean true
hidden boolean false

Liquid

继承自 UnlockableContent

字段
名称 类型 默认值 注释
gas boolean false
color Color
gasColor Color bfbfbfff
barColor Color
lightColor Color 00000000
flammability float 0.0
temperature float 0.5
heatCapacity float 0.5
viscosity float 0.5
explosiveness float 0.0
blockReactive boolean true
coolant boolean true
moveThroughBlocks boolean false
incinerable boolean true
particleEffect Effect none
particleSpacing float 60.0
boilPoint float 2.0
capPuddles boolean true
vaporEffect Effect vapor
hidden boolean false
canStayOn ObjectSet<Liquid> new ObjectSet<>()

Planet

继承自 UnlockableContent

字段
名称 类型 默认值 注释
position Vec3 new Vec3()
generator PlanetGenerator
sectors Seq<Sector> new Seq<>()
orbitSpacing float 12
radius float
camRadius float
minZoom float 5
maxZoom float 2
drawOrbit boolean true
atmosphereRadIn float 0
atmosphereRadOut float 3
clipRadius float -1
orbitRadius float
totalRadius float
orbitTime float
rotateTime float 24f * 60
orbitOffset float
sectorApproxRadius float
tidalLock boolean false
accessible boolean true
defaultEnv int oxygen
defaultAttributes Attributes new Attributes()
updateLighting boolean true
lightSrcFrom float 0
lightSrcTo float 8
lightDstFrom float 2
lightDstTo float 1
startSector int 0
sectorSeed int -1
launchCapacityMultiplier float 25
bloom boolean false
visible boolean true
landCloudColor Color 5f)
lightColor Color cpy()
atmosphereColor Color 0f)
iconColor Color cpy()
hasAtmosphere boolean true
allowLaunchSchematics boolean false
allowLaunchLoadout boolean false
allowSectorInvasion boolean false
allowLegacyLaunchPads boolean false
clearSectorOnLose boolean false
enemyBuildSpeedMultiplier float 1
enemyInfiniteItems boolean true
enemyCoreSpawnReplace boolean false
prebuildBase boolean true
allowWaves boolean false
allowLaunchToNumbered boolean true
allowCampaignRules boolean false
icon String "planet"
launchMusic Music launch
defaultCore Block coreShard
parent Planet
solarSystem Planet
children Seq<Planet> new Seq<>()
launchCandidates Seq<Planet> new Seq<>()
allowSelfSectorLaunch boolean
autoAssignPlanet boolean true
updateGroup ObjectSet<Planet> new ObjectSet<>()
campaignRules CampaignRules new CampaignRules()
campaignRuleDefaults CampaignRules new CampaignRules()
showRtsAIRule boolean false
loadPlanetData boolean false
data PlanetData

SectorPreset

继承自 UnlockableContent

字段
名称 类型 默认值 注释
planet Planet
sector Sector
captureWave int 0
difficulty float
startWaveTimeMultiplier float 2
addStartingItems boolean false
noLighting boolean false
isLastSector boolean
requireUnlock boolean true
showHidden boolean false
showSectorLandInfo boolean true
overrideLaunchDefaults boolean false
allowLaunchSchematics boolean false
allowLaunchLoadout boolean false
attackAfterWaves boolean false
originalPosition int
shieldSectors Seq<Sector> new Seq<>()

StatusEffect

继承自 UnlockableContent

字段
名称 类型 默认值 注释
damageMultiplier float 1.0
healthMultiplier float 1.0
speedMultiplier float 1.0
reloadMultiplier float 1.0
buildSpeedMultiplier float 1.0
dragMultiplier float 1.0
transitionDamage float 0.0
disarm boolean false
damage float 0.0
intervalDamageTime float 0.0
intervalDamage float 0.0
intervalDamagePierce boolean false
effectChance float 0.15
parentizeEffect boolean false
permanent boolean false
reactive boolean false
dynamic boolean false
show boolean true
color Color ffffffff
effect Effect none
applyEffect Effect none
applyExtend boolean false
applyColor Color ffffffff
parentizeApplyEffect boolean false
outline boolean true

TeamEntry

继承自 UnlockableContent

UnitType

继承自 UnlockableContent

字段
名称 类型 默认值 注释
envRequired int 0
envEnabled int 1
envDisabled int 16
speed float 1.1
boostMultiplier float 1.0
floorMultiplier float 1.0
rotateSpeed float 5.0
baseRotateSpeed float 5.0
drag float 0.3
accel float 0.5
hitSize float 6.0
deathShake float -1.0
stepShake float -1.0
rippleScale float 1.0
riseSpeed float 0.08
descentSpeed float 08
fallSpeed float 0.018
missileAccelTime float 0.0
health float 200.0
armor float 0.0
range float -1.0
maxRange float -1.0
mineRange float 70.0
buildRange float 220.0
circleTargetRadius float 80.0
crashDamageMultiplier float 1.0
wreckHealthMultiplier float 0.25
dpsEstimate float -1.0
clipSize float -1.0
drownTimeMultiplier float 1.0
strafePenalty float 0.5
researchCostMultiplier float 50.0
groundLayer float 60.0
flyingLayer float -1.0
payloadCapacity float 8.0
buildSpeed float -1.0
aimDst float -1.0
buildBeamOffset float 3.8
mineBeamOffset float -Infinity
targetPriority float 0.0
shadowElevation float -1.0
shadowElevationScl float 1.0
engineOffset float 5.0
engineSize float 2.5
engineLayer float -1.0
itemOffsetY float 3.0
lightRadius float -1.0
lightOpacity float 0.6
softShadowScl float 1.0
fogRadius float -1.0
waveTrailX float 4.0
waveTrailY float -3.0
trailScl float 1.0
isEnemy boolean true
flying boolean false
wobble boolean true
targetAir boolean true
targetGround boolean true
faceTarget boolean true
circleTarget boolean false
autoDropBombs boolean false
targetBuildingsMobile boolean true
canBoost boolean false
boostWhenBuilding boolean true
boostWhenMining boolean true
logicControllable boolean true
playerControllable boolean true
controlSelectGlobal boolean true
allowedInPayloads boolean true
hittable boolean true
killable boolean true
targetable boolean true
vulnerableWithPayloads boolean false
pickupUnits boolean true
physics boolean true
canDrown boolean true
useUnitCap boolean true
coreUnitDock boolean false
createWreck boolean true
createScorch boolean true
lowAltitude boolean false
rotateToBuilding boolean true
allowLegStep boolean false
legPhysicsLayer boolean true
hovering boolean false
omniMovement boolean true
rotateMoveFirst boolean false
healFlash boolean true
canHeal boolean false
singleTarget boolean false
forceMultiTarget boolean false
canAttack boolean true
hidden boolean false
internal boolean false
internalGenerateSprites boolean false
bounded boolean true
naval boolean false
autoFindTarget boolean true
targetUnderBlocks boolean true
alwaysShootWhenMoving boolean false
hoverable boolean true
alwaysCreateOutline boolean false
generateFullIcon boolean true
squareShape boolean false
drawBuildBeam boolean true
drawMineBeam boolean true
drawCell boolean true
drawItems boolean true
drawShields boolean true
drawBody boolean true
drawSoftShadow boolean true
drawMinimap boolean true
abilities Seq<Ability> []
weapons Seq<Weapon> []
healColor Color 98ffa9ff
lightColor Color fbd367ff
shieldColor Color
deathSound Sound unset
deathSoundVolume float 1.0
wreckSound Sound unset
wreckSoundVolume float 1.0
loopSound Sound none
loopSoundVolume float 0.5
stepSound Sound mechStepSmall
stepSoundVolume float 0.5
stepSoundPitch float 1.0
stepSoundPitchRange float 0.1
tankMoveSound Sound tankMove
moveSound Sound none
moveSoundVolume float 1.0
moveSoundPitchMin float 1.0
moveSoundPitchMax float 1.0
tankMoveVolume float 0.5
fallEffect Effect fallSmoke
fallEngineEffect Effect fallSmoke
deathExplosionEffect Effect dynamicExplosion
treadEffect Effect
parts Seq<DrawPart> []
useEngineElevation boolean true
engineColor Color null
engineColorInner Color ffffffff
trailLength int 0
trailColor Color
flowfieldPathType int -1
pathCostId int 0
sample Unit
targetFlags BlockFlag[] [core]
allowChangeCommands boolean true
commands Seq<UnitCommand> []
defaultCommand UnitCommand
stances Seq<UnitStance> []
outlineColor Color 565666ff
outlineRadius int 3
outlines boolean true
itemCapacity int -1
ammoCapacity int -1
ammoType AmmoType copper)
mineTier int -1
mineSpeed float 1.0
mineWalls boolean false
mineFloor boolean true
mineHardnessScaling boolean true
mineSound Sound loopMineBeam
mineSoundVolume float 0.6
mineItems Seq<Item> [铜铅钛钍]
legCount int 4
legGroupSize int 2
legLength float 10.0
legSpeed float 0.1
legForwardScl float 1.0
legBaseOffset float 0.0
legMoveSpace float 1.0
legExtension float 0.0
legPairOffset float 0.0
legLengthScl float 1.0
legStraightLength float 1.0
legMaxLength float 1.75
legMinLength float 0.0
legSplashDamage float 0.0
legSplashRange float 5.0
baseLegStraightness float 0.0
legStraightness float 0.0
legBaseUnder boolean false
lockLegBase boolean false
legContinuousMove boolean false
flipBackLegs boolean true
flipLegSide boolean false
emitWalkSound boolean true
emitWalkEffect boolean true
mechLandShake float 0.0
mechSideSway float 0.54
mechFrontSway float 0.1
mechStride float -1.0
mechStepParticles boolean false
mechLegColor Color 6e7080ff
treadFrames int 18
treadPullOffset int 0
crushFragile boolean false
segments int 0
segmentUnits int 1
segmentUnit UnitType
segmentEndUnit UnitType
segmentLayerOrder boolean true
segmentMag float 2.0
segmentScl float 4.0
segmentPhase float 5.0
segmentRotSpeed float 1.0
segmentMaxRot float 30.0
segmentSpacing float -1.0
segmentRotationRange float 80.0
crawlSlowdown float 0.5
crushDamage float 0.0
crawlSlowdownFrac float 0.55
lifetime float 300.0
homingDelay float 10.0

Weapon

继承自 Object

字段
名称 类型 默认值 注释
name String
bullet BulletType placeholder
ejectEffect Effect none
display boolean true
useAmmo boolean true
mirror boolean true
flipSprite boolean false
alternate boolean true
rotate boolean false
showStatSprite boolean true
baseRotation float 0.0
top boolean true
continuous boolean false
alwaysContinuous boolean false
aimChangeSpeed float Infinity
controllable boolean true
aiControllable boolean true
alwaysShooting boolean false
autoTarget boolean false
predictTarget boolean true
useAttackRange boolean true
targetInterval float 40.0
targetSwitchInterval float 70.0
rotateSpeed float 20.0
reload float 1.0
inaccuracy float 0.0
shake float 0.0
recoil float 1.5
recoils int -1
recoilTime float -1.0
recoilPow float 1.8
cooldownTime float 20.0
shootX float 0.0
shootY float 3.0
x float 5.0
y float 0.0
xRand float 0.0
yRand float 0.0
shoot ShootPattern new ShootPattern()
shadow float -1.0
velocityRnd float 0.0
extraVelocity float 0.0
shootCone float 5.0
rotationLimit float 361.0
minWarmup float 0.0
shootWarmupSpeed float 0.1
smoothReloadSpeed float 0.15
linearWarmup boolean false
soundPitchMin float 0.8
soundPitchMax float 1.0
ignoreRotation boolean false
noAttack boolean false
minShootVelocity float -1.0
parentizeEffects boolean false
otherSide int -1
layerOffset float 0.0
activeSound Sound none
activeSoundVolume float 1.0
shootSound Sound shoot
shootSoundVolume float 1.0
initialShootSound Sound none
chargeSound Sound none
heatColor Color ab3400ff
shootStatusDuration float 300.0
shootOnDeath boolean false
shootOnDeathEffect Effect null
parts Seq<DrawPart> []

Weather

继承自 UnlockableContent

字段
名称 类型 默认值 注释
duration float 36000.0
opacityMultiplier float 1.0
attrs Attributes new Attributes()
sound Sound none
soundVol float 0.1
soundVolMin float 0.0
soundVolOscMag float 0.0
soundVolOscScl float 20.0
hidden boolean false
statusDuration float 120.0
statusAir boolean true
statusGround boolean true

ErekirUnitType

继承自 UnitType

MissileUnitType

继承自 UnitType

NeoplasmUnitType

继承自 UnitType

TankUnitType

继承自 ErekirUnitType

BuildWeapon

继承自 Weapon

MineWeapon

继承自 Weapon

PointDefenseBulletWeapon

继承自 Weapon

字段
名称 类型 默认值 注释
damageTargetWeight float 10.0

PointDefenseWeapon

继承自 Weapon

字段
名称 类型 默认值 注释
color Color ffffffff
beamEffect Effect pointBeam

RepairBeamWeapon

继承自 Weapon

字段
名称 类型 默认值 注释
targetBuildings boolean false
targetUnits boolean true
repairSpeed float 0.3
fractionRepairSpeed float 0.0
beamWidth float 1.0
pulseRadius float 6.0
pulseStroke float 2.0
widthSinMag float 0.0
widthSinScl float 4.0
recentDamageMultiplier float 0.1
laserColor Color 98ffa9ff
laserTopColor Color ffffffff
healColor Color 98ffa9ff
healEffect Effect healBlockFull

MagneticStorm

继承自 Weather

ParticleWeather

继承自 Weather

字段
名称 类型 默认值 注释
particleRegion String "circle-shadow"
color Color ffffffff
yspeed float -2.0
xspeed float 0.25
padding float 16.0
sizeMin float 2.4
sizeMax float 12.0
density float 1200.0
minAlpha float 1.0
maxAlpha float 1.0
force float 0.0
noiseScale float 2000.0
baseSpeed float 6.1
sinSclMin float 30.0
sinSclMax float 80.0
sinMagMin float 1.0
sinMagMax float 7.0
noiseColor Color ffffffff
drawNoise boolean false
drawParticles boolean true
useWindVector boolean false
randomParticleRotation boolean false
noiseLayers int 1
noiseLayerSpeedM float 1.1
noiseLayerAlphaM float 0.8
noiseLayerSclM float 0.99
noiseLayerColorM float 1.0
noisePath String "noiseAlpha"

RainWeather

继承自 Weather

字段
名称 类型 默认值 注释
yspeed float 5.0
xspeed float 1.5
padding float 16.0
density float 1200.0
stroke float 0.75
sizeMin float 8.0
sizeMax float 40.0
splashTimeScale float 22.0
liquid Liquid water
color Color 7a95eaff

SolarFlare

继承自 Weather

Block

继承自 UnlockableContent

字段
名称 类型 默认值 注释
hasItems boolean false
hasLiquids boolean false
hasPower boolean false
outputsLiquid boolean false
consumesPower boolean true
outputsPower boolean false
connectedPower boolean true
conductivePower boolean false
outputsPayload boolean false
acceptsUnitPayloads boolean false
acceptsPayload boolean false
acceptsItems boolean false
alwaysAllowDeposit boolean false
depositCooldown float -1
separateItemCapacity boolean false
itemCapacity int 10
liquidCapacity float -1.0
liquidPressure float 1.0
outputFacing boolean true
noSideBlend boolean false
displayFlow boolean true
inEditor boolean true
editorConfigurable boolean false
saveConfig boolean false
copyConfig boolean true
clearOnDoubleTap boolean false
update boolean false
destructible boolean false
unloadable boolean true
isDuct boolean false
allowResupply boolean false
solid boolean false
solidifes boolean false
teamPassable boolean false
underBullets boolean false
rotate boolean false
rotateDraw boolean true
rotateDrawEditor boolean true
visualRotationOffset float 0.0
lockRotation boolean true
ignoreLineRotation boolean false
invertFlip boolean false
variants int 0
drawArrow boolean true
drawTeamOverlay boolean true
saveData boolean false
breakable boolean false
unitMoveBreakable boolean false
rebuildable boolean true
privileged boolean false
requiresWater boolean false
placeableLiquid boolean false
placeablePlayer boolean true
placeableOn boolean true
insulated boolean false
squareSprite boolean true
absorbLasers boolean false
enableDrawStatus boolean true
drawDisabled boolean true
autoResetEnabled boolean true
noUpdateDisabled boolean false
updateInUnits boolean true
alwaysUpdateInUnits boolean false
canPickup boolean true
deconstructDropAllLiquid boolean false
useColor boolean true
itemDrop Item null
playerUnmineable boolean false
attributes Attributes new Attributes()
scaledHealth float -1.0
health int -1
armor float 0.0
baseExplosiveness float 0.0
explosivenessScale float 1.0
flammabilityScale float 1.0
baseShake float 3.0
destroyBullet BulletType null
destroyBulletSameTeam boolean false
lightLiquid Liquid
drawCracks boolean true
createRubble boolean true
floating boolean false
size int 1
offset float 0.0
sizeOffset int 0
clipSize float -1.0
lightClipSize float 0.0
placeOverlapRange float 50.0
crushDamageMultiplier float 1.0
crushFragile boolean false
timers int 1
cacheLayer CacheLayer normal
fillsTile boolean true
forceDark boolean false
alwaysReplace boolean false
replaceable boolean true
group BlockGroup none
flags EnumSet<BlockFlag> []
priority float 0.0
unitCapModifier int 0
configurable boolean false
configureSound Sound click
ignoreResizeConfig boolean false
commandable boolean false
allowConfigInventory boolean true
selectionRows int 5
selectionColumns int 4
logicConfigurable boolean false
delayLandingConfig boolean
consumesTap boolean false
drawLiquidLight boolean true
envRequired int 0
envEnabled int 1
envDisabled int 0
sync boolean false
conveyorPlacement boolean false
allowDiagonal boolean true
swapDiagonalPlacement boolean false
allowRectanglePlacement boolean false
schematicPriority int 0
mapColor Color 000000ff
hasColor boolean false
targetable boolean true
attacks boolean false
suppressable boolean false
canOverdrive boolean true
outlineColor Color 404049ff
outlineIcon boolean false
outlineRadius int 4
outlinedIcon int -1
hasShadow boolean true
customShadow boolean false
placePitchChange boolean true
breakPitchChange boolean true
placeSound Sound unset
breakSound Sound unset
destroySound Sound unset
destroySoundVolume float 1.0
destroyPitchMin float 1.0
destroyPitchMax float 1.0
albedo float 0.0
lightColor Color ffffffff
emitLight boolean false
obstructsLight boolean true
lightRadius float 60.0
fogRadius int -1
ambientSound Sound none
ambientSoundVolume float 0.05
requirements ItemStack[] []
category Category distribution
buildTime float -1.0
buildCostMultiplier float 1.0
deconstructThreshold float 0.0
instantDeconstruct boolean false
instantBuild boolean false
ignoreBuildDarkness boolean false
placeEffect Effect placeBlock
breakEffect Effect breakBlock
destroyEffect Effect dynamicExplosion
researchCostMultiplier float 1.0
researchCost ItemStack[]
forceTeam Team
instantTransfer boolean false
quickRotate boolean true
allowDerelictRepair boolean true
selectScroll float 0.0
itemFilter boolean[] []
liquidFilter boolean[] []
hasConsumers boolean false
regionRotated1 int -1
regionRotated2 int -1
dumpTime int 5

ConstructBlock

继承自 Block

Accelerator

继承自 Block

字段
名称 类型 默认值 注释
launchBlock Block coreNucleus
powerBufferRequirement float 0.0
launchCandidates Seq<Planet>
lightningSound Sound shootArc)
lightningSoundVolume float 0.85
chargeSound Sound acceleratorCharge
launchSound Sound acceleratorLaunch
constructSound Sound acceleratorConstruct
launchDuration float 120.0
chargeDuration float 220.0
buildDuration float 120.0
landZoomInterp Interp Interp.pow4In
chargeZoomInterp Interp Interp.pow4In
landZoomFrom float 0.02
landZoomTo float 4.0
chargeZoomTo float 5.0
chargeRings int 4
ringRadBase float 60.0
ringRadSpacing float 25.0
ringRadPow float 1.6
ringStroke float 3.0
ringSpeedup float 1.4
chargeRingMerge float 2.0
ringArrowRad float 3.0
ringHandleTilt float 0.8
ringHandleLen float 30.0
ringColor Color ffd37fff
launchLightning int 20
lightningColor Color ffd37fff
lightningDamage float 40.0
lightningOffset float 24.0
lightningLengthMin int 5
lightningLengthMax int 25
lightningLaunchChance double 0.8

LandingPad

继承自 Block

字段
名称 类型 默认值 注释
arrivalDuration float 150.0
cooldownTime float 150.0
consumeLiquidAmount float 100.0
consumeLiquid Liquid water
landEffect Effect podLandShockwave
coolingEffect Effect none
coolingEffectChance float 0.2
liquidPad float 2.0
bottomColor Color 565666ff
landSoundVolume float 0.75
landSound Sound padLand

LaunchPad

继承自 Block

字段
名称 类型 默认值 注释
launchTime float 1.0
launchSoundPitchRand float 0.1
launchSound Sound padLaunch
lightColor Color eab678ff
acceptMultipleItems boolean false
lightStep float 1.0
lightSteps int 3
liquidPad float 2.0
drawLiquid Liquid
bottomColor Color 565666ff

AutoDoor

继承自 Wall

字段
名称 类型 默认值 注释
checkInterval float 20.0
openfx Effect dooropen
closefx Effect doorclose
doorSound Sound door
triggerMargin float 12.0

BaseShield

继承自 Block

字段
名称 类型 默认值 注释
radius float 200.0
sides int 24
shieldColor Color

BuildTurret

继承自 BaseTurret

字段
名称 类型 默认值 注释
targetInterval int 15
buildSpeed float 1.0
buildBeamOffset float 5.0
unitType UnitType
elevation float -1.0
heatColor Color ffd37fe5

DirectionalForceProjector

继承自 Block

字段
名称 类型 默认值 注释
width float 30.0
shieldHealth float 3000.0
cooldownNormal float 1.75
cooldownLiquid float 1.5
cooldownBrokenBase float 0.35
absorbEffect Effect absorb
shieldBreakEffect Effect shieldBreak
length float 40.0
padSize float 40.0

Door

继承自 Wall

字段
名称 类型 默认值 注释
openfx Effect dooropen
closefx Effect doorclose
doorSound Sound door
chainEffect boolean false

ForceProjector

继承自 Block

字段
名称 类型 默认值 注释
phaseUseTime float 350.0
phaseRadiusBoost float 80.0
phaseShieldBoost float 400.0
radius float 101.7
sides int 6
shieldRotation float 0.0
shieldHealth float 700.0
cooldownNormal float 1.75
cooldownLiquid float 1.5
cooldownBrokenBase float 0.35
coolantConsumption float 0.1
consumeCoolant boolean true
crashDamageMultiplier float 2.0
breakSound Sound shieldBreak
hitSound Sound shieldHit
hitSoundVolume float 0.12
absorbEffect Effect absorb
shieldBreakEffect Effect shieldBreak

MendProjector

继承自 Block

字段
名称 类型 默认值 注释
baseColor Color 84f491ff
phaseColor Color 84f491ff
reload float 250.0
range float 60.0
healPercent float 12.0
phaseBoost float 12.0
phaseRangeBoost float 50.0
useTime float 400.0
mendSound Sound healWave
mendSoundVolume float 0.5

OverdriveProjector

继承自 Block

字段
名称 类型 默认值 注释
reload float 60.0
range float 80.0
speedBoost float 1.5
speedBoostPhase float 0.75
useTime float 400.0
phaseRangeBoost float 20.0
hasBoost boolean true
baseColor Color feb380ff
phaseColor Color ffd59eff

Radar

继承自 Block

字段
名称 类型 默认值 注释
discoveryTime float 600.0
rotateSpeed float 2.0
glowColor Color ab3400ff
glowScl float 5.0
glowMag float 0.6

RegenProjector

继承自 Block

字段
名称 类型 默认值 注释
range int 14
healPercent float 0.2
optionalMultiplier float 2.0
optionalUseTime float 480.0
drawer DrawBlock new DrawDefault()
effectChance float 0.003
baseColor Color ffd37fff
effect Effect regenParticle

ShieldWall

继承自 Wall

字段
名称 类型 默认值 注释
shieldHealth float 900.0
breakCooldown float 600.0
regenSpeed float 2.0
glowColor Color ff75317f
glowMag float 0.6
glowScl float 8.0

ShockMine

继承自 Block

字段
名称 类型 默认值 注释
cooldown float 80.0
tileDamage float 5.0
damage float 13.0
length int 10
tendrils int 6
lightningColor Color a9d8ffff
shots int 6
inaccuracy float 0.0
bullet BulletType
teamAlpha float 0.3

ShockwaveTower

继承自 Block

字段
名称 类型 默认值 注释
timerCheck int 1
range float 110.0
reload float 90.0
bulletDamage float 160.0
falloffCount float 20.0
shake float 2.0
checkInterval float 8.0
shootSound Sound shockwaveTower
waveColor Color ffd37fff
heatColor Color ab3400ff
shapeColor Color f29c83ff
cooldownMultiplier float 1.0
hitEffect Effect hitSquaresColor
waveEffect Effect pointShockwave
shapeRotateSpeed float 1.0
shapeRadius float 6.0
shapeSides int 4

Thruster

继承自 Wall

Wall

继承自 Block

字段
名称 类型 默认值 注释
lightningChance float -1.0
lightningDamage float 20.0
lightningLength int 17
lightningColor Color f3e979ff
lightningSound Sound shootArc
chanceDeflect float -1.0
flashHit boolean false
flashColor Color ffffffff
deflectSound Sound none

BaseTurret

继承自 Block

字段
名称 类型 默认值 注释
range float 80.0
placeOverlapMargin float 56.0
rotateSpeed float 5.0
fogRadiusMultiplier float 1.0
disableOverlapCheck boolean false
activationTime float 0
coolEffect Effect fuelburn
coolantMultiplier float 5.0

ContinuousLiquidTurret

继承自 ContinuousTurret

字段
名称 类型 默认值 注释
liquidConsumed float 0.016666668

ContinuousTurret

继承自 Turret

字段
名称 类型 默认值 注释
shootType BulletType placeholder
aimChangeSpeed float Infinity
scaleDamageEfficiency boolean false

ItemTurret

继承自 Turret

LaserTurret

继承自 PowerTurret

字段
名称 类型 默认值 注释
firingMoveFract float 0.25
shootDuration float 100.0

LiquidTurret

继承自 Turret

字段
名称 类型 默认值 注释
extinguish boolean true

PayloadAmmoTurret

继承自 Turret

PointDefenseTurret

继承自 ReloadTurret

字段
名称 类型 默认值 注释
retargetTime float 5.0
color Color ffffffff
beamEffect Effect pointBeam
hitEffect Effect pointHit
shootEffect Effect sparkShoot
shootSound Sound shootSegment
shootCone float 5.0
bulletDamage float 10.0
shootLength float 3.0

PowerTurret

继承自 Turret

字段
名称 类型 默认值 注释
shootType BulletType

ReloadTurret

继承自 BaseTurret

字段
名称 类型 默认值 注释
reload float 10.0

TractorBeamTurret

继承自 BaseTurret

字段
名称 类型 默认值 注释
retargetTime float 5.0
shootCone float 6.0
shootLength float 5.0
laserWidth float 0.6
force float 0.3
scaledForce float 0.0
damage float 0.0
targetAir boolean true
targetGround boolean false
laserColor Color ffffffff
statusDuration float 300.0
shootSound Sound beamParallax
shootSoundVolume float 0.9

Turret

继承自 ReloadTurret

字段
名称 类型 默认值 注释
targetInterval float 20.0
newTargetInterval float -1.0
maxAmmo int 30
ammoPerShot int 1
consumeAmmoOnce boolean true
heatRequirement float -1.0
maxHeatEfficiency float 3.0
inaccuracy float 0.0
velocityRnd float 0.0
scaleLifetimeOffset float 0.0
shootCone float 8.0
shootX float 0.0
shootY float -Infinity
xRand float 0.0
drawMinRange boolean false
trackingRange float 0.0
minRange float 0.0
minWarmup float 0.0
accurateDelay boolean true
moveWhileCharging boolean true
reloadWhileCharging boolean true
warmupMaintainTime float 0.0
shoot ShootPattern new ShootPattern()
targetAir boolean true
targetGround boolean true
targetBlocks boolean true
targetHealing boolean false
playerControllable boolean true
displayAmmoMultiplier boolean true
targetUnderBlocks boolean true
alwaysShooting boolean false
predictTarget boolean true
unitSort Sortf closest
heatColor Color ab3400ff
shootEffect Effect
smokeEffect Effect
ammoUseEffect Effect none
shootSound Sound shootDuo
shootSoundVolume float 1.0
chargeSound Sound none
loopSound Sound none
loopSoundVolume float 0.5
soundPitchMin float 0.9
soundPitchMax float 1.1
ammoEjectBack float 1.0
shootWarmupSpeed float 0.1
linearWarmup boolean false
recoil float 1.0
recoils int -1
recoilTime float -1.0
recoilPow float 1.8
cooldownTime float 20.0
elevation float -1.0
shake float 0.0
drawer DrawBlock new DrawTurret()

ArmoredConveyor

继承自 Conveyor

BufferedItemBridge

继承自 ItemBridge

字段
名称 类型 默认值 注释
speed float 40.0
bufferCapacity int 50
displayedSpeed float 11.0

Conveyor

继承自 Block

字段
名称 类型 默认值 注释
speed float 0.0
displayedSpeed float 0.0
pushUnits boolean true
junctionReplacement Block
bridgeReplacement Block

DirectionBridge

继承自 Block

字段
名称 类型 默认值 注释
range int 4

DirectionLiquidBridge

继承自 DirectionBridge

字段
名称 类型 默认值 注释
speed float 5.0
liquidPadding float 1.0

DirectionalUnloader

继承自 Block

字段
名称 类型 默认值 注释
speed float 1.0
allowCoreUnload boolean false

Duct

继承自 Block

字段
名称 类型 默认值 注释
speed float 5.0
armored boolean false
transparentColor Color 66666619
bridgeReplacement Block
junctionReplacement Block

DuctBridge

继承自 DirectionBridge

字段
名称 类型 默认值 注释
speed float 5.0

DuctJunction

继承自 Block

字段
名称 类型 默认值 注释
transparentColor Color 66666619
speed float 5.0

DuctRouter

继承自 Block

字段
名称 类型 默认值 注释
speed float 5.0

ItemBridge

继承自 Block

字段
名称 类型 默认值 注释
range int 0
transportTime float 0.0
fadeIn boolean true
moveArrows boolean true
pulse boolean false
arrowSpacing float 4.0
arrowOffset float 2.0
arrowPeriod float 0.4
arrowTimeScl float 6.2
bridgeWidth float 6.5

Junction

继承自 Block

字段
名称 类型 默认值 注释
speed float 26.0
capacity int 6
displayedSpeed float 13.0

MassDriver

继承自 Block

字段
名称 类型 默认值 注释
range float 0.0
rotateSpeed float 5.0
translation float 7.0
minDistribute int 10
knockback float 4.0
reload float 100.0
bulletSpeed float 5.5
bulletLifetime float 200.0
shootEffect Effect shootBig2
smokeEffect Effect shootBigSmoke2
receiveEffect Effect mineBig
shootSound Sound massdriver
receiveSound Sound massdriverReceive
shootSoundVolume float 0.5
shake float 3.0

OverflowDuct

继承自 Block

字段
名称 类型 默认值 注释
speed float 5.0
invert boolean false

OverflowGate

继承自 Block

字段
名称 类型 默认值 注释
speed float 1.0
invert boolean false

Router

继承自 Block

字段
名称 类型 默认值 注释
speed float 8.0

Sorter

继承自 Block

字段
名称 类型 默认值 注释
invert boolean false

StackConveyor

继承自 Block

字段
名称 类型 默认值 注释
glowAlpha float 1.0
glowColor Color feb380ff
baseEfficiency float 0.0
speed float 0.0
outputRouter boolean true
recharge float 2.0
loadEffect Effect conveyorPoof
unloadEffect Effect conveyorPoof

StackRouter

继承自 DuctRouter

字段
名称 类型 默认值 注释
baseEfficiency float 0.0
glowAlpha float 1.0
glowColor Color feb380ff

AirBlock

继承自 Floor

CharacterOverlay

继承自 OverlayFloor

字段
名称 类型 默认值 注释
color Color ffffffff

Cliff

继承自 Block

字段
名称 类型 默认值 注释
size float 11.0

ColoredFloor

继承自 Floor

字段
名称 类型 默认值 注释
defaultColor Color ffffffff

ColoredWall

继承自 StaticWall

字段
名称 类型 默认值 注释
defaultColor Color ffffffff

EmptyFloor

继承自 Floor

Floor

继承自 Block

字段
名称 类型 默认值 注释
edge String "stone"
speedMultiplier float 1.0
dragMultiplier float 1.0
damageTaken float 0.0
drownTime float 0.0
walkEffect Effect none
walkSound Sound none
walkSoundVolume float 0.1
walkSoundPitchMin float 0.8
walkSoundPitchMax float 1.2
drownUpdateEffect Effect bubble
statusDuration float 60.0
liquidDrop Liquid null
liquidMultiplier float 1.0
isLiquid boolean false
overlayAlpha float 0.65
supportsOverlay boolean false
shallow boolean false
blendGroup Block this
oreDefault boolean false
oreScale float 24.0
oreThreshold float 0.828
wall Block air
decoration Block air
canShadow boolean true
forceDrawLight boolean false
needsSurface boolean true
allowCorePlacement boolean false
wallOre boolean false
blendId int -1
tilingVariants int 0
autotile boolean false
autotileMidVariants int 1
autotileVariants int 1
drawEdgeIn boolean true
drawEdgeOut boolean true

OreBlock

继承自 OverlayFloor

OverlayFloor

继承自 Floor

Prop

继承自 Block

字段
名称 类型 默认值 注释
layer float 32.0

RemoveOre

继承自 OverlayFloor

RemoveWall

继承自 Block

RuneOverlay

继承自 OverlayFloor

字段
名称 类型 默认值 注释
color Color ffffffff

SeaBush

继承自 Prop

字段
名称 类型 默认值 注释
lobesMin int 7
lobesMax int 7
botAngle float 60.0
origin float 0.1
sclMin float 30.0
sclMax float 50.0
magMin float 5.0
magMax float 15.0
timeRange float 40.0
spread float 0.0

Seaweed

继承自 Prop

ShallowLiquid

继承自 Floor

字段
名称 类型 默认值 注释
liquidBase Floor
floorBase Floor
liquidOpacity float 0.35

SpawnBlock

继承自 OverlayFloor

StaticTree

继承自 StaticWall

StaticWall

继承自 Prop

字段
名称 类型 默认值 注释
autotile boolean false
autotileMidVariants int 1

SteamVent

继承自 Floor

字段
名称 类型 默认值 注释
parent Block air
effect Effect ventSteam
effectColor Color 6b4e4eff
effectSpacing float 15.0

TallBlock

继承自 Block

字段
名称 类型 默认值 注释
shadowOffset float -3.0
layer float 71.0
shadowLayer float 69.0
rotationRand float 20.0
shadowAlpha float 0.6

TreeBlock

继承自 Block

字段
名称 类型 默认值 注释
shadowOffset float -4.0

WobbleProp

继承自 Prop

字段
名称 类型 默认值 注释
wscl float 25.0
wmag float 0.4
wtscl float 1.0
wmag2 float 1.0

HeatConductor

继承自 Block

字段
名称 类型 默认值 注释
visualMaxHeat float 15.0
drawer DrawBlock new DrawDefault()
splitHeat boolean false

HeatProducer

继承自 GenericCrafter

字段
名称 类型 默认值 注释
heatOutput float 10.0
warmupRate float 0.15

LegacyBlock

继承自 Block

LegacyCommandCenter

继承自 LegacyBlock

LegacyMechPad

继承自 LegacyBlock

LegacyUnitFactory

继承自 LegacyBlock

字段
名称 类型 默认值 注释
replacement Block air

ArmoredConduit

继承自 Conduit

Conduit

继承自 LiquidBlock

字段
名称 类型 默认值 注释
botColor Color 565656ff
padCorners boolean true
leaks boolean true
junctionReplacement Block
bridgeReplacement Block
rotBridgeReplacement Block

LiquidBlock

继承自 Block

LiquidBridge

继承自 ItemBridge

LiquidJunction

继承自 LiquidBlock

LiquidRouter

继承自 LiquidBlock

字段
名称 类型 默认值 注释
liquidPadding float 0.0

CanvasBlock

继承自 Block

字段
名称 类型 默认值 注释
padding float 0.0
canvasSize int 8
palette int[] { 0x362944_ff, 0xc45d9f_ff, 0xe39aac_ff, 0xf0dab1_ff, 0x6461c2_ff, 0x2ba9b4_ff, 0x93d4b5_ff, 0xf0f6e8_ff }
bitsPerPixel int 0

LogicBlock

继承自 Block

字段
名称 类型 默认值 注释
maxInstructionScale int 5
instructionsPerTick int 1
maxInstructionsPerTick int 40
range float 80.0

LogicDisplay

继承自 Block

字段
名称 类型 默认值 注释
maxSides int 25
displaySize int 64
scaleFactor float 1.0

MemoryBlock

继承自 Block

字段
名称 类型 默认值 注释
memoryCapacity int 32

MessageBlock

继承自 Block

字段
名称 类型 默认值 注释
maxTextLength int 220
maxNewlines int 24

SwitchBlock

继承自 Block

字段
名称 类型 默认值 注释
clickSound Sound click

TileableLogicDisplay

继承自 LogicDisplay

字段
名称 类型 默认值 注释
maxDisplayDimensions int 16
frameSize int 6

BlockProducer

继承自 PayloadBlock

字段
名称 类型 默认值 注释
buildSpeed float 4

Constructor

继承自 BlockProducer

字段
名称 类型 默认值 注释
filter Seq<Block> []
minBlockSize int 1
maxBlockSize int 2

PayloadBlock

继承自 Block

字段
名称 类型 默认值 注释
payloadSpeed float 0.7
payloadRotateSpeed float 5.0
regionSuffix String ""

PayloadConveyor

继承自 Block

字段
名称 类型 默认值 注释
moveTime float 45.0
moveForce float 201.0
interp Interp Interp.pow5
payloadLimit float 3.0
pushUnits boolean true

PayloadDeconstructor

继承自 PayloadBlock

字段
名称 类型 默认值 注释
maxPayloadSize float 4.0
deconstructSpeed float 2.5
dumpRate int 4

PayloadLoader

继承自 PayloadBlock

字段
名称 类型 默认值 注释
loadTime float 2.0
itemsLoaded int 8
liquidsLoaded float 40.0
maxBlockSize int 3
maxPowerConsumption float 40.0
loadPowerDynamic boolean true

PayloadMassDriver

继承自 PayloadBlock

字段
名称 类型 默认值 注释
range float 100.0
rotateSpeed float 5.0
length float 11.125
knockback float 5.0
reload float 30.0
chargeTime float 100.0
maxPayloadSize float 3.0
grabWidth float 8.0
grabHeight float 2.75
shootEffect Effect shootBig2
smokeEffect Effect shootPayloadDriver
receiveEffect Effect payloadReceive
shootSound Sound massdriver
receiveSound Sound massdriverReceive
shootSoundVolume float 0.7
shake float 3.0

PayloadRouter

继承自 PayloadConveyor

字段
名称 类型 默认值 注释
invert boolean false

PayloadSource

继承自 PayloadBlock

PayloadUnloader

继承自 PayloadLoader

字段
名称 类型 默认值 注释
offloadSpeed int 4
maxPowerUnload float 80.0

PayloadVoid

继承自 PayloadBlock

字段
名称 类型 默认值 注释
incinerateEffect Effect blastExplosion
incinerateSound Sound unitExplode1

Battery

继承自 PowerDistributor

字段
名称 类型 默认值 注释
drawer DrawBlock
emptyLightColor Color f8c266ff
fullLightColor Color fb9567ff

BeamNode

继承自 PowerBlock

字段
名称 类型 默认值 注释
range int 5
laserColor1 Color ffffffff
laserColor2 Color ffd9c2ff
pulseScl float 7.0
pulseMag float 0.05
laserWidth float 0.4

ConsumeGenerator

继承自 PowerGenerator

字段
名称 类型 默认值 注释
itemDuration float 120.0
warmupSpeed float 0.05
effectChance float 0.01
generateEffect Effect none
consumeEffect Effect none
generateEffectRange float 3.0
baseLightRadius float 65.0
outputLiquid LiquidStack
explodeOnFull boolean false

HeaterGenerator

继承自 ConsumeGenerator

字段
名称 类型 默认值 注释
heatOutput float 10.0
warmupRate float 0.15

ImpactReactor

继承自 PowerGenerator

字段
名称 类型 默认值 注释
warmupSpeed float 0.001
itemDuration float 60.0

LightBlock

继承自 Block

字段
名称 类型 默认值 注释
brightness float 0.9
radius float 200.0

LongPowerNode

继承自 PowerNode

字段
名称 类型 默认值 注释
glowColor Color cbfd8172
glowScl float 16.0
glowMag float 0.6

NuclearReactor

继承自 PowerGenerator

字段
名称 类型 默认值 注释
lightColor Color 7f19eaff
coolColor Color ffffff00
hotColor Color ff9575a3
itemDuration float 120.0
heating float 0.01
heatOutput float 15.0
heatWarmupRate float 1.0
ambientCooldownTime float 1200.0
smokeThreshold float 0.3
flashThreshold float 0.46
coolantPower float 0.5
fuelItem Item thorium

PowerBlock

继承自 Block

PowerDiode

继承自 Block

PowerDistributor

继承自 PowerBlock

PowerGenerator

继承自 PowerDistributor

字段
名称 类型 默认值 注释
powerProduction float 0.0
drawer DrawBlock new DrawDefault()
explosionRadius int 12
explosionDamage int 0
explodeEffect Effect none
explodeSound Sound none
explosionPuddles int 10
explosionPuddleRange float 16.0
explosionPuddleAmount float 100.0
explosionPuddleLiquid Liquid
explosionMinWarmup float 0.0
explosionShake float 0.0
explosionShakeDuration float 6.0

PowerNode

继承自 PowerBlock

字段
名称 类型 默认值 注释
laserRange float 6.0
maxNodes int 3
autolink boolean true
drawRange boolean true
sameBlockConnection boolean false
laserScale float 0.25
powerLayer float 70.0
laserColor1 Color ffffffff
laserColor2 Color fbd367ff

SolarGenerator

继承自 PowerGenerator

ThermalGenerator

继承自 PowerGenerator

字段
名称 类型 默认值 注释
generateEffect Effect none
effectChance float 0.05
minEfficiency float 0.0
displayEfficiencyScale float 1.0
displayEfficiency boolean true
outputLiquid LiquidStack
attribute Attribute heat

VariableReactor

继承自 PowerGenerator

字段
名称 类型 默认值 注释
maxHeat float 100.0
unstableSpeed float 0.0055555557
warmupSpeed float 0.1
effect Effect fluxVapor
effectChance float 0.05
effectColor Color ffdf9dff
flashThreshold float 0.01
flashAlpha float 0.4
flashSpeed float 7.0
flashColor1 Color ff0000ff
flashColor2 Color 89e8b6ff

AttributeCrafter

继承自 GenericCrafter

字段
名称 类型 默认值 注释
attribute Attribute heat
baseEfficiency float 1.0
boostScale float 1.0
maxBoost float 1.0
minEfficiency float -1.0
displayEfficiencyScale float 1.0
displayEfficiency boolean true
scaleLiquidConsumption boolean false

BeamDrill

继承自 Block

字段
名称 类型 默认值 注释
drillTime float 200.0
range int 5
tier int 1
laserWidth float 0.65
optionalBoostIntensity float 2.5
blockedItem Item
blockedItems Seq<Item>
sparkColor Color fd9e81ff
glowColor Color ffffffff
glowIntensity float 0.2
pulseIntensity float 0.07
glowScl float 3.0
sparks int 7
sparkRange float 10.0
sparkLife float 27.0
sparkRecurrence float 4.0
sparkSpread float 45.0
sparkSize float 3.5
boostHeatColor Color 75b3ccff
heatColor Color ff5959e5
heatPulse float 0.3
heatPulseScl float 7.0

BurstDrill

继承自 Drill

字段
名称 类型 默认值 注释
shake float 2.0
speedCurve Interp Interp.pow2In
invertedTime float 200.0
arrowSpacing float 4.0
arrowOffset float 0.0
arrows int 3
arrowColor Color feb380ff
baseArrowColor Color 6e7080ff
glowColor Color feb380ff
drillSound Sound drillImpact
drillSoundVolume float 0.6
drillSoundPitchRand float 0.1

Drill

继承自 Block

字段
名称 类型 默认值 注释
hardnessDrillMultiplier float 50.0
tier int 0
drillTime float 300.0
liquidBoostIntensity float 1.6
warmupSpeed float 0.015
blockedItem Item
blockedItems Seq<Item>
drawMineItem boolean true
drillEffect Effect mine
drillEffectRnd float -1.0
drillEffectChance float 0.02
rotateSpeed float 2.0
updateEffect Effect pulverizeSmall
updateEffectChance float 0.02
drawRim boolean false
drawSpinSprite boolean true
heatColor Color ff5512ff

Fracker

继承自 SolidPump

字段
名称 类型 默认值 注释
itemUseTime float 100.0

GenericCrafter

继承自 Block

字段
名称 类型 默认值 注释
outputItem ItemStack
outputItems ItemStack[]
outputLiquid LiquidStack
outputLiquids LiquidStack[]
liquidOutputDirections int[] { -1 }
dumpExtraLiquid boolean true
ignoreLiquidFullness boolean false
craftTime float 80.0
craftEffect Effect none
updateEffect Effect none
updateEffectChance float 0.04
updateEffectSpread float 4.0
warmupSpeed float 0.019
legacyReadWarmup boolean false
drawer DrawBlock new DrawDefault()

HeatCrafter

继承自 GenericCrafter

字段
名称 类型 默认值 注释
heatRequirement float 10.0
overheatScale float 1.0
maxEfficiency float 4.0

Incinerator

继承自 Block

字段
名称 类型 默认值 注释
effect Effect fuelburn
flameColor Color ffad9dff

ItemIncinerator

继承自 Block

字段
名称 类型 默认值 注释
effect Effect incinerateSlag
effectChance float 0.2

Pump

继承自 LiquidBlock

字段
名称 类型 默认值 注释
pumpAmount float 0.2
consumeTime float 300.0
warmupSpeed float 0.019
drawer DrawBlock new DrawMulti(new DrawDefault(), new DrawPumpLiquid())

Separator

继承自 Block

字段
名称 类型 默认值 注释
results ItemStack[]
craftTime float 0.0
drawer DrawBlock new DrawDefault()

SingleBlockProducer

继承自 BlockProducer

字段
名称 类型 默认值 注释
result Block router

SolidPump

继承自 Pump

字段
名称 类型 默认值 注释
result Liquid water
updateEffect Effect none
updateEffectChance float 0.02
rotateSpeed float 1.0
baseEfficiency float 1.0
attribute Attribute

WallCrafter

继承自 Block

字段
名称 类型 默认值 注释
drillTime float 150.0
liquidBoostIntensity float 1.6
updateEffect Effect mineWallSmall
updateEffectChance float 0.02
rotateSpeed float 2.0
attribute Attribute sand
output Item sand
boostItemUseTime float 120.0
itemBoostIntensity float 1.6
hasLiquidBooster boolean false

ItemSource

继承自 Block

字段
名称 类型 默认值 注释
itemsPerSecond int 100

ItemVoid

继承自 Block

LiquidSource

继承自 Block

LiquidVoid

继承自 Block

PowerSource

继承自 PowerNode

字段
名称 类型 默认值 注释
powerProduction float 10000.0

PowerVoid

继承自 PowerBlock

CoreBlock

继承自 StorageBlock

字段
名称 类型 默认值 注释
thrusterLength float 3.5
thrusterOffset float 0.0
isFirstTier boolean false
allowSpawn boolean true
requiresCoreZone boolean false
incinerateNonBuildable boolean false
unitType UnitType alpha
landDuration float 160.0
landMusic Music land
launchSoundVolume float 1.0
landSoundVolume float 1.0
launchSound Sound coreLaunch
landSound Sound coreLand
launchEffect Effect launch
landZoomInterp Interp Interp.pow3
landZoomFrom float 0.02
landZoomTo float 4.0
captureInvicibility float 900.0

StorageBlock

继承自 Block

字段
名称 类型 默认值 注释
coreMerge boolean true

Unloader

继承自 Block

字段
名称 类型 默认值 注释
speed float 1.0
allowCoreUnload boolean true

DroneCenter

继承自 Block

字段
名称 类型 默认值 注释
unitsSpawned int 4
droneType UnitType
droneConstructTime float 180.0
statusDuration float 120.0
droneRange float 50.0

Reconstructor

继承自 UnitBlock

字段
名称 类型 默认值 注释
constructTime float 120.0
upgrades Seq<UnitType[]> []
capacities int[] []
createSound Sound unitCreate
createSoundVolume float 1.0

RepairTower

继承自 Block

字段
名称 类型 默认值 注释
range float 80.0
circleColor Color 98ffa9ff
glowColor Color 98ffa97f
circleSpeed float 120.0
circleStroke float 3.0
squareRad float 3.0
squareSpinScl float 0.8
glowMag float 0.5
glowScl float 8.0
healAmount float 1.0

RepairTurret

继承自 Block

字段
名称 类型 默认值 注释
timerTarget int 1
timerEffect int 2
repairRadius float 50.0
repairSpeed float 0.3
powerUse float 0.0
length float 5.0
beamWidth float 1.0
pulseRadius float 6.0
pulseStroke float 2.0
acceptCoolant boolean false
coolantUse float 0.5
coolEffect Effect fuelburn
coolantMultiplier float 1.0
laserColor Color 98ffa9ff
laserTopColor Color ffffffff

UnitAssembler

继承自 PayloadBlock

字段
名称 类型 默认值 注释
areaSize int 11
droneType UnitType assemblyDrone
dronesCreated int 4
droneConstructTime float 240.0
capacities int[] []
plans Seq<AssemblerUnitPlan> []
createSound Sound unitCreateBig
createSoundVolume float 1.0

UnitAssemblerModule

继承自 PayloadBlock

字段
名称 类型 默认值 注释
tier int 1

UnitBlock

继承自 PayloadBlock

UnitCargoLoader

继承自 Block

字段
名称 类型 默认值 注释
unitType UnitType manifold
unitBuildTime float 480.0
polyStroke float 1.8
polyRadius float 8.0
polySides int 6
polyRotateSpeed float 1.0
polyColor Color ffd37fff

UnitCargoUnloadPoint

继承自 Block

字段
名称 类型 默认值 注释
staleTimeDuration float 360.0

UnitFactory

继承自 UnitBlock

字段
名称 类型 默认值 注释
capacities int[] []
plans Seq<UnitPlan> []
createSound Sound unitCreate
createSoundVolume float 1.0

DrawArcSmelt

继承自 DrawBlock

字段
名称 类型 默认值 注释
flameColor Color f58349ff
midColor Color f2d585ff
flameRad float 1.0
circleSpace float 2.0
flameRadiusScl float 3.0
flameRadiusMag float 0.3
circleStroke float 1.5
x float 0.0
y float 0.0
alpha float 0.68
particles int 25
particleLife float 40.0
particleRad float 7.0
particleStroke float 1.1
particleLen float 3.0
drawCenter boolean true
blending Blending additive

DrawBlock

继承自 Object

字段
名称 类型 默认值 注释
iconOverride String[] null

DrawBlurSpin

继承自 DrawBlock

字段
名称 类型 默认值 注释
suffix String ""
rotateSpeed float 1.0
x float 0.0
y float 0.0
blurThresh float 0.7

DrawBubbles

继承自 DrawBlock

字段
名称 类型 默认值 注释
color Color 7457ceff
amount int 12
sides int 8
strokeMin float 0.2
spread float 3.0
timeScl float 30.0
recurrence float 6.0
radius float 3.0
fill boolean false

DrawCells

继承自 DrawBlock

字段
名称 类型 默认值 注释
color Color ffffffff
particleColorFrom Color 000000ff
particleColorTo Color 000000ff
particles int 12
range float 4.0
recurrence float 2.0
radius float 1.8
lifetime float 180.0

DrawCircles

继承自 DrawBlock

字段
名称 类型 默认值 注释
color Color 7457ceff
amount int 5
sides int 15
strokeMin float 0.2
strokeMax float 2.0
timeScl float 160.0
radius float 12.0
radiusOffset float 0.0
x float 0.0
y float 0.0
strokeInterp Interp Interp.pow3In

DrawCrucibleFlame

继承自 DrawBlock

字段
名称 类型 默认值 注释
flameColor Color f58349ff
midColor Color f2d585ff
flameRad float 1.0
circleSpace float 2.0
flameRadiusScl float 10.0
flameRadiusMag float 0.6
circleStroke float 1.5
x float 0.0
y float 0.0
alpha float 0.5
particles int 30
particleLife float 70.0
particleRad float 7.0
particleSize float 3.0
fadeMargin float 0.4
rotateScl float 1.5
particleInterp Interp new PowIn(1.5f)

DrawCultivator

继承自 DrawBlock

字段
名称 类型 默认值 注释
plantColor Color 5541b1ff
plantColorLight Color 7457ceff
bottomColor Color 474747ff
bubbles int 12
sides int 8
strokeMin float 0.2
spread float 3.0
timeScl float 70.0
recurrence float 6.0
radius float 3.0

DrawDefault

继承自 DrawBlock

DrawFade

继承自 DrawBlock

字段
名称 类型 默认值 注释
suffix String "-top"
alpha float 0.6
scale float 3.0

DrawFlame

继承自 DrawBlock

字段
名称 类型 默认值 注释
flameColor Color ffc999ff
lightRadius float 60.0
lightAlpha float 0.65
lightSinScl float 10.0
lightSinMag float 5.0
flameRadius float 3.0
flameRadiusIn float 1.9
flameRadiusScl float 5.0
flameRadiusMag float 2.0
flameRadiusInMag float 1.0
flameX float 0.0
flameY float 0.0

DrawFrames

继承自 DrawBlock

字段
名称 类型 默认值 注释
frames int 3
interval float 5.0
sine boolean true

DrawGlowRegion

继承自 DrawBlock

字段
名称 类型 默认值 注释
blending Blending additive
suffix String "-glow"
alpha float 0.9
glowScale float 10.0
glowIntensity float 0.5
rotateSpeed float 0.0
layer float 31.0
rotate boolean false
color Color ff0000ff

DrawHeatInput

继承自 DrawBlock

字段
名称 类型 默认值 注释
suffix String "-heat"
heatColor Color ff3838cc
heatPulse float 0.3
heatPulseScl float 10.0

DrawHeatOutput

继承自 DrawBlock

字段
名称 类型 默认值 注释
heatColor Color ff3838cc
heatPulse float 0.3
heatPulseScl float 10.0
glowMult float 1.2
rotOffset int 0
drawGlow boolean true

DrawHeatRegion

继承自 DrawBlock

字段
名称 类型 默认值 注释
color Color ff3838cc
pulse float 0.3
pulseScl float 10.0
layer float 31.0
suffix String "-glow"

DrawLiquidOutputs

继承自 DrawBlock

DrawLiquidRegion

继承自 DrawBlock

字段
名称 类型 默认值 注释
drawLiquid Liquid
suffix String "-liquid"
alpha float 1.0

DrawLiquidTile

继承自 DrawBlock

字段
名称 类型 默认值 注释
drawLiquid Liquid
padding float 0.0
padLeft float -1.0
padRight float -1.0
padTop float -1.0
padBottom float -1.0
alpha float 1.0

DrawMulti

继承自 DrawBlock

字段
名称 类型 默认值 注释
drawers DrawBlock[] []

DrawMultiWeave

继承自 DrawBlock

字段
名称 类型 默认值 注释
rotateSpeed float 1.0
rotateSpeed2 float -0.9
fadeWeave boolean false
glowColor Color ff6666cc
weaveColor Color ffffffff
pulse float 0.3
pulseScl float 10.0

DrawParticles

继承自 DrawBlock

字段
名称 类型 默认值 注释
color Color f2d585ff
sides int 12
x float 0.0
y float 0.0
alpha float 0.5
particles int 30
particleRotation float 0.0
particleLife float 70.0
particleRad float 7.0
particleSize float 3.0
fadeMargin float 0.4
rotateScl float 3.0
reverse boolean false
poly boolean false
particleInterp Interp new PowIn(1.5f)
particleSizeInterp Interp Interp.slope
blending Blending normal

DrawPistons

继承自 DrawBlock

字段
名称 类型 默认值 注释
sinMag float 4.0
sinScl float 6.0
sinOffset float 50.0
sideOffset float 0.0
lenOffset float -1.0
horiOffset float 0.0
angleOffset float 0.0
sides int 4
suffix String "-piston"

DrawPlasma

继承自 DrawFlame

字段
名称 类型 默认值 注释
suffix String "-plasma-"
plasmas int 4
plasma1 Color ffd06bff
plasma2 Color ff361bff

DrawPower

继承自 DrawBlock

字段
名称 类型 默认值 注释
suffix String "-power"
drawPlan boolean true
mixcol boolean true
emptyLightColor Color f8c266ff
fullLightColor Color fb9567ff
layer float -1.0

DrawPulseShape

继承自 DrawBlock

字段
名称 类型 默认值 注释
color Color ffd37fff
stroke float 2.0
timeScl float 100.0
minStroke float 0.2
radiusScl float 1.0
layer float -1.0
square boolean true

DrawPumpLiquid

继承自 DrawBlock

DrawRegion

继承自 DrawBlock

字段
名称 类型 默认值 注释
suffix String ""
name String
color Color
spinSprite boolean false
drawPlan boolean true
buildingRotate boolean false
rotateSpeed float 0.0
x float 0.0
y float 0.0
rotation float 0.0
layer float -1.0

DrawShape

继承自 DrawBlock

字段
名称 类型 默认值 注释
color Color ffd37fff
sides int 4
radius float 2.0
timeScl float 1.0
layer float -1.0
x float 0.0
y float 0.0
useWarmupRadius boolean false

DrawSideRegion

继承自 DrawBlock

DrawSoftParticles

继承自 DrawBlock

字段
名称 类型 默认值 注释
color Color e3ae6fff
color2 Color d04d46ff
x float 0.0
y float 0.0
alpha float 0.5
particles int 30
particleLife float 70.0
particleRad float 7.0
particleSize float 3.0
fadeMargin float 0.4
rotateScl float 1.5
particleInterp Interp new PowIn(1.5f)

DrawSpikes

继承自 DrawBlock

字段
名称 类型 默认值 注释
color Color 7457ceff
amount int 10
layers int 1
stroke float 2.0
rotateSpeed float 0.8
radius float 6.0
length float 4.0
x float 0.0
y float 0.0
layerSpeed float -1.0

DrawTurret

继承自 DrawBlock

字段
名称 类型 默认值 注释
parts Seq<DrawPart> []
basePrefix String ""
liquidDraw Liquid
turretLayer float 50.0
shadowLayer float 49.5
heatLayer float 50.1

DrawWarmupRegion

继承自 DrawBlock

字段
名称 类型 默认值 注释
sinMag float 0.6
sinScl float 8.0
color Color ff9b59ff

DrawWeave

继承自 DrawBlock