Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
- Added back translations
  • Loading branch information
Hugman76 committed Jun 6, 2021
1 parent 5bd9822 commit 4fed9f0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_new_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Build and release
run: ./gradlew generateChangelog downloadTranslations build curseforge github modrinth --stacktrace --parallel -PlastTag="v${{ github.event.inputs.previousVersion }}" -PcurrentTag="v${{ github.event.inputs.version }}"
run: ./gradlew downloadTranslations generateChangelog build curseforge github modrinth --stacktrace --parallel -PlastTag="v${{ github.event.inputs.previousVersion }}" -PcurrentTag="v${{ github.event.inputs.version }}"
env:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ modrinth_mod_loaders=fabric

# check these on https://fabricmc.net/versions.html
minecraft_version=1.17-rc1
yarn_mappings=1.17-rc1+build.1
yarn_mappings=1.17-rc1+build.5
loader_version=0.11.3
fabric_version=0.34.8+1.17
# https://github.com/DawnTeamMC/DawnAPI
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/hugman/promenade/Promenade.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.hugman.promenade;

import com.hugman.dawn.api.object.ModData;
import com.hugman.promenade.compat.init.PromenadeColumnBlocks;
import com.hugman.promenade.compat.init.PromenadeColumns;
import com.hugman.promenade.config.PromenadeConfig;
import com.hugman.promenade.init.PromenadeBlocks;
import com.hugman.promenade.init.PromenadeEntities;
Expand Down Expand Up @@ -39,7 +39,7 @@ public void onInitialize() {
PromenadeConfiguredSurfaceBuilders.init();
PromenadeBiomes.init();
if(FabricLoader.getInstance().isModLoaded("columns")) {
PromenadeColumnBlocks.init();
PromenadeColumns.init();
}
MOD_DATA.registerCreators();
PromenadeBiomes.addToGen();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@

import com.hugman.dawn.api.creator.BlockCreator;
import com.hugman.dawn.api.util.DefaultBlockTemplates;
import com.hugman.promenade.Promenade;
import com.hugman.promenade.init.PromenadeBlocks;
import com.hugman.promenade.init.PromenadeBundle;
import io.github.haykam821.columns.block.ColumnBlock;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.minecraft.block.Block;
import net.minecraft.item.ItemGroup;

public class PromenadeColumnBlocks extends PromenadeBundle {
public class PromenadeColumns extends PromenadeBundle {
public static final Block BLUNITE_COLUMN = add(new BlockCreator.Builder("blunite_column", ColumnBlock::new, FabricBlockSettings.copyOf(PromenadeBlocks.BLUNITE.getBlock(DefaultBlockTemplates.CUBE))).itemGroup(ItemGroup.DECORATIONS).build());
public static final Block CARBONITE_COLUMN = add(new BlockCreator.Builder("carbonite_column", ColumnBlock::new, FabricBlockSettings.copyOf(PromenadeBlocks.CARBONITE.getBlock(DefaultBlockTemplates.CUBE))).itemGroup(ItemGroup.DECORATIONS).build());

public static void init() {
Promenade.LOGGER.info("Initialized Columns compatibility");
}
}
2 changes: 1 addition & 1 deletion src/main/resources/assets/promenade/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"subtitles.promenade.entity.duck.ambient": "Duck quacks",
"subtitles.promenade.entity.duck.hurt": "Duck hurts",
"subtitles.promenade.entity.duck.death": "Duck dies",
"text.autoconfig.promenade.title": "Wild Explorer Configuration",
"text.autoconfig.promenade.title": "Promenade Configuration",
"text.autoconfig.promenade.category.biomes": "Biomes",
"text.autoconfig.promenade.category.features": "Features",
"text.autoconfig.promenade.category.structures": "Structures",
Expand Down

0 comments on commit 4fed9f0

Please sign in to comment.