Aller au contenu principal

schematic_block

Place a schematic as a block — misc entry.

Entry Information

PropertyValue
Entry IDschematic_block
TypeMisc
ColorOrange
Iconfa6-solid:cube

Fields

FieldTypeDescription
schematicStringSchematic filename in plugins/Typewriter/schematics/ (include .schem extension)
spawnItemVar<Item>Item used to place the schematic (The 'Storage Block')
singleUseVar<Boolean>If true, the schematic cannot be retrieved (Single Use)
ignoreAirVar<Boolean>Will air blocks be ignored?
positionRef<SchematicStateArtifactEntry>Position artifact to save placed instances AND their state
placerTypeVar<PlacerType>Order in which blocks are placed: LINEAR, HELICAL, RANDOM
viewDistanceVar<Int>Maximum distance (blocks) at which players will see the schematic (0 = unlimited)
fadeDistanceVar<Int>Fade start distance (blocks). Blocks within this distance are fully opaque. Between fadeDistance and viewDistance they fade out. 0 = no fade
breakableVar<Boolean>Allow players to break blocks in this schematic (clientside only)
dropLootVar<Boolean>Drop loot clientside when blocks are broken
whitelistList<Item>Only blocks matching these items can be broken (empty = all)
blacklistList<Item>Blocks matching these items cannot be broken
hideOnSneakVar<Boolean>If true, the schematic hides when player sneaks
appearanceDelayVar<Int>Delay in ticks before the schematic becomes visible after placement (0 = instant)
ownerOnlyRetrievalVar<Boolean>If true, only the owner can retrieve the schematic

Usage Example

- entry: schematic_block
name: "Place a schematic as a block"
schematic: ""
spawnItem: ""
singleUse: false
ignoreAir: false
position: ""
placerType: ""
viewDistance: 0
fadeDistance: 0
breakable: false
dropLoot: false
whitelist: []
blacklist: []
hideOnSneak: false
appearanceDelay: 0
ownerOnlyRetrieval: false