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

allow function block accept the same format as function set & block_state #1620

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

17183248569
Copy link
Contributor

@17183248569 17183248569 commented Jan 6, 2023

i copy some code from function set so that it can use the same format as set too.
the format is used in return value of block_state() too.

eg:
block('iron_trapdoor',{'half'->'top'},nbt)

that is to avoid some unnecessary changing maps into string. (then it need to turn back inside the function)

@17183248569
Copy link
Contributor Author

17183248569 commented Oct 14, 2023

emmmm.....git conflit.......😟

maybe i should do that tomorrow.....

@17183248569 17183248569 reopened this Oct 15, 2023
@17183248569
Copy link
Contributor Author

😀 I finally fix the git conflit...... now i need to check if the "set" function works as it used to be.

seems fine now
@17183248569
Copy link
Contributor Author

ok. i have fixed all the things you mentioned above.
and i have added that usage in the document.

@17183248569 17183248569 requested a review from gnembon October 16, 2023 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants