Better handling of enchantments
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Inizia leggendo InventoryComponent e la gestione esistente dei comandi /item, /give e /enchantments, quindi esamina l’uso di org.bukkit.enchantments.Enchantment. Chiarisci dove devono risiedere le funzioni di lookup prima di implementare il comando /enchant proposto e la mappatura dell’input dell’utente; il lavoro è completato quando i nomi degli incantesimi intuitivi per l’utente vengono accettati e risolti in modo coerente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
CMDBOOK-2341 - Reported by Andy
Currently, you can only add enchantments with the /item and /give command if you enter the exact name from org.bukkit.enchantments.Enchantment. Those names aren't all very logical, and some doesn't correspond well to what they are generally called (Which is why the /enchantments command was added I suppose).
I would like to do something about this, and add an /enchant command in InventoryComponent based off the vanilla Minecraft-command with some improvements. In addition to the command handling there would need to be a way to transform user input to Enchantment-values/IDs.
Is this something you might be interested in? Additionally, I'm unsure as to where to send the PR in terms of the lookup-functions. I feel that it might be better to put this class in package com.sk89q.worldedit.blocks since the rest of the Item and Block-class/functions are there, where it may be used by WorldEdit/WorldGuard as well should there ever be a need to (/searchitem is a possibility).
- Lingua principale
- Java
- Stelle
- 151
- Fork
- 104
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di EngineHub/CommandBook
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
EngineHub/CommandBook#294 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
EngineHub/CommandBook#285 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
EngineHub/CommandBook#283 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
EngineHub/CommandBook#282 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
EngineHub/CommandBook#281 ·
Tutte le issue di EngineHub/CommandBook
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
infinispan/infinispan#18150 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100