Init
This commit is contained in:
126
content/reference/buildertools/_index.fr.md
Normal file
126
content/reference/buildertools/_index.fr.md
Normal file
@@ -0,0 +1,126 @@
|
||||
---
|
||||
title: Outils de Construction
|
||||
type: docs
|
||||
weight: 3
|
||||
---
|
||||
|
||||
Le systeme d'outils de construction fournit des capacites d'edition de monde pour le mode creatif, incluant operations de selection, brosses scriptees et edition de prefabs.
|
||||
|
||||
**Package:** `com.hypixel.hytale.builtin.buildertools`
|
||||
|
||||
## Architecture
|
||||
|
||||
```
|
||||
BuilderToolsPlugin
|
||||
├── Commandes (37+)
|
||||
│ ├── Selection: /pos1, /pos2, /deselect, /expand, /contract, /shift
|
||||
│ ├── Presse-papiers: /copy, /cut, /paste, /rotate, /flip
|
||||
│ ├── Modification: /set, /fill, /replace, /walls, /hollow
|
||||
│ ├── Historique: /undo, /redo, /clearhistory
|
||||
│ └── Utilitaires: /stack, /move, /tint, /submerge
|
||||
├── Brosses Scriptees
|
||||
│ ├── ScriptedBrushAsset - Definitions de brosses
|
||||
│ ├── BrushOperation - Classes de base operations
|
||||
│ └── BrushConfigCommand - Configuration brosses
|
||||
├── Editeur Prefab
|
||||
│ ├── PrefabEditSession - Session d'edition
|
||||
│ ├── PrefabAnchor - Points d'ancrage
|
||||
│ └── PrefabCommand - Commandes prefab
|
||||
├── Snapshots
|
||||
│ ├── SelectionSnapshot - Historique selection
|
||||
│ ├── ClipboardContentsSnapshot - Donnees presse-papiers
|
||||
│ └── EntityTransformSnapshot - Changements entites
|
||||
├── Operations Outil
|
||||
│ ├── PaintOperation - Peindre blocs
|
||||
│ └── ToolOperation - Operations de base
|
||||
└── Systemes
|
||||
├── BuilderToolsSystems - Traitement principal
|
||||
└── BuilderToolsUserDataSystem - Donnees par utilisateur
|
||||
```
|
||||
|
||||
## Apercu des Commandes
|
||||
|
||||
### Commandes de Selection
|
||||
|
||||
| Commande | Description |
|
||||
|----------|-------------|
|
||||
| `/pos1` | Definir point de selection 1 |
|
||||
| `/pos2` | Definir point de selection 2 |
|
||||
| `/deselect` | Effacer selection |
|
||||
| `/expand <montant> [direction]` | Etendre selection |
|
||||
| `/contract <montant> [direction]` | Contracter selection |
|
||||
| `/shift <montant> [direction]` | Deplacer selection |
|
||||
| `/selectchunk` | Selectionner chunk entier |
|
||||
| `/selectchunksection` | Selectionner section chunk |
|
||||
|
||||
### Commandes Presse-papiers
|
||||
|
||||
| Commande | Description |
|
||||
|----------|-------------|
|
||||
| `/copy` | Copier selection vers presse-papiers |
|
||||
| `/cut` | Couper selection vers presse-papiers |
|
||||
| `/paste` | Coller presse-papiers |
|
||||
| `/rotate <angle>` | Pivoter presse-papiers |
|
||||
| `/flip <axe>` | Retourner presse-papiers |
|
||||
|
||||
### Commandes de Modification
|
||||
|
||||
| Commande | Description |
|
||||
|----------|-------------|
|
||||
| `/set <pattern>` | Remplir selection avec blocs |
|
||||
| `/fill <pattern>` | Remplir selection |
|
||||
| `/replace <de> <vers>` | Remplacer blocs |
|
||||
| `/walls <pattern>` | Creer murs autour selection |
|
||||
| `/hollow` | Evider selection |
|
||||
| `/stack <nombre> [direction]` | Empiler selection |
|
||||
| `/move <direction> <montant>` | Deplacer blocs |
|
||||
|
||||
### Commandes Historique
|
||||
|
||||
| Commande | Description |
|
||||
|----------|-------------|
|
||||
| `/undo [nombre]` | Annuler operations |
|
||||
| `/redo [nombre]` | Refaire operations |
|
||||
| `/clearedithistory` | Effacer historique edition |
|
||||
| `/settoolhistorysize <taille>` | Definir limite historique |
|
||||
|
||||
### Commandes Utilitaires
|
||||
|
||||
| Commande | Description |
|
||||
|----------|-------------|
|
||||
| `/tint <couleur>` | Teinter blocs |
|
||||
| `/submerge <profondeur>` | Submerger selection |
|
||||
| `/clearblocks` | Effacer blocs |
|
||||
| `/clearentities` | Effacer entites |
|
||||
| `/environment` | Definir environnement |
|
||||
| `/globalmask` | Definir masque global |
|
||||
|
||||
## Demarrage Rapide
|
||||
|
||||
```java
|
||||
// Les outils de construction sont actives en mode creatif
|
||||
// Les joueurs peuvent utiliser les commandes de selection et edition
|
||||
|
||||
// Acces programmatique aux donnees outils construction via composants ECS
|
||||
import com.hypixel.hytale.builtin.buildertools.BuilderToolsPlugin;
|
||||
import com.hypixel.hytale.builtin.buildertools.BuilderToolsUserData;
|
||||
import com.hypixel.hytale.component.CommandBuffer;
|
||||
import com.hypixel.hytale.component.Ref;
|
||||
|
||||
// Obtenir le type de composant
|
||||
BuilderToolsPlugin builderTools = BuilderToolsPlugin.get();
|
||||
ComponentType<EntityStore, BuilderToolsUserData> userDataType = builderTools.getUserDataComponentType();
|
||||
|
||||
// Accéder aux données utilisateur via command buffer
|
||||
BuilderToolsUserData userData = commandBuffer.getComponent(playerRef, userDataType);
|
||||
```
|
||||
|
||||
## Contenu de la Section
|
||||
|
||||
{{< cards >}}
|
||||
{{< card link="scripted-brushes" title="Brosses Scriptees" subtitle="Operations de brosses programmables" icon="code" >}}
|
||||
{{< card link="builder-commands" title="Commandes Construction" subtitle="Reference de toutes les commandes" icon="terminal" >}}
|
||||
{{< card link="prefab-editor" title="Editeur Prefab" subtitle="Creer et editer prefabs" icon="cube" >}}
|
||||
{{< card link="tool-operations" title="Operations Outil" subtitle="Peinture et edition blocs" icon="pencil" >}}
|
||||
{{< card link="snapshots" title="Snapshots" subtitle="Annuler/refaire et historique" icon="clock" >}}
|
||||
{{< /cards >}}
|
||||
Reference in New Issue
Block a user