-
Notifications
You must be signed in to change notification settings - Fork 87
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
chore: automatically register items for blocks #341
chore: automatically register items for blocks #341
Conversation
output.accept(GCBlocks.MOON_ROCK.asItem()); | ||
output.accept(GCBlocks.MOON_ROCK_SLAB.asItem().asItem()); | ||
output.accept(GCBlocks.MOON_ROCK_STAIRS.asItem().asItem()); | ||
output.accept(GCBlocks.MOON_ROCK_WALL.asItem().asItem()); | ||
|
||
output.accept(GCBlocks.MOON_ROCK_BRICK.asItem()); | ||
output.accept(GCBlocks.MOON_ROCK_BRICK_SLAB.asItem()); | ||
output.accept(GCBlocks.MOON_ROCK_BRICK_STAIRS.asItem()); | ||
output.accept(GCBlocks.MOON_ROCK_BRICK_WALL.asItem()); | ||
|
||
output.accept(GCBlocks.CRACKED_MOON_ROCK_BRICK.asItem()); | ||
output.accept(GCBlocks.CRACKED_MOON_ROCK_BRICK_SLAB.asItem()); | ||
output.accept(GCBlocks.CRACKED_MOON_ROCK_BRICK_STAIRS.asItem()); | ||
output.accept(GCBlocks.CRACKED_MOON_ROCK_BRICK_WALL.asItem()); | ||
|
||
output.accept(GCBlocks.POLISHED_MOON_ROCK.asItem()); | ||
output.accept(GCBlocks.POLISHED_MOON_ROCK_SLAB.asItem()); | ||
output.accept(GCBlocks.POLISHED_MOON_ROCK_STAIRS.asItem()); | ||
output.accept(GCBlocks.POLISHED_MOON_ROCK_WALL.asItem()); | ||
|
||
output.accept(GCBlocks.CHISELED_MOON_ROCK_BRICK.asItem()); | ||
output.accept(GCBlocks.MOON_ROCK_PILLAR.asItem()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason that these need to be asItem()
-ed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, is it possible to static-import GCBlocks?
Closing this to redo another day (the whole thing is a merge conflict at this point). |
I tested everything I could think of, and it all still seems to work.