mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-30 09:42:44 +00:00
Add dimension schemas
This commit is contained in:
@@ -6,6 +6,8 @@ import {
|
||||
ConditionSchema,
|
||||
LootTableSchema,
|
||||
AdvancementSchema,
|
||||
DimensionSchema,
|
||||
DimensionTypeSchema,
|
||||
LOCALES,
|
||||
locale
|
||||
} from 'minecraft-schemas'
|
||||
@@ -60,6 +62,8 @@ Promise.all([
|
||||
'loot-table': new DataModel(LootTableSchema),
|
||||
'predicate': new DataModel(ConditionSchema),
|
||||
'advancement': new DataModel(AdvancementSchema),
|
||||
'dimension': new DataModel(DimensionSchema),
|
||||
'dimension-type': new DataModel(DimensionTypeSchema),
|
||||
'sandbox': new DataModel(SandboxSchema)
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,14 @@
|
||||
"title.loot-table": "Loot Table Generator",
|
||||
"title.predicate": "Predicate Generator",
|
||||
"title.advancement": "Advancement Generator",
|
||||
"title.dimension": "Dimension Generator",
|
||||
"title.dimension-type": "Dimension Type Generator",
|
||||
"title.sandbox": "Sandbox Generator",
|
||||
"loot-table": "Loot Table",
|
||||
"predicate": "Predicate",
|
||||
"advancement": "Advancement",
|
||||
"dimension": "Dimension",
|
||||
"dimension-type": "Dimension Type",
|
||||
"sandbox": "Sandbox",
|
||||
"language": "Language",
|
||||
"copy": "Copy",
|
||||
|
||||
@@ -82,6 +82,10 @@ body {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.nav-selector-menu .btn {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
height: calc(100vh - 56px);
|
||||
@@ -91,6 +95,7 @@ body {
|
||||
.tree {
|
||||
padding: 1rem;
|
||||
overflow-y: auto;
|
||||
padding-bottom: 50vh;
|
||||
}
|
||||
|
||||
.source textarea {
|
||||
|
||||
@@ -223,8 +223,8 @@ body[data-style=dark] .node-header > button {
|
||||
}
|
||||
|
||||
body[data-style=dark] button.selected {
|
||||
background-color: #726d28;
|
||||
border-color: #867e0e
|
||||
background-color: #9e9843;
|
||||
border-color: #a59c18
|
||||
}
|
||||
|
||||
body[data-style=dark] .node-header > label.collapse.closed,
|
||||
|
||||
Reference in New Issue
Block a user