Class ContinuousTurret
java.lang.Object
mindustry.ctype.Content
mindustry.ctype.MappableContent
mindustry.ctype.UnlockableContent
mindustry.world.Block
mindustry.world.blocks.defense.turrets.BaseTurret
mindustry.world.blocks.defense.turrets.ReloadTurret
mindustry.world.blocks.defense.turrets.Turret
mindustry.world.blocks.defense.turrets.ContinuousTurret
- All Implemented Interfaces:
Comparable<Content>
,Senseable
- Direct Known Subclasses:
ContinuousLiquidTurret
A turret that fires a continuous beam bullet with no reload or coolant necessary. The bullet only disappears when the turret stops shooting.
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.world.blocks.defense.turrets.Turret
Turret.AmmoEntry, Turret.BulletEntry, Turret.TurretBuild
Nested classes/interfaces inherited from class mindustry.world.blocks.defense.turrets.ReloadTurret
ReloadTurret.ReloadTurretBuild
Nested classes/interfaces inherited from class mindustry.world.blocks.defense.turrets.BaseTurret
BaseTurret.BaseTurretBuild
Nested classes/interfaces inherited from class mindustry.ctype.Content
Content.ModContentInfo
-
Field Summary
Modifier and TypeFieldDescriptionfloat
Speed at which the turret can change its bullet "aim" distance.Fields inherited from class mindustry.world.blocks.defense.turrets.Turret
accurateDelay, alwaysShooting, ammoEjectBack, ammoPerShot, ammoUseEffect, buildingFilter, chargeSound, consumeAmmoOnce, cooldownTime, displayAmmoMultiplier, drawer, elevation, heatColor, heatRequirement, inaccuracy, linearWarmup, logicControlCooldown, maxAmmo, maxHeatEfficiency, minRange, minWarmup, moveWhileCharging, playerControllable, predictTarget, recoil, recoilPow, recoils, recoilTime, shake, shoot, shootCone, shootEffect, shootSound, shootWarmupSpeed, shootX, shootY, smokeEffect, soundPitchMax, soundPitchMin, targetAir, targetGround, targetHealing, targetInterval, targetUnderBlocks, timerTarget, unitFilter, unitSort, velocityRnd, warmupMaintainTime, xRand
Fields inherited from class mindustry.world.blocks.defense.turrets.ReloadTurret
reload
Fields inherited from class mindustry.world.blocks.defense.turrets.BaseTurret
coolant, coolantMultiplier, coolEffect, fogRadiusMultiplier, placeOverlapMargin, range, rotateSpeed
Fields inherited from class mindustry.world.Block
absorbLasers, acceptsItems, acceptsPayload, albedo, allowConfigInventory, allowDiagonal, allowResupply, alwaysReplace, alwaysUpdateInUnits, ambientSound, ambientSoundVolume, armor, attacks, attributes, autoResetEnabled, barMap, baseExplosiveness, breakable, breakEffect, breakPitchChange, breakSound, buildCost, buildCostMultiplier, buildType, buildVisibility, cacheLayer, canOverdrive, category, clearOnDoubleTap, clipSize, commandable, conductivePower, configurable, configurations, connectedPower, consPower, consumeBuilder, consumers, consumesPower, consumesTap, conveyorPlacement, copyConfig, createRubble, crushDamageMultiplier, customShadow, customShadowRegion, deconstructThreshold, destroyBullet, destroyBulletSameTeam, destroyEffect, destroySound, destructible, displayFlow, drawArrow, drawCracks, drawDisabled, drawLiquidLight, drawTeamOverlay, dumpTime, editorIcon, editorVariantRegions, emitLight, enableDrawStatus, envDisabled, envEnabled, envRequired, fillsTile, flags, floating, fogRadius, forceDark, generatedIcons, group, hasColor, hasConsumers, hasItems, hasLiquids, hasPower, hasShadow, health, inEditor, instantDeconstruct, instantTransfer, insulated, invertFlip, isDuct, itemCapacity, itemDrop, itemFilter, lastConfig, lightColor, lightLiquid, lightRadius, liquidCapacity, liquidFilter, liquidPressure, lockRotation, logicConfigurable, loopSound, loopSoundVolume, mapColor, nonOptionalConsumers, noSideBlend, noUpdateDisabled, offset, optionalConsumers, outlineColor, outlinedIcon, outlineIcon, outlineRadius, outputFacing, outputsLiquid, outputsPayload, outputsPower, placeableLiquid, placeableOn, placeablePlayer, placeEffect, placeOverlapRange, placePitchChange, placeSound, playerUnmineable, priority, privileged, quickRotate, rebuildable, region, regionRotated1, regionRotated2, replaceable, requirements, requiresWater, researchCost, researchCostMultiplier, researchCostMultipliers, rotate, rotateDraw, saveConfig, saveData, scaledHealth, schematicPriority, selectionColumns, selectionRows, selectScroll, separateItemCapacity, size, sizeOffset, solid, solidifes, squareSprite, subclass, suppressable, swapDiagonalPlacement, sync, targetable, teamPassable, teamRegion, teamRegions, tempBuilds, tempTiles, timerDump, timers, underBullets, unitCapModifier, unloadable, update, updateConsumers, updateInUnits, useColor, variantRegions, variants, variantShadowRegions
Fields inherited from class mindustry.ctype.UnlockableContent
alwaysUnlocked, description, details, fullIcon, generateIcons, hideDetails, iconId, inlineDescription, localizedName, selectionSize, stats, techNode, techNodes, uiIcon, unlocked
Fields inherited from class mindustry.ctype.MappableContent
name
-
Constructor Summary
-
Method Summary
Methods inherited from class mindustry.world.blocks.defense.turrets.Turret
getRegionsToOutline, icons, init, limitRange, load, outputsItems, setBars
Methods inherited from class mindustry.world.blocks.defense.turrets.BaseTurret
drawPlace
Methods inherited from class mindustry.world.Block
addBar, addLiquidBar, addLiquidBar, asFloor, beforePlaceBegan, bounds, canBeBuilt, canBreak, canPlaceOn, canReplace, changePlacementPath, changePlacementPath, checkForceDark, config, configClear, configSenseable, consume, consumeCoolant, consumeCoolant, consumeItem, consumeItem, consumeItems, consumeLiquid, consumeLiquids, consumePower, consumePowerBuffered, consumePowerCond, consumePowerDynamic, consumesItem, consumesLiquid, createIcons, drawBase, drawDefaultPlanRegion, drawEnvironmentLight, drawOverlay, drawPlaceText, drawPlan, drawPlan, drawPlanConfig, drawPlanConfigCenter, drawPlanConfigCenter, drawPlanConfigTop, drawPlanRegion, drawPotentialLinks, drawShadow, editorIcon, editorVariantRegions, environmentBuildable, findConsumer, flipRotation, getContentType, getDependencies, getDisplayIcon, getDisplayName, getEdges, getGeneratedIcons, getInsideEdges, getPlanRegion, getReplacement, handlePlacementLine, hasBuilding, hasConsumer, initBuilding, isAccessible, isAir, isFloor, isHidden, isMultiblock, isOverlay, isPlaceable, isStatic, isVisible, isVisibleOn, iterateTaken, listBars, logicVisible, makeIconRegions, minimapColor, nearbySide, newBuilding, nextConfig, onNewPlan, percentSolid, placeBegan, placeBegan, planRotation, pointConfig, removeBar, removeConsumer, requirements, requirements, requirements, researchRequirements, resetGeneratedIcons, rotatedOutput, sense, sense, senseObject, setupRequirements, setupRequirements, sumAttribute, supportsEnv, synthetic, updateClipRadius, variantRegions
Methods inherited from class mindustry.ctype.UnlockableContent
checkStats, clearUnlock, displayDescription, displayExtra, emoji, getLogicId, hasEmoji, loadIcon, locked, makeOutline, makeOutline, makeOutline, onUnlock, quietUnlock, showUnlock, unlock, unlocked, unlockedNow, unlockedNowHost
Methods inherited from class mindustry.ctype.MappableContent
toString
Methods inherited from class mindustry.ctype.Content
compareTo, hasErrored, isModded, isVanilla
-
Field Details
-
shootType
-
aimChangeSpeed
public float aimChangeSpeedSpeed at which the turret can change its bullet "aim" distance. This is only used for point laser bullets.
-
-
Constructor Details
-
ContinuousTurret
-
-
Method Details
-
setStats
public void setStats()Description copied from class:UnlockableContent
Initializes stats on demand. Should only be called once. Only called before something is displayed.
-