Class OreBlock
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.OreBlock
- All Implemented Interfaces:
Comparable<Content>,Senseable
An overlay ore for a specific item type.
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.world.blocks.environment.Floor
Floor.UpdateRenderStateNested classes/interfaces inherited from class mindustry.ctype.Content
Content.ModContentInfo -
Field Summary
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, wallOreFields 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, rotateDrawEditor, 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, visualRotationOffsetFields inherited from class mindustry.ctype.UnlockableContent
allDatabaseTabs, alwaysUnlocked, databaseTabs, description, details, fullIcon, fullOverride, generateIcons, hideDatabase, hideDetails, inlineDescription, localizedName, selectionSize, shownPlanets, stats, techNode, techNodes, uiIcon, unlockedFields inherited from class mindustry.ctype.MappableContent
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateIcons(MultiPacker packer) Generate any special icons for this content.getDisplayName(Tile tile) voidinit()Called after all blocks are created.voidMethods inherited from class mindustry.world.blocks.environment.OverlayFloor
canPlaceOn, drawBaseMethods inherited from class mindustry.world.blocks.environment.Floor
checkAutotileSame, damages, doEdge, drawBlended, drawEdges, drawMain, drawNonLayer, drawOverlay, edge, edges, floorChanged, getDisplayIcon, hasSurface, icons, isDeep, load, realBlendId, renderUpdate, shouldIndex, updateRender, variant, variantMethods inherited from class mindustry.world.Block
addBar, addLiquidBar, addLiquidBar, asFloor, beforePlaceBegan, blockChanged, bounds, buildEditorConfig, 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, drawPlanRegion, drawPotentialLinks, drawShadow, drawSideRegion, editorPicked, environmentBuildable, findConsumer, flipRotation, getConfig, 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, onPicked, outputsItems, percentSolid, placeBegan, placeBegan, placeEnded, planRotation, pointConfig, postInit, removeBar, removeConsumer, removeConsumers, requirements, requirements, requirements, researchRequirements, resetGeneratedIcons, rotatedOutput, rotatedOutput, sense, sense, senseObject, setBars, setStats, setupRequirements, setupRequirements, sumAttribute, supportsEnv, synthetic, updateClipRadius, variantRegionsMethods 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, unlockedNowHostMethods inherited from class mindustry.ctype.MappableContent
toStringMethods inherited from class mindustry.ctype.Content
compareTo, hasErrored, isModded, isVanilla
-
Constructor Details
-
OreBlock
-
OreBlock
-
OreBlock
For mod use only!
-
-
Method Details
-
setup
-
createIcons
Description copied from class:UnlockableContentGenerate any special icons for this content. Called synchronously. No regions are loaded at this point; grab pixmaps from the packer.- Overrides:
createIconsin classFloor
-
init
public void init()Description copied from class:BlockCalled after all blocks are created. -
getDisplayName
- Overrides:
getDisplayNamein classFloor
-