We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am having difficulty with syntax for MCA Selector's Change NBT functionality, specifically ReplaceBlocks.
Changing only one block type at a time works:
void before(ReplaceBlocks = "minecraft:dark_oak_planks='byg:aspen_planks'")
But when I enter the following in Change NBT > Script
void before(ReplaceBlocks = "minecraft:dark_oak_planks='byg:aspen_planks'", "minecraft:stripped_dark_oak_log='byg:stripped_aspen_log'")
I get the error "Method definition not expected here", with the error pointer indicating "void."
When I try using standard Java list format with square brackets
void before(ReplaceBlocks = ["minecraft:dark_oak_planks='byg:aspen_planks'", "minecraft:stripped_dark_oak_log='byg:stripped_aspen_log'"])
the program accepts it, even warning me I'm about to change blocks, but upon loading the test world, I see no blocks changed.
What is the proper syntax here?
Environment:
Additional context
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Syntax Issues: Can't Perform Multiple ReplaceBlock Operations at Once
I am having difficulty with syntax for MCA Selector's Change NBT functionality, specifically ReplaceBlocks.
Changing only one block type at a time works:
But when I enter the following in Change NBT > Script
I get the error "Method definition not expected here", with the error pointer indicating "void."
When I try using standard Java list format with square brackets
the program accepts it, even warning me I'm about to change blocks, but upon loading the test world, I see no blocks changed.
What is the proper syntax here?
Environment:
Additional context
[will provide full list if requested]
The text was updated successfully, but these errors were encountered: