Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Block Alias .yml #958

Closed
RealmportalMC opened this issue Mar 22, 2018 · 5 comments
Closed

[Enhancement] Block Alias .yml #958

RealmportalMC opened this issue Mar 22, 2018 · 5 comments

Comments

@RealmportalMC
Copy link

A YML to allow for custom names for blocks.
so i could change 1:0 to be "stone" or "rock"
"//set rock" would be equivalent to "//set stone"

@dordsor21
Copy link
Collaborator

likely useful but sort of in reverse for when 1.13 comes

@RealmportalMC
Copy link
Author

ah, you could do it both ways i guess,

@boy0001
Copy link
Owner

boy0001 commented Mar 25, 2018

Okay, so how about a patterns.yml and masks.yml. In it you can define custom patterns/masks using either a combination of existing patterns, expressions, or craftscripts.

The format will be <keyword> <pattern|craftscript>, using %s0 %s1 as arguments. e.g.
#sim #simplex[%s1][%s2] would allow using #sim instead of #simplex.
rock stone would add the alias.

And for a craftscript example:
// TODO after I work out the implementation details.

@RealmportalMC
Copy link
Author

Great idea :D. sorry about the late response. but that sounds pretty much perfect

@RealmportalMC
Copy link
Author

RealmportalMC commented Jan 10, 2019

Im also thinking of it being a list. all 4 of the names below would be valid for QUARTZ_BLOCK

you'd also need a check and maybe backup and reset the alias.yml if duplictate items are found

alias:
QUARTZ_BLOCK:

  • 155
  • quartz
  • quartzblock

THis would make it way easier to remember names of stuff --- just easier in general

Repository owner locked and limited conversation to collaborators Nov 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants