跳到主要内容

Schematic Block

Place a schematic as a block

字段

字段类型默认值描述
schematicString—Schematic filename in the Typewriter data folder/schematics/ (include .schem extension)
spawnItemVar<Item>—Item used to place the schematic (The 'Storage Block')
singleUseVar<Boolean>falseIf true, the schematic cannot be retrieved (Single Use)
ignoreAirVar<Boolean>trueWill air blocks be ignored?
positionRef<SchematicStateArtifactEntry>—Position artifact to save placed instances AND their state
placerTypeVar<PlacerType>LINEAROrder in which blocks are placed: LINEAR, HELICAL, RANDOM可选值:LINEARHELICALRANDOM
viewDistanceVar<Int>64Maximum distance (blocks) at which players will see the schematic (0 = unlimited)
fadeDistanceVar<Int>0Fade start distance (blocks). Blocks within this distance are fully opaque. Between fadeDistance and viewDistance they fade out. 0 = no fade
breakableVar<Boolean>falseAllow players to break blocks in this schematic (clientside only)
dropLootVar<Boolean>falseDrop loot clientside when blocks are broken
whitelistList<Item>emptyOnly blocks matching these items can be broken (empty = all)
blacklistList<Item>emptyBlocks matching these items cannot be broken
hideOnSneakVar<Boolean>falseIf true, the schematic hides when player sneaks
appearanceDelayVar<Int>0Delay in ticks before the schematic becomes visible after placement (0 = instant)
ownerOnlyRetrievalVar<Boolean>falseIf true, only the owner can retrieve the schematic
TypeWriter 通用字段(criteria, modifiers, triggers)
字段类型默认值描述
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—