translation complete but not tested

This commit is contained in:
ForestOfLight
2025-12-12 16:38:26 -08:00
Unverified
parent 50f542220d
commit dcc9704078
15 changed files with 168 additions and 89 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
"texture": "construct:easy_place" "texture": "construct:easy_place"
}, },
"minecraft:display_name": { "minecraft:display_name": {
"value": "construct.easyPlace.name" "value": "construct.easyplace.name"
}, },
"minecraft:max_stack_size": 1, "minecraft:max_stack_size": 1,
"minecraft:wearable": { "minecraft:wearable": {
+1 -1
View File
@@ -11,7 +11,7 @@
"texture": "construct:material_grabber" "texture": "construct:material_grabber"
}, },
"minecraft:display_name": { "minecraft:display_name": {
"value": "construct.materialGrabber.name" "value": "construct.materialgrabber.name"
}, },
"minecraft:wearable": { "minecraft:wearable": {
"dispensable": true, "dispensable": true,
+22 -10
View File
@@ -16,29 +16,41 @@ class BlockInfo {
static showStructureBlockInfo(player) { static showStructureBlockInfo(player) {
const block = Raycaster.getTargetedStructureBlock(player, { isFirst: true, collideWithWorldBlocks: true, useActiveLayer: true }); const block = Raycaster.getTargetedStructureBlock(player, { isFirst: true, collideWithWorldBlocks: true, useActiveLayer: true });
if (!block && this.shownToLastTick.has(player.id)) { if (!block && this.shownToLastTick.has(player.id)) {
player.onScreenDisplay.setActionBar({ text: 'Structure:\n§7None' }); player.onScreenDisplay.setActionBar({ rawtext: [
{ translate: 'construct.blockinfo.header' },
{ text: '\n' },
{ translate: 'construct.blockinfo.none' }
]});
this.shownToLastTick.delete(player.id); this.shownToLastTick.delete(player.id);
} }
if (!block) if (!block)
return; return;
player.onScreenDisplay.setActionBar({ text: this.getFormattedBlockInfo(player, block.permutation) }); player.onScreenDisplay.setActionBar(this.getFormattedBlockInfo(player, block.permutation));
this.shownToLastTick.add(player.id); this.shownToLastTick.add(player.id);
} }
static getFormattedBlockInfo(player, block) { static getFormattedBlockInfo(player, block) {
return 'Structure:' + this.getSupplyMessage(player, block) + '\n' + this.getBlockMessage(block); return { rawtext: [
{ translate: 'construct.blockinfo.header' },
this.getSupplyMessage(player, block),
{ text: '\n' },
this.getBlockMessage(block)
] };
} }
static getBlockMessage(block) { static getBlockMessage(block) {
if (!block) if (!block)
return '§7Unknown'; return { translate: 'construct.blockinfo.unknown' };
let output = `§a${block.type.id}`; const message = { rawtext: [{ text: '§a' }, { translate: block.type.id }]};
const states = block.getAllStates(); const states = block.getAllStates();
if (Object.keys(states).length > 0) if (Object.keys(states).length > 0)
output += `\n§7${this.getFormattedStates(states)}`; message.rawtext.push({ text: `\n§7${this.getFormattedStates(states)}` });
if (block.isWaterlogged) if (block.isWaterlogged)
output += `\n§7isWaterlogged: §3true`; message.rawtext.push({ rawtext: [
return output; { text: '\n§7' },
{ translate: 'construct.blockinfo.waterlogged' }
]});
return message;
} }
static getFormattedStates(states) { static getFormattedStates(states) {
@@ -49,8 +61,8 @@ class BlockInfo {
const itemStack = fetchMatchingItemSlot(player, block.getItemStack()?.typeId); const itemStack = fetchMatchingItemSlot(player, block.getItemStack()?.typeId);
const isInSurvival = player.getGameMode() === GameMode.Survival; const isInSurvival = player.getGameMode() === GameMode.Survival;
if (!itemStack && isInSurvival) if (!itemStack && isInSurvival)
return ' §c[No Supply]'; return { translate: 'construct.blockinfo.nosupply' };
return ''; return { text: '' };
} }
} }
@@ -68,14 +68,14 @@ export class InstanceFormBuilder {
form.body({ translate: 'construct.instance.materials.noinventory' }); form.body({ translate: 'construct.instance.materials.noinventory' });
return form; return form;
} }
bodyText.rawtext.push({ translate: 'construct.instance.materials.missing' }); bodyText.rawtext.push({ translate: 'construct.instance.materials.missing.header' });
if (instance.hasLayerSelected()) if (instance.hasLayerSelected())
bodyText.rawtext.push({ translate: 'construct.instance.materials.layer', with: [String(instance.getLayer())] }); bodyText.rawtext.push({ translate: 'construct.instance.materials.layer', with: [String(instance.getLayer())] });
bodyText.rawtext.push({ text: `§f\n\n` }); bodyText.rawtext.push({ text: `§f\n\n` });
bodyText.rawtext.push(materials.formatString(materials.getMaterialsDifference(inventoryContainer))); bodyText.rawtext.push(materials.formatString(materials.getMaterialsDifference(inventoryContainer)));
buttonText = "construct.instance.materials.all.button"; buttonText = "construct.instance.materials.all.button";
} else { } else {
bodyText.rawtext.push({ translate: `construct.instance.materials.all` }); bodyText.rawtext.push({ translate: `construct.instance.materials.all.header` });
if (instance.hasLayerSelected()) if (instance.hasLayerSelected())
bodyText.rawtext.push({ translate: 'construct.instance.materials.layer', with: [String(instance.getLayer())] }); bodyText.rawtext.push({ translate: 'construct.instance.materials.layer', with: [String(instance.getLayer())] });
bodyText.rawtext.push({ text: `§f\n\n` }); bodyText.rawtext.push({ text: `§f\n\n` });
@@ -17,7 +17,7 @@ export class MaterialGrabberForm {
const selectedInstanceName = structureCollection.getInstanceNames()[response.selection]; const selectedInstanceName = structureCollection.getInstanceNames()[response.selection];
if (selectedInstanceName) { if (selectedInstanceName) {
this.setActiveInstance(selectedInstanceName); this.setActiveInstance(selectedInstanceName);
this.player.sendMessage(`§7Selected instance for material grabber: §2${selectedInstanceName}`); this.player.sendMessage({ translate: 'construct.materials.grabber.menu.success' });
return; return;
} }
}); });
@@ -10,12 +10,13 @@ export class MaterialGrabberFormBuilder {
const allInstanceNameForm = new ActionFormData() const allInstanceNameForm = new ActionFormData()
.title(this.menuTitle); .title(this.menuTitle);
const currInstanceName = Builders.get(player.id).materialInstanceName; const currInstanceName = Builders.get(player.id).materialInstanceName;
let body = '§7Current instance: '; const body = { rawtext: [{ translate: 'construct.materials.grabber.menu.header' }] };
if (currInstanceName) if (currInstanceName)
body += `§2${currInstanceName}`; body.rawtext.push({ text: `§2${currInstanceName}` });
else else
body += '§7None'; body.rawtext.push({ translate: 'construct.materials.grabber.menu.noinstance' });
body += '\n§7Select an instance:'; body.rawtext.push({ text: '\n' });
body.rawtext.push({ translate: 'construct.materials.grabber.menu.selectinstance' });
allInstanceNameForm.body(body); allInstanceNameForm.body(body);
structureCollection.getInstanceNames().forEach(instanceName => { structureCollection.getInstanceNames().forEach(instanceName => {
allInstanceNameForm.button(`§2${instanceName}`); allInstanceNameForm.button(`§2${instanceName}`);
+2 -2
View File
@@ -63,11 +63,11 @@ export class MenuForm {
structureCollection.add(instanceName, structureId); structureCollection.add(instanceName, structureId);
} catch (e) { } catch (e) {
if (e.name === 'InvalidInstanceError') { if (e.name === 'InvalidInstanceError') {
this.player.sendMessage(`§cInstance '${instanceName}' already exists. Try again with a new name.`); this.player.sendMessage({ translate: 'construct.mainmenu.instance.exists', with: [instanceName] });
return void 0; return void 0;
} }
if (e.name === 'InvalidStructureError') { if (e.name === 'InvalidStructureError') {
this.player.sendMessage(`§cStructure ID '${structureId}' not found. If you're looking for a structure that you put in the structures folder, please restart your world and try again.`); this.player.sendMessage({ translate: 'construct.mainmenu.instance.notfound', with: [structureId] });
return void 0; return void 0;
} }
throw e; throw e;
+20 -18
View File
@@ -2,56 +2,58 @@ import { ActionFormData, ModalFormData } from '@minecraft/server-ui';
import { structureCollection } from './Structure/StructureCollection'; import { structureCollection } from './Structure/StructureCollection';
export class MenuFormBuilder { export class MenuFormBuilder {
static menuTitle = '§l§2Construct'; static menuTitle = { translate: 'construct.mainmenu.title' };
static buildAllInstanceName() { static buildAllInstanceName() {
const allInstanceNameForm = new ActionFormData() const allInstanceNameForm = new ActionFormData()
.title(this.menuTitle) .title(this.menuTitle)
.body('Select an instance:'); .body({ translate: 'construct.mainmenu.selectinstance' });
allInstanceNameForm.button('Builder Settings'); allInstanceNameForm.button({ translate: 'construct.mainmenu.settings' });
structureCollection.getInstanceNames().forEach(instanceName => { structureCollection.getInstanceNames().forEach(instanceName => {
allInstanceNameForm.button(`${structureCollection.get(instanceName).isEnabled() ? '§2' : '§c'}${instanceName}`); allInstanceNameForm.button(`${structureCollection.get(instanceName).isEnabled() ? '§2' : '§c'}${instanceName}`);
}); });
allInstanceNameForm.button('Create New Instance'); allInstanceNameForm.button({ translate: 'construct.mainmenu.newinstance' });
return allInstanceNameForm; return allInstanceNameForm;
} }
static buildNewInstance() { static buildNewInstance() {
return new ModalFormData() return new ModalFormData()
.title(this.menuTitle) .title(this.menuTitle)
.textField('Enter a name for the new instance:', 'example_instance') .textField({ translate: 'construct.mainmenu.newinstance.prompt' }, { translate: 'construct.mainmenu.newinstance.placeholder' })
.submitButton('Submit'); .submitButton({ translate: 'construct.menu.submit' });
} }
static buildAllStructures() { static buildAllStructures() {
const allStructuresForm = new ActionFormData() const allStructuresForm = new ActionFormData()
.title(this.menuTitle) .title(this.menuTitle)
.body('Select a structure:'); .body({ translate: construct.mainmenu.selectstructure.header });
structureCollection.getWorldStructureIds().forEach(structureId => { structureCollection.getWorldStructureIds().forEach(structureId => {
const structureName = structureId.replace('mystructure:', ''); const structureName = structureId.replace('mystructure:', '');
allStructuresForm.button(`§2${structureName}`); allStructuresForm.button(`§2${structureName}`);
}); });
allStructuresForm.button('Other'); allStructuresForm.button({ translate: 'construct.mainmenu.selectstructure.other' });
allStructuresForm.button('How to Add/Remove Structures'); allStructuresForm.button({ translate: 'construct.mainmenu.selectstructure.howto' });
return allStructuresForm; return allStructuresForm;
} }
static buildOtherStructure() { static buildOtherStructure() {
return new ModalFormData() return new ModalFormData()
.title(this.menuTitle) .title(this.menuTitle)
.textField('Enter the Structure ID:', 'example_structure') .textField({ translate: 'construct.mainmenu.selectstructure.other.prompt' }, { translate: 'construct.mainmenu.selectstructure.other.placeholder' })
.submitButton('Submit'); .submitButton({ translate: 'construct.menu.submit' });
} }
static buildHowTo() { static buildHowTo() {
let body = "§aHow to Add Structures:\n" const message = { rawtext: [
body += "§7- Save a structure using a §fstructure block§7 or the §f/structure§7 command.\n" { translate: 'construct.mainmenu.selectstructure.howto.add.header' }, { text: '\n' },
body += "§7§lOR§r\n" { translate: 'construct.mainmenu.selectstructure.howto.add.structureblock' }, { text: '\n' },
body += "§7- Add a §f.mcstructure§7 file to this pack's §fstructures folder§7. When selecting your structure, select the §fOther§7 option and then use the filename (without '.mcstructure') as the §fStructure ID§7. After its first use, it will be added to the list of structures."; { translate: 'construct.mainmenu.selectstructure.howto.add.or' }, { text: '\n' },
body += "\n\n§cHow to Remove Structures:\n" { translate: 'construct.mainmenu.selectstructure.howto.add.mcstructure' }, { text: '\n' },
body += "§7- Use the §f/structure delete§7 command to remove a structure from the world.\n" { text: '\n' }, { translate: 'construct.mainmenu.selectstructure.howto.remove.header' }, { text: '\n' },
{ translate: 'construct.mainmenu.selectstructure.howto.remove.body' }, { text: '\n' },
] };
return new ActionFormData() return new ActionFormData()
.title(this.menuTitle) .title(this.menuTitle)
.body(body); .body(message);
} }
} }
@@ -43,18 +43,22 @@ export class StructureStatistics {
} }
getMessage() { getMessage() {
let message = ''; const message = { rawtext: [] };
message += `§fStatistics for §a${this.instance.getName()}§f:`; message.rawtext.push({ translate: 'construct.structure.statistics.header', with: [this.instance.getName()] });
if (this.instance.hasLayerSelected()) if (this.instance.hasLayerSelected())
message += ` §7(layer ${this.instance.getLayer()})`; message.rawtext.push({ translate: 'construct.instance.materials.layer', with: [String(instance.getLayer())] });
message += `\n§7Blocks: §2${this.getNonAirBlocks()}\n`; message.rawtext.push({ rawtext: [
{ text: '\n' },
{ translate: 'construct.structure.statistics.blocks', with: [String(this.getNonAirBlocks())] },
{ text: '\n' }
]});
const skipped = this.getSkipped(); const skipped = this.getSkipped();
if (skipped > 0) if (skipped > 0)
message += `§c[!] This analysis skipped ${skipped} blocks.\n`; message.rawtext.push({ rawtext: [{ translate: 'construct.structure.statistics.skipped', with: [String(skipped)] }, { text: '\n' }] });
message += `§7Correct: §a${this.formatStat(this.getStat(BlockVerificationLevel.Match))}\n`; message.rawtext.push({ rawtext: [{ translate: 'construct.structure.statistics.correct', with: [this.formatStat(this.getStat(BlockVerificationLevel.Match))] }, { text: '\n' }] });
message += `§7Block State Incorrect: §e${this.formatStat(this.getStat(BlockVerificationLevel.TypeMatch))}\n`; message.rawtext.push({ rawtext: [{ translate: 'construct.structure.statistics.stateincorrect', with: [this.formatStat(this.getStat(BlockVerificationLevel.TypeMatch))] }, { text: '\n' }] });
message += `§7Incorrect: §c${this.formatStat(this.getStat(BlockVerificationLevel.NoMatch))}\n`; message.rawtext.push({ rawtext: [{ translate: 'construct.structure.statistics.incorrect', with: [this.formatStat(this.getStat(BlockVerificationLevel.NoMatch))] }, { text: '\n' }] });
message += `§7Missing: §3${this.formatStat(this.getStat(BlockVerificationLevel.Missing))}\n`; message.rawtext.push({ rawtext: [{ translate: 'construct.structure.statistics.missing', with: [this.formatStat(this.getStat(BlockVerificationLevel.Missing))] }, { text: '\n' }] });
return message; return message;
} }
+5 -5
View File
@@ -9,7 +9,7 @@ export const MENU_ITEM = 'construct:menu';
const menuCmd = new Command({ const menuCmd = new Command({
name: 'construct', name: 'construct',
description: { text: 'Opens the Construct menu.' }, description: { translate: 'construct.commands.construct' },
usage: 'construct', usage: 'construct',
callback: (sender) => openMenu(sender) callback: (sender) => openMenu(sender)
}); });
@@ -18,7 +18,7 @@ extension.addCommand(menuCmd);
system.beforeEvents.startup.subscribe((event) => { system.beforeEvents.startup.subscribe((event) => {
const command = { const command = {
name: 'construct:item', name: 'construct:item',
description: 'Gives you the Construct item. Use it to open the Construct menu.', description: 'construct.commands.item',
permissionLevel: CommandPermissionLevel.Any, permissionLevel: CommandPermissionLevel.Any,
cheatsRequired: false cheatsRequired: false
}; };
@@ -28,13 +28,13 @@ system.beforeEvents.startup.subscribe((event) => {
function givePlayerConstructItem(origin) { function givePlayerConstructItem(origin) {
const player = origin.sourceEntity; const player = origin.sourceEntity;
if (player instanceof Player === false) if (player instanceof Player === false)
return { status: CustomCommandStatus.Failure, message: 'This command can only be used by players.' }; return { status: CustomCommandStatus.Failure, message: 'construct.commands.item.denyorigin' };
system.run(() => { system.run(() => {
const givenItemStack = player.getComponent(EntityComponentTypes.Inventory)?.container?.addItem(new ItemStack(MENU_ITEM)); const givenItemStack = player.getComponent(EntityComponentTypes.Inventory)?.container?.addItem(new ItemStack(MENU_ITEM));
if (givenItemStack) if (givenItemStack)
player.sendMessage('§cFailed to give you the Construct item.'); player.sendMessage({ translate: 'construct.commands.item.fail' });
else else
player.sendMessage('§aYou recieved the Construct item! Use it to open the Construct menu.'); player.sendMessage({ translate: 'construct.commands.item.success' });
}); });
return { status: CustomCommandStatus.Success }; return { status: CustomCommandStatus.Success };
} }
+5 -6
View File
@@ -1,16 +1,15 @@
import { BuilderOption } from '../classes/Builder/BuilderOption'; import { BuilderOption } from '../classes/Builder/BuilderOption';
import { BlockPermutation, EntityComponentTypes, EquipmentSlot, GameMode, ItemStack, system, world } from '@minecraft/server'; import { BlockPermutation, EntityComponentTypes, EquipmentSlot, GameMode, ItemStack, system, world } from '@minecraft/server';
import { structureCollection } from '../classes/Structure/StructureCollection'; import { structureCollection } from '../classes/Structure/StructureCollection';
import { bannedBlocks, bannedToValidBlockMap, whitelistedBlockStates, resetToBlockStates, bannedDimensionBlocks, import { bannedBlocks, bannedToValidBlockMap, whitelistedBlockStates, resetToBlockStates, bannedDimensionBlocks, blockIdToItemStackMap } from '../data';
blockIdToItemStackMap } from '../data';
import { fetchMatchingItemSlot, placeBlock } from '../utils'; import { fetchMatchingItemSlot, placeBlock } from '../utils';
import { Builders } from '../classes/Builder/Builders'; import { Builders } from '../classes/Builder/Builders';
const builderOption = new BuilderOption({ const builderOption = new BuilderOption({
identifier: 'easyPlace', identifier: 'easyPlace',
displayName: 'Easy Place', displayName: { translate: 'construct.option.easyplace.name' },
description: 'Always place the correct structure block.', description: { translate: 'construct.option.easyplace.description' },
howToUse: "Hold the Easy Place item in your offhand and place blocks in a structure to have them be corrected automatically.", howToUse: { translate: 'construct.option.easyplace.howto' },
onEnableCallback: (playerId) => giveActionItem(playerId), onEnableCallback: (playerId) => giveActionItem(playerId),
onDisableCallback: (playerId) => removeActionItem(playerId) onDisableCallback: (playerId) => removeActionItem(playerId)
}); });
@@ -83,7 +82,7 @@ function shouldPreventAction(player, structureBlock) {
function preventAction(event, player) { function preventAction(event, player) {
event.cancel = true; event.cancel = true;
system.run(() => { system.run(() => {
player.onScreenDisplay.setActionBar('§cAction prevented by Easy Place.'); player.onScreenDisplay.setActionBar({ translate: 'construct.option.easyplace.actionprevented' });
}); });
} }
+5 -5
View File
@@ -8,15 +8,15 @@ import { Builders } from '../classes/Builder/Builders';
import { Vector } from '../lib/Vector'; import { Vector } from '../lib/Vector';
const locationsPlacedLastTick = new Set(); const locationsPlacedLastTick = new Set();
const PLAYER_COLLISION_BOX = { width: 0.6, height: 1.8 };
const ACTION_ITEM = 'construct:easy_place'; const ACTION_ITEM = 'construct:easy_place';
const PLAYER_COLLISION_BOX = { width: 0.6, height: 1.8 };
const runnerByPlayer = {}; const runnerByPlayer = {};
const builderOption = new BuilderOption({ const builderOption = new BuilderOption({
identifier: 'fastEasyPlace', identifier: 'fastEasyPlace',
displayName: 'Fast Easy Place', displayName: { translate: 'construct.option.fasteasyplace.name' },
description: 'Place correct structure blocks just by clicking on them.', description: { translate: 'construct.option.fasteasyplace.description' },
howToUse: "Hold the Easy Place item in your main hand and use it on missing blocks in a structure to place them.", howToUse: { translate: 'construct.option.fasteasyplace.howto' },
onEnableCallback: (playerId) => giveActionItem(playerId), onEnableCallback: (playerId) => giveActionItem(playerId),
onDisableCallback: (playerId) => removeActionItem(playerId) onDisableCallback: (playerId) => removeActionItem(playerId)
}); });
@@ -99,7 +99,7 @@ function processEasyPlace(player) {
function preventAction(event, player) { function preventAction(event, player) {
event.cancel = true; event.cancel = true;
system.run(() => { system.run(() => {
player.onScreenDisplay.setActionBar('§cAction prevented by Easy Place.'); player.onScreenDisplay.setActionBar({ translate: 'construct.option.easyplace.actionprevented' });
}); });
} }
+9 -10
View File
@@ -6,9 +6,9 @@ import { structureCollection } from '../classes/Structure/StructureCollection';
const builderOption = new BuilderOption({ const builderOption = new BuilderOption({
identifier: 'materialGrabber', identifier: 'materialGrabber',
displayName: 'Material Grabber', displayName: { translate: 'construct.option.materialgrabber.name' },
description: 'Pulls structure items from inventories.', description: { translate: 'construct.option.materialgrabber.description' },
howToUse: "Interact with inventories using the Material Grabber item to pull structure items from them.", howToUse: { translate: 'construct.option.materialgrabber.howto' },
onEnableCallback: (playerId) => giveActionItem(playerId), onEnableCallback: (playerId) => giveActionItem(playerId),
onDisableCallback: (playerId) => removeActionItem(playerId) onDisableCallback: (playerId) => removeActionItem(playerId)
}); });
@@ -113,13 +113,12 @@ function ignoreAlreadyGathered(materials, playerContainer) {
} }
function sendTransferMessage(player, transferCount) { function sendTransferMessage(player, transferCount) {
if (transferCount === 0) { if (transferCount === 0)
player.onScreenDisplay.setActionBar('§7Grabbed 0 items.'); player.onScreenDisplay.setActionBar({ translate: 'construct.option.materialgrabber.grabbed.zero' });
} else if (transferCount === 1) { else if (transferCount === 1)
player.onScreenDisplay.setActionBar('§aGrabbed 1 item.'); player.onScreenDisplay.setActionBar({ translate: 'construct.option.materialgrabber.grabbed.one' });
} else { else
player.onScreenDisplay.setActionBar(`§aGrabbed ${transferCount} item(s).`); player.onScreenDisplay.setActionBar({ translate: 'construct.option.materialgrabber.grabbed.many', with: [String(transferCount)] });
}
} }
function tryTransferToPlayer(slot, playerContainer, materials) { function tryTransferToPlayer(slot, playerContainer, materials) {
+1 -1
View File
@@ -8,7 +8,7 @@ export async function forceShow(player, form, timeout = Infinity) {
while ((system.currentTick - startTick) < timeout) { while ((system.currentTick - startTick) < timeout) {
const response = await form.show(player); const response = await form.show(player);
if (startTick + 1 === system.currentTick && response.cancelationReason === FormCancelationReason.UserBusy) if (startTick + 1 === system.currentTick && response.cancelationReason === FormCancelationReason.UserBusy)
player.sendMessage({ translate: 'construct.menu.open.closeChat' }); player.sendMessage({ translate: 'construct.menu.open.closechat' });
if (response.cancelationReason !== FormCancelationReason.UserBusy) if (response.cancelationReason !== FormCancelationReason.UserBusy)
return response; return response;
} }
+75 -13
View File
@@ -1,12 +1,10 @@
## Items ## Items
construct.menu.name=Construct construct.menu.name=Construct
construct.easyPlace.name=Easy Place construct.easyplace.name=Easy Place
construct.materialGrabber.name=Material Grabber construct.materialgrabber.name=Material Grabber
construct.option.enabled=is now enabled! ## Menus
construct.option.disabled=is now disabled. construct.menu.open.closechat=§8Close your chat window to access the menu.
construct.menu.open.closeChat=§8Close your chat window to access the menu.
construct.menu.open.timeout=§8Menu timed out. construct.menu.open.timeout=§8Menu timed out.
construct.menu.submit=§2Apply construct.menu.submit=§2Apply
construct.menu.instance.button.unknown=Unknown construct.menu.instance.button.unknown=Unknown
@@ -26,21 +24,85 @@ construct.menu.instance.unknownOption=§cUnknown option: %s
construct.menu.instance.nameEmpty=§cInstance name cannot be empty. construct.menu.instance.nameEmpty=§cInstance name cannot be empty.
construct.instance.flexibleMove.alreadyMoving=§cThis instance is already being moved. construct.instance.flexibleMove.alreadyMoving=§cThis instance is already being moved.
construct.instance.flexibleMove.start=§aNow moving "%s". Use the Construct item when finished. construct.instance.flexibleMove.start=§aNow moving "%s". Use the Construct item when finished. ## Insert string: instance name
construct.instance.flexibleMove.finish=§aMoved "%1" to %2. construct.instance.flexibleMove.finish=§aMoved "%1" to %2. ## Insert strings: instance name, coordinates
construct.instance.rename.error=§cError renaming instance: %s construct.instance.rename.error=§cError renaming instance: %s
construct.instance.validation.alreadyRunning=§cA verification is already in progress. Please wait until it finishes. construct.instance.validation.alreadyRunning=§cA verification is already in progress. Please wait until it finishes.
construct.instance.validation.formfail=§cFailed to build statistics form. construct.instance.validation.formfail=§cFailed to build statistics form.
construct.instance.menu.body=Instance: §a%1\n§fStructure: §2%2 ## Shows the name of the instance and structure. construct.instance.menu.body=Instance: §a%1\n§fStructure: §2%2 ## Insert strings: instance name, structure name
construct.instance.menu.location=§7(%1 %2 %3 in %4) ## Shows the location of the instance. construct.instance.menu.location=§7(%1 %2 %3 in %4) ## Is added to the body when the instance has is placed. Insert strings: x, y, z coordinates, dimension
construct.isntance.menu.rename=Enter a new name for the instance: construct.isntance.menu.rename=Enter a new name for the instance:
construct.instance.option.validation=Block Validation construct.instance.option.validation=Block Validation
construct.instance.option.validation.description=Shows missing and incorrect block overlay. construct.instance.option.validation.description=Shows missing and incorrect block overlay.
construct.instance.option.layer=Layer construct.instance.option.layer=Layer
construct.instance.option.layer.description=Changes the active layer. Use 0 for all layers. construct.instance.option.layer.description=Changes the active layer. Use 0 for all layers.
construct.instance.materials.noinventory=§cNo player inventory found. construct.instance.materials.noinventory=§cNo player inventory found.
construct.instance.materials.missing=`§cMaterials Missing From Inventory: construct.instance.materials.missing.header=`§cMaterials Missing From Inventory:
construct.instance.materials.missing.button=Show Missing Materials construct.instance.materials.missing.button=Show Missing Materials
construct.instance.materials.layer= §7(layer %s) ## Is added to the header when the instance is in layer mode. construct.instance.materials.layer= §7(layer %s) ## Is added to the header when the instance is in layer mode. Insert string: layer number
construct.instance.materials.all=§aAll Materials: construct.instance.materials.all.header=§aAll Materials:
construct.instance.materials.all.button=Show All Materials construct.instance.materials.all.button=Show All Materials
construct.materials.grabber.menu.success=§7Selected instance for material grabber: §2%s
construct.materials.grabber.menu.header=§7Current instance:
construct.materials.grabber.menu.noinstance=§7None
construct.materials.grabber.menu.selectinstance=§7Select an instance:
construct.structure.statistics.header=§fStatistics for §a%s§f: ## Insert string: instance name
construct.structure.statistics.blocks=§7Blocks: §2%s ## Insert string: number of non-air blocks in the structure
construct.structure.statistics.skipped=§c[!] This analysis skipped %s blocks. ## Insert string: number of blocks the analysis skipped
construct.structure.statistics.correct=§7Correct: §a%s ## Insert string: number of correctly placed blocks
construct.structure.statistics.stateincorrect=§7Block State Incorrect: §e%s ## Insert string: number of incorrectly stated blocks
construct.structure.statistics.incorrect=§7Incorrect: §c%s ## Insert string: number of incorrectly placed blocks
construct.structure.statistics.missing=§7Missing: §3%s ## Insert string: number of missing blocks
## Structure Block Info Display
construct.blockinfo.header=Structure:
construct.blockinfo.none=§7None
construct.blockinfo.nosupply= §c[No Supply] ## When the targeted block is not in the player's inventory
construct.blockinfo.unknown=§7Unknown
construct.blockinfo.waterlogged=§7isWaterlogged: §3true
construct.mainmenu.instance.exists=§cInstance '%s' already exists. Try again with a new name. ## Insert string: instance name
construct.mainmenu.instance.notfound=§cStructure ID '%s' not found. If you're looking for a structure that you put in the structures folder, please restart your world and try again. ## Insert string: structure name
construct.mainmenu.title=§l§2Construct ## This is the name of the pack.
construct.mainmenu.selectinstance=Select an instance:
construct.mainmenu.settings=Builder Settings
construct.mainmenu.newinstance=Create New Instance
construct.mainmenu.newinstance.prompt=Enter a name for the new instance:
construct.mainmenu.newinstance.placeholder=example_instance ## The placeholder text in the textbox where the user enters the instance name.
construct.mainmenu.selectstructure.header=Select a structure:
construct.mainmenu.selectstructure.other=Other
construct.mainmenu.selectstructure.howto=How to Add/Remove Structures
construct.mainmenu.selectstructure.other.prompt=Enter the Structure ID:
construct.mainmenu.selectstructure.other.placeholder=example_structure ## The placeholder text in the textbox where the user enters the structure name.
construct.mainmenu.selectstructure.howto.add.header=§aHow to Add Structures:
construct.mainmenu.selectstructure.howto.add.structureblock=§7- Save a structure using a §fstructure block§7 or the §f/structure§7 command.
construct.mainmenu.selectstructure.howto.add.or=§7§lOR§r
construct.mainmenu.selectstructure.howto.add.mcstructure=§7- Add a §f.mcstructure§7 file to this pack's §fstructures folder§7. When selecting your structure, select the §fOther§7 option and then use the filename (without '.mcstructure') as the §fStructure ID§7. After its first use, it will be added to the list of structures.
construct.mainmenu.selectstructure.howto.remove.header=§cHow to Remove Structures:
construct.mainmenu.selectstructure.howto.remove.body=§7- Use the §f/structure delete§7 command to remove a structure from the world.
## Commands
construct.commands.construct=Opens the Construct menu.
construct.commands.item=Gives you the Construct item. Use it to open the Construct menu.
construct.commands.item.denyorigin=This command can only be used by players.
construct.commands.item.fail=§cFailed to give you the Construct item.
construct.commands.item.success=§aYou recieved the Construct item! Use it to open the Construct menu.
## Options
construct.option.enabled=is now enabled!
construct.option.disabled=is now disabled.
construct.option.easyplace.name=Easy Place
construct.option.easyplace.description=Always place the correct structure block.
construct.option.easyplace.howto=Hold the Easy Place item in your offhand and place blocks in an instance to have them be corrected automatically.
construct.option.easyplace.actionprevented=§cAction prevented by Easy Place.
construct.option.fasteasyplace.name=Fast Easy Place
construct.option.fasteasyplace.description=Place correct structure blocks just by clicking on them.
construct.option.fasteasyplace.howto=Hold the Easy Place item in your main hand and use it on missing blocks in a structure to place them.
construct.option.materialgrabber.name=Material Grabber
construct.option.materialgrabber.description=Pulls structure items from inventories.
construct.option.materialgrabber.howto=Interact with inventories using the Material Grabber item to pull structure items from them.
construct.option.materialgrabber.grabbed.zero=§7Grabbed 0 items.
construct.option.materialgrabber.grabbed.one=§aGrabbed 1 item.
construct.option.materialgrabber.grabbed.many=§aGrabbed %s items. ## Insert string: number of items transferred to the player