Class RuneOverlay
java.lang.Object
mindustry.ctype.Content
mindustry.ctype.MappableContent
mindustry.ctype.UnlockableContent
mindustry.world.Block
mindustry.world.blocks.environment.Floor
mindustry.world.blocks.environment.OverlayFloor
mindustry.world.blocks.environment.RuneOverlay
- All Implemented Interfaces:
Comparable<Content>
,Senseable
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.world.blocks.environment.Floor
Floor.UpdateRenderState
Nested classes/interfaces inherited from class mindustry.ctype.Content
Content.ModContentInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
arc.graphics.Color
arc.graphics.g2d.TextureRegion[]
static final int
Fields inherited from class mindustry.world.blocks.environment.Floor
allowCorePlacement, autotile, autotileMidRegions, autotileMidVariants, autotileRegions, autotileVariantRegions, autotileVariants, blended, blenders, blendGroup, blendId, canShadow, damageTaken, decoration, dirs, dragMultiplier, drawEdgeIn, drawEdgeOut, drownTime, drownUpdateEffect, edge, edgeRegion, edges, isLiquid, liquidDrop, liquidMultiplier, needsSurface, oreDefault, oreScale, oreThreshold, overlayAlpha, shallow, speedMultiplier, status, statusDuration, supportsOverlay, tilingRegions, tilingSize, tilingVariants, walkEffect, walkSound, walkSoundPitchMax, walkSoundPitchMin, walkSoundVolume, wall, wallOre
Fields inherited from class mindustry.world.Block
absorbLasers, acceptsItems, acceptsPayload, acceptsUnitPayloads, albedo, allowConfigInventory, allowDerelictRepair, allowDiagonal, allowRectanglePlacement, allowResupply, alwaysReplace, alwaysUpdateInUnits, ambientSound, ambientSoundVolume, armor, attacks, attributes, autoResetEnabled, barMap, baseExplosiveness, baseShake, breakable, breakEffect, breakPitchChange, breakSound, buildCostMultiplier, buildTime, buildType, buildVisibility, cacheLayer, canOverdrive, canPickup, category, clearOnDoubleTap, clipSize, commandable, conductivePower, configurable, configurations, connectedPower, consPower, consumeBuilder, consumers, consumesPower, consumesTap, conveyorPlacement, copyConfig, createRubble, crushDamageMultiplier, customShadow, customShadowRegion, deconstructDropAllLiquid, deconstructThreshold, destroyBullet, destroyBulletSameTeam, destroyEffect, destroyPitchMax, destroyPitchMin, destroySound, destructible, displayFlow, drawArrow, drawCracks, drawDisabled, drawLiquidLight, drawTeamOverlay, dumpTime, editorConfigurable, emitLight, enableDrawStatus, envDisabled, envEnabled, envRequired, explosivenessScale, fillsTile, flags, flammabilityScale, floating, fogRadius, forceDark, forceTeam, generatedIcons, group, hasColor, hasConsumers, hasItems, hasLiquids, hasPower, hasShadow, health, ignoreBuildDarkness, ignoreResizeConfig, inEditor, instantBuild, instantDeconstruct, instantTransfer, insulated, invertFlip, isDuct, itemCapacity, itemDrop, itemFilter, lastConfig, lightClipSize, lightColor, lightLiquid, lightRadius, liquidCapacity, liquidFilter, liquidPressure, lockRotation, logicConfigurable, 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, unitMoveBreakable, unloadable, update, updateConsumers, updateInUnits, useColor, variantRegions, variants, variantShadowRegions
Fields inherited from class mindustry.ctype.UnlockableContent
allDatabaseTabs, alwaysUnlocked, databaseTabs, description, details, fullIcon, fullOverride, generateIcons, hideDatabase, hideDetails, inlineDescription, localizedName, selectionSize, shownPlanets, stats, techNode, techNodes, uiIcon, unlocked
Fields inherited from class mindustry.ctype.MappableContent
name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildEditorConfig
(arc.scene.ui.layout.Table table) Called to set up configuration UI in the editor.static String
bytesToString
(byte[] data) Encodes rune data bytes into a string that can be displayed in the font.void
void
drawPlanRegion
(BuildPlan plan, arc.util.Eachable<BuildPlan> list) void
editorPicked
(Tile tile) Called when pick blocked in the editor.void
Called when the block is picked (middle click).void
placeEnded
(Tile tile, mindustry.gen.Unit builder, int rotation, Object config) Called when building of this block ends.static byte[]
Converts a displayable string into rune data bytes.Methods inherited from class mindustry.world.blocks.environment.OverlayFloor
canPlaceOn
Methods inherited from class mindustry.world.blocks.environment.Floor
checkAutotileSame, createIcons, damages, doEdge, drawBlended, drawEdges, drawMain, drawNonLayer, drawOverlay, edge, edges, floorChanged, getDisplayIcon, getDisplayName, hasSurface, icons, init, isDeep, load, realBlendId, renderUpdate, shouldIndex, updateRender, variant, variant
Methods inherited from class mindustry.world.Block
addBar, addLiquidBar, addLiquidBar, asFloor, beforePlaceBegan, blockChanged, bounds, canBeBuilt, canBreak, canReplace, changePlacementPath, changePlacementPath, checkForceDark, config, configClear, configSenseable, consume, consumeCoolant, consumeCoolant, consumeItem, consumeItem, consumeItems, consumeLiquid, consumeLiquids, consumePower, consumePowerBuffered, consumePowerCond, consumePowerDynamic, consumePowerDynamic, consumesItem, consumesLiquid, displayShadow, drawDefaultPlanRegion, drawEnvironmentLight, drawOverlay, drawPlace, drawPlaceText, drawPlan, drawPlan, drawPlanConfig, drawPlanConfigCenter, drawPlanConfigCenter, drawPlanConfigTop, drawPotentialLinks, drawShadow, drawSideRegion, environmentBuildable, findConsumer, flipRotation, getContentType, getDependencies, getEdges, getGeneratedIcons, getInsideEdges, getPlanConfigs, getPlanRegion, getRegionsToOutline, getReplacement, handlePlacementLine, hasBuilding, hasConsumer, initBuilding, isAccessible, isAir, isBanned, isDarkened, isFloor, isHidden, isMultiblock, isOverlay, isPlaceable, isStatic, isVisible, iterateTaken, listBars, logicVisible, makeIconRegions, minimapColor, nearbySide, newBuilding, nextConfig, onNewPlan, outputsItems, percentSolid, placeBegan, placeBegan, planRotation, pointConfig, postInit, removeBar, removeConsumer, removeConsumers, requirements, requirements, requirements, researchRequirements, resetGeneratedIcons, rotatedOutput, 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, emojiChar, getLogicId, hasEmoji, isOnPlanet, loadIcon, locked, makeOutline, makeOutline, makeOutline, onUnlock, quietUnlock, showUnlock, unlock, unlocked, unlockedHost, unlockedNow, unlockedNowHost
Methods inherited from class mindustry.ctype.MappableContent
toString
Methods inherited from class mindustry.ctype.Content
compareTo, hasErrored, isModded, isVanilla
-
Field Details
-
characters
public static final int characters- See Also:
-
unicodeOffset
public static final int unicodeOffset- See Also:
-
letterRegions
public arc.graphics.g2d.TextureRegion[] letterRegions -
color
public arc.graphics.Color color
-
-
Constructor Details
-
RuneOverlay
-
-
Method Details
-
bytesToString
Encodes rune data bytes into a string that can be displayed in the font. -
stringToBytes
Converts a displayable string into rune data bytes. Will generate garbage data if the string doesn't contain the right character set. -
drawBase
- Overrides:
drawBase
in classOverlayFloor
-
getConfig
-
drawPlanRegion
- Overrides:
drawPlanRegion
in classBlock
-
onPicked
Description copied from class:Block
Called when the block is picked (middle click). Clientside only! -
buildEditorConfig
public void buildEditorConfig(arc.scene.ui.layout.Table table) Description copied from class:Block
Called to set up configuration UI in the editor.Block.editorConfigurable
must be true. Config value should be assigned to lastConfig.- Overrides:
buildEditorConfig
in classBlock
-
placeEnded
public void placeEnded(Tile tile, @Nullable mindustry.gen.Unit builder, int rotation, @Nullable Object config) Description copied from class:Block
Called when building of this block ends.- Overrides:
placeEnded
in classBlock
-
editorPicked
Description copied from class:Block
Called when pick blocked in the editor.- Overrides:
editorPicked
in classBlock
-