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

chore: automatically register items for blocks #341

Closed

Conversation

JustAPotota
Copy link
Contributor

I tested everything I could think of, and it all still seems to work.

@marcus8448 marcus8448 self-assigned this Jul 31, 2024
Comment on lines +278 to +299
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());
Copy link
Member

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?

Copy link
Member

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?

@marcus8448 marcus8448 removed their assignment Jan 3, 2025
@JustAPotota
Copy link
Contributor Author

Closing this to redo another day (the whole thing is a merge conflict at this point).

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