Schematic Block
Place a schematic as a block
フィールド
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
schematic | String | — | Schematic filename in the Typewriter data folder/schematics/ (include .schem extension) |
spawnItem | Var<Item> | — | Item used to place the schematic (The 'Storage Block') |
singleUse | Var<Boolean> | false | If true, the schematic cannot be retrieved (Single Use) |
ignoreAir | Var<Boolean> | true | Will air blocks be ignored? |
position | Ref<SchematicStateArtifactEntry> | — | Position artifact to save placed instances AND their state |
placerType | Var<PlacerType> | LINEAR | Order in which blocks are placed: LINEAR, HELICAL, RANDOM値:LINEARHELICALRANDOM |
viewDistance | Var<Int> | 64 | Maximum distance (blocks) at which players will see the schematic (0 = unlimited) |
fadeDistance | Var<Int> | 0 | Fade start distance (blocks). Blocks within this distance are fully opaque. Between fadeDistance and viewDistance they fade out. 0 = no fade |
breakable | Var<Boolean> | false | Allow players to break blocks in this schematic (clientside only) |
dropLoot | Var<Boolean> | false | Drop loot clientside when blocks are broken |
whitelist | List<Item> | empty | Only blocks matching these items can be broken (empty = all) |
blacklist | List<Item> | empty | Blocks matching these items cannot be broken |
hideOnSneak | Var<Boolean> | false | If true, the schematic hides when player sneaks |
appearanceDelay | Var<Int> | 0 | Delay in ticks before the schematic becomes visible after placement (0 = instant) |
ownerOnlyRetrieval | Var<Boolean> | false | If true, only the owner can retrieve the schematic |
TypeWriter 共通フィールド(criteria, modifiers, triggers)
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |