From 9a7e3ad921a7ddd5d2fb22a47054461d855659ff Mon Sep 17 00:00:00 2001 From: Integer Limit <103940576+IntegerLimit@users.noreply.github.com> Date: Wed, 27 Mar 2024 22:49:58 +1100 Subject: [PATCH] Rename Greenhouse to Growing Chamber Breaks All Existing Greenhouses --- ...reenhouse.java => MetaTileEntityGrowthChamber.java} | 10 +++++----- .../gregtech/multiblock/registry/LabsMultiblocks.java | 4 ++-- .../nomilabs/gregtech/recipe/LabsRecipeMaps.java | 4 ++-- .../com/nomiceu/nomilabs/recipe/LabsTestRecipes.java | 2 +- src/main/resources/assets/nomilabs/lang/en_us.lang | 8 ++++---- 5 files changed, 14 insertions(+), 14 deletions(-) rename src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/{MetaTileEntityGreenhouse.java => MetaTileEntityGrowthChamber.java} (92%) diff --git a/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/MetaTileEntityGreenhouse.java b/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/MetaTileEntityGrowthChamber.java similarity index 92% rename from src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/MetaTileEntityGreenhouse.java rename to src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/MetaTileEntityGrowthChamber.java index aaf389c1..40c0dc61 100755 --- a/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/MetaTileEntityGreenhouse.java +++ b/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/MetaTileEntityGrowthChamber.java @@ -32,15 +32,15 @@ import static com.nomiceu.nomilabs.util.LabsTranslate.*; -public class MetaTileEntityGreenhouse extends GCYMRecipeMapMultiblockController { +public class MetaTileEntityGrowthChamber extends GCYMRecipeMapMultiblockController { - public MetaTileEntityGreenhouse(ResourceLocation metaTileEntityId) { - super(metaTileEntityId, LabsRecipeMaps.GREENHOUSE_RECIPES); + public MetaTileEntityGrowthChamber(ResourceLocation metaTileEntityId) { + super(metaTileEntityId, LabsRecipeMaps.GROWTH_CHAMBER_RECIPES); } @Override public MetaTileEntity createMetaTileEntity(IGregTechTileEntity iGregTechTileEntity) { - return new MetaTileEntityGreenhouse(metaTileEntityId); + return new MetaTileEntityGrowthChamber(metaTileEntityId); } @Override @@ -121,7 +121,7 @@ public boolean canBeDistinct() { @Override @SideOnly(Side.CLIENT) public void addInformation(ItemStack stack, @Nullable World world, @NotNull List tooltip, boolean advanced) { - tooltip.add(translate("tooltip.nomilabs.greenhouse.description")); + tooltip.add(translate("tooltip.nomilabs.growth_chamber.description")); super.addInformation(stack, world, tooltip, advanced); } } diff --git a/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/registry/LabsMultiblocks.java b/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/registry/LabsMultiblocks.java index 09804a64..a3173b53 100644 --- a/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/registry/LabsMultiblocks.java +++ b/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/registry/LabsMultiblocks.java @@ -10,7 +10,7 @@ */ @SuppressWarnings("unused") public class LabsMultiblocks { - public static MetaTileEntityGreenhouse GREENHOUSE; + public static MetaTileEntityGrowthChamber GROWTH_CHAMBER; public static MetaTileEntityMicroverseProjector.Microverse1 MICROVERSE_1; public static MetaTileEntityMicroverseProjector.Microverse2 MICROVERSE_2; public static MetaTileEntityMicroverseProjector.Microverse3 MICROVERSE_3; @@ -48,6 +48,6 @@ private static void initOld() { DME_SIM_CHAMBER = MetaTileEntities.registerMetaTileEntity(32108, new MetaTileEntityDMESimChamber(LabsNames.makeLabsName("dme_sim_chamber"))); } private static void initNew() { - GREENHOUSE = MetaTileEntities.registerMetaTileEntity(32109, new MetaTileEntityGreenhouse(LabsNames.makeLabsName("greenhouse"))); + GROWTH_CHAMBER = MetaTileEntities.registerMetaTileEntity(32109, new MetaTileEntityGrowthChamber(LabsNames.makeLabsName("growth_chamber"))); } } diff --git a/src/main/java/com/nomiceu/nomilabs/gregtech/recipe/LabsRecipeMaps.java b/src/main/java/com/nomiceu/nomilabs/gregtech/recipe/LabsRecipeMaps.java index 924f7c9a..40946e5c 100644 --- a/src/main/java/com/nomiceu/nomilabs/gregtech/recipe/LabsRecipeMaps.java +++ b/src/main/java/com/nomiceu/nomilabs/gregtech/recipe/LabsRecipeMaps.java @@ -21,7 +21,7 @@ public class LabsRecipeMaps { public static RecipeMap ACTUALIZATION_CHAMBER_RECIPES; public static RecipeMap UNIVERSAL_CRYSTALIZER_RECIPES; public static RecipeMap DME_SIM_CHAMBER_RECIPES; - public static RecipeMap GREENHOUSE_RECIPES; + public static RecipeMap GROWTH_CHAMBER_RECIPES; public static void preInit() { MICROVERSE_RECIPES = new ArrayList<>(); @@ -52,7 +52,7 @@ public static void preInit() { .setSlotOverlay(false, false, GuiTextures.RESEARCH_STATION_OVERLAY).setSlotOverlay(true, false, GuiTextures.RESEARCH_STATION_OVERLAY) .setProgressBar(GuiTextures.PROGRESS_BAR_CIRCUIT_ASSEMBLER, ProgressWidget.MoveType.VERTICAL).setSound(GTSoundEvents.COMPUTATION); - GREENHOUSE_RECIPES = new RecipeMap<>("greenhouse", 4, 9, 1, 0, new SimpleRecipeBuilder(), !newMultis()) + GROWTH_CHAMBER_RECIPES = new RecipeMap<>("growth_chamber", 4, 9, 1, 0, new SimpleRecipeBuilder(), !newMultis()) .setSlotOverlay(false, false, GuiTextures.SCANNER_OVERLAY).setSlotOverlay(false, true, GuiTextures.SCANNER_OVERLAY) .setSlotOverlay(true, false, GuiTextures.SCANNER_OVERLAY).setSlotOverlay(true, true, GuiTextures.SCANNER_OVERLAY) .setSound(GTSoundEvents.SAW_TOOL); diff --git a/src/main/java/com/nomiceu/nomilabs/recipe/LabsTestRecipes.java b/src/main/java/com/nomiceu/nomilabs/recipe/LabsTestRecipes.java index 2a118a8f..e8f048ec 100644 --- a/src/main/java/com/nomiceu/nomilabs/recipe/LabsTestRecipes.java +++ b/src/main/java/com/nomiceu/nomilabs/recipe/LabsTestRecipes.java @@ -14,7 +14,7 @@ public class LabsTestRecipes { public static void initRecipes() { assert Blocks.SAPLING != null; assert Blocks.LOG != null; - LabsRecipeMaps.GREENHOUSE_RECIPES.recipeBuilder().duration(1200).EUt(GTValues.VHA[GTValues.MV]) + LabsRecipeMaps.GROWTH_CHAMBER_RECIPES.recipeBuilder().duration(1200).EUt(GTValues.VHA[GTValues.MV]) .input(Blocks.SAPLING) .output(Blocks.LOG) .buildAndRegister(); diff --git a/src/main/resources/assets/nomilabs/lang/en_us.lang b/src/main/resources/assets/nomilabs/lang/en_us.lang index 48379a2b..10c1f192 100644 --- a/src/main/resources/assets/nomilabs/lang/en_us.lang +++ b/src/main/resources/assets/nomilabs/lang/en_us.lang @@ -1,6 +1,6 @@ -# Greenhouse -nomilabs.machine.greenhouse.name=Greenhouse -recipemap.greenhouse.name=Growing +# Growth Chamber +nomilabs.machine.growth_chamber.name=Growth Chamber +recipemap.growth_chamber.name=Growing tile.unique_casing.growth_light.name=Growth Light tile.unique_casing.air_vent.name=Air Vent @@ -557,4 +557,4 @@ tooltip.nomilabs.actualization_chamber.description=§8A powerful machine that ha tooltip.nomilabs.universal_crystallizer.description=§8An immense device, capable of turning raw materials into complex matters.§r tooltip.nomilabs.universal_crystallizer.description_laser=Can use §bLaser Hatches§r tooltip.nomilabs.dme_sim_chamber.description=§8A high powered simulation device, capable of performing more complex simulations faster than ever.§r -tooltip.nomilabs.greenhouse.description=§8A high powered growing chamber, capable of mass-growing even the most incomprehensible plants.§r +tooltip.nomilabs.growth_chamber.description=§8A high powered UV ray chamber, capable of mass-growing even the most incomprehensible plants.§r