Package mindustry.world.blocks.liquid
Class Conduit
java.lang.Object
mindustry.ctype.Content
mindustry.ctype.MappableContent
mindustry.ctype.UnlockableContent
mindustry.world.Block
mindustry.world.blocks.liquid.LiquidBlock
mindustry.world.blocks.liquid.Conduit
- All Implemented Interfaces:
Comparable<Content>
,Senseable
,Autotiler
- Direct Known Subclasses:
ArmoredConduit
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.world.blocks.liquid.LiquidBlock
LiquidBlock.LiquidBuild
Nested classes/interfaces inherited from class mindustry.ctype.Content
Content.ModContentInfo
Nested classes/interfaces inherited from interface mindustry.world.blocks.Autotiler
Autotiler.AutotilerHolder, Autotiler.SliceMode
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
If true, the liquid region is padded at corners, so it doesn't stick out.TextureRegion[][][]
indices: [rotation] [fluid type] [frame]final int
Fields inherited from class mindustry.world.blocks.liquid.LiquidBlock
bottomRegion, liquidRegion, topRegion
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
Modifier and TypeMethodDescriptionboolean
void
drawPlanRegion
(BuildPlan plan, Eachable<BuildPlan> list) getReplacement
(BuildPlan req, Seq<BuildPlan> plans) void
handlePlacementLine
(Seq<BuildPlan> plans) Mutates the given list of plans used during line placement.icons()
void
init()
Called after all blocks are created.void
load()
Called after all content is created, only on non-headless versions.Methods inherited from class mindustry.world.blocks.liquid.LiquidBlock
drawTiledFrames, drawTiledFrames
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, drawPlace, drawPlaceText, drawPlan, drawPlan, drawPlanConfig, drawPlanConfigCenter, drawPlanConfigCenter, drawPlanConfigTop, drawPotentialLinks, drawShadow, editorIcon, editorVariantRegions, environmentBuildable, findConsumer, flipRotation, getContentType, getDependencies, getDisplayIcon, getDisplayName, getEdges, getGeneratedIcons, getInsideEdges, getPlanRegion, getRegionsToOutline, hasBuilding, hasConsumer, initBuilding, isAccessible, isAir, isFloor, isHidden, isMultiblock, isOverlay, isPlaceable, isStatic, isVisible, isVisibleOn, iterateTaken, listBars, logicVisible, makeIconRegions, minimapColor, nearbySide, newBuilding, nextConfig, onNewPlan, outputsItems, percentSolid, placeBegan, placeBegan, planRotation, pointConfig, removeBar, removeConsumer, requirements, requirements, requirements, researchRequirements, resetGeneratedIcons, rotatedOutput, sense, sense, senseObject, setBars, setStats, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface mindustry.world.blocks.Autotiler
blends, blends, blendsArmored, botHalf, buildBlending, facing, getTiling, lookingAt, lookingAtEither, notLookingAt, sliced, topHalf, transformCase
-
Field Details
-
timerFlow
public final int timerFlow -
botColor
-
topRegions
-
botRegions
-
capRegion
-
rotateRegions
indices: [rotation] [fluid type] [frame] -
padCorners
public boolean padCornersIf true, the liquid region is padded at corners, so it doesn't stick out. -
leaks
public boolean leaks -
junctionReplacement
-
bridgeReplacement
-
rotBridgeReplacement
-
-
Constructor Details
-
Conduit
-
-
Method Details
-
init
public void init()Description copied from class:Block
Called after all blocks are created. -
load
public void load()Description copied from class:Content
Called after all content is created, only on non-headless versions. Use for loading regions or other image data. -
drawPlanRegion
- Overrides:
drawPlanRegion
in classBlock
-
getReplacement
- Overrides:
getReplacement
in classBlock
- Returns:
- a possible replacement for this block when placed in a line by the player.
-
blends
-
handlePlacementLine
Description copied from class:Block
Mutates the given list of plans used during line placement.- Overrides:
handlePlacementLine
in classBlock
-
icons
- Overrides:
icons
in classLiquidBlock
-