-
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
asteroid dimension #320
base: main
Are you sure you want to change the base?
asteroid dimension #320
Conversation
Added Asteroids Dimension and configured skybox. Haven't started terrain generation yet.
Completed Asteroid Dimension Terrain Generation Structures/Features not implemented yet
Canned food items can now be created from any food with ease. planning to add automatic food detection that creates cans for any mods foods.
canned food items have been almost completed other than fixing appleskins api integration and creating a machine to make cans in survival
canned food items completed - added total nutrition - fixed whitespace - added appleskin integration for canned food Todo - create canning machine to make canned food accessible in survival
food canner fully implemented and works completely. also put licencensing on all new files i have created
sort of started working on asteroid dimension structures
removed TODO: comment in food_canner json because it was causing issues. make sure in future to change the recipe for the food canner block ad the advancement requirements added licencing
fixed json issue added only eat canned food in space sealer code half implemented. uploading github because need backup because rewriting sealer AGAIN...
- added asteroid ores + dense ice - fixed some data generation issues - made asteroid dimension pitch black - fixed air lock seal for the second time - fixed canned food textures
- Fixed translations for canned food - Fixed ores aswell because asteroid ores where broken
Launch pads are now dynamic and are created using one method in the RocketParts class
added Rocket Nose Cone items
This reverts commit 697ed02.
This reverts commit 8087c7e.
This reverts commit 838e1cb.
decided to leave rocket code as is because rebuilding everything from scratch was painful. just going to build ontop of the already implemented system
Updated everything to work with 1.21
4c5d2c2
to
8e8a2e2
Compare
Rockets? |
fixed most generated files and moved some to resources
Fixed most of the bugs with the oxygen sealer. Few more to fix but need to fetch the main branch first to fix conflicts
Sealers are now at a stage where they are usable in the game. They arent perfect but they are usable
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.
I have looked over most things, but there is a lot, so my comments are by no means exhaustive. Hopefully this should be enough for you to get started on making some changes. I do think there is a fair amount of redundancy which you could work on reducing, so maybe the next time someone looks there won't be nearly so much to review.
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.
Did you use the raw aluminum block as a placeholder for the canner at some point? Either way I think you should revert these changes or rename the file.
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.
Does all of this noise generation need to be ported? If the vanilla noise generation can be used then it would be better and I suspect that it is possible now.
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.
I feel like a lot of this code should be in a different class such as GCItems
.
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.
I don't really like the opening curly brackets being on the next line and it is not being done consistently or in the same style as the other screen classes.
if (!status.equals(GCMachineStatuses.BLOCKED)) { | ||
int sealCheckTime = this.menu.sealTickTime; | ||
//TODO: make this a bar that goes down over time to match gc4's sealer screen? | ||
graphics.drawString(this.font, Component.literal("Sealer Recheck: ").append(String.valueOf(sealCheckTime)), this.leftPos + 50, this.topPos + 50, ChatFormatting.YELLOW.getColor(), false); |
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.
Could you make this hardcoded text translatable. Also, I think it is best if you include the %s
placeholder e.g. "Sealer Recheck: %s"
so that the translations have more control over the formatting. Look at the machine status above for an example.
|
||
public static void registerCan(ItemStack cannedFoodType) | ||
{ | ||
ItemGroupEvents.modifyEntriesEvent(ResourceKey.create(Registries.CREATIVE_MODE_TAB, Constant.id(Constant.Item.ITEM_GROUP_CANS))).register(entries -> { |
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.
Would registering all of the canned food before the creative mode tabs remove the need for this?
@@ -399,6 +400,9 @@ protected void generateItemTranslations() { | |||
this.item(GCItems.AMBIENT_THERMAL_CONTROLLER, "Ambient Thermal Controller"); | |||
|
|||
// FOOD | |||
this.item(GCItems.CANNED_FOOD, "Canned "); |
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.
Could you also use the %s
placeholder here so that it is more translatable, as other languages might have a different word order.
@@ -911,6 +914,8 @@ protected void generateUiTranslations() { | |||
this.add(Ui.GIANT_LEAP, "Taking one giant leap"); | |||
this.add(Ui.PREPARE_FOR_ENTRY, "Prepare for entry!"); | |||
this.add(Ui.TRAVELING_TO, "Traveling to: %s"); | |||
|
|||
this.add(Ui.TOTAL_NUTRITION, "Total Nutrition: "); |
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.
Another %s
placeholder would be good.
{ | ||
return InteractionResultHolder.pass(itemStack); | ||
} else { | ||
player.displayClientMessage(Component.literal("You cannot eat this here!").withColor(Color.RED.getRGB()), true); |
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.
Please make this hardcoded text translatable.
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.
These slot sprites will need to be removed from this texture and added in a different way. The style of them will need to be updated too.
Fixed some textures plus added asteroid dimension