Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,8 @@ jobs:
with:
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
curseforge-id: ${{ needs.preflight.outputs.curseforge_project_id }}
# A timeout or HTTP 500 can follow an accepted upload. Check the file before retrying.
curseforge-retry-attempts: 1
curseforge-dependencies: |
1754162(required)
220318(required)
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.2.3.112021

- Updated for Building Pieces 0.3.7.112021. Matching corners can be crafted back
into steps, and matching steps back into regular slabs.
- Kept the BOP materials, saved pieces and Flower Basket contents unchanged.
- Fixed the Minecraft version warning when refreshing the project in Eclipse.

## 0.2.2.112021

- Shortened names for gem and wood pieces across all 18 languages.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ holds plant blocks, not ordinary seeds or unrelated items.
Use the versions for **Minecraft 1.12.2**, with **Forge 14.23.5.2859** and
**Java 8**. You'll need:

- **Sky's Building Pieces 0.3.6.112021** and this add-on.
- **Sky's Building Pieces 0.3.7.112021** and this add-on.
- **Biomes O' Plenty 7.0.1.2445**.

Put all three main jars in `mods` on both the client and server.
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ minecraft {
runs {
configureEach {
workingDir.convention layout.projectDirectory.dir(developmentRunDirectory)
// Supply the legacy version before ForgeGradle expands the launch environment.
environment 'MC_VERSION', project.minecraft_version.toString()
systemProperty 'forge.logging.console.level', 'debug'
systemProperty 'fml.coreMods.load', 'zone.moddev.mc.skysbuildingpieces.legacy.LoaderPlugin'
}
Expand Down
2 changes: 1 addition & 1 deletion docs/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Use Java 17 for Gradle and Temurin 8.0.502+7 for production. Set
`SBP_JAVA8_HOME` to the Java 8 installation. The wrapper uses Gradle 9.6.1
and ForgeGradle 7.0.34 for Minecraft 1.12.2.

Check out Building Pieces 0.3.6.112021 at the exact source commit in
Check out Building Pieces 0.3.7.112021 at the exact release commit in
`gradle/core-dependency.properties`, then run its `gradlew jar` task.
Build this add-on with:

Expand Down
4 changes: 3 additions & 1 deletion docs/RECIPES.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Crafting

Use core 0.3.6.112021 for ordinary crafting recipes. No template or cutting tool
Use core 0.3.7.112021 for ordinary crafting recipes. No template or cutting tool
is required. All ingredients must be the same material, including wood type.

- Three full blocks in a row make six horizontal slabs.
- Two matching slabs diagonally in a 2 by 2 square make four steps.
- Two steps side by side make four corners.
- Two matching corners stacked vertically make one step.
- Two matching steps stacked vertically make one regular slab.
- Six full blocks in the usual stair pattern make four stairs.
- Six full blocks in two columns of three make six walls.

Expand Down
11 changes: 11 additions & 0 deletions docs/RELEASE-0.2.3.112021.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Sky's Building Pieces — Biomes O' Plenty 0.2.3 for Minecraft 1.12.2

This update uses Building Pieces 0.3.7.112021. Stack two matching corners in the
crafting grid to make a step, or two matching steps to make a regular slab.
Materials with native BOP slabs use those slabs.

The material catalogue, block IDs and saved pieces are unchanged. Flower
Baskets keep their storage and automatic plant collection.

Use Forge 14.23.5.2859, Building Pieces 0.3.7.112021 and Biomes O' Plenty
7.0.1.2445. Grass Slabs is optional; use its 1.1.1.112021 release when installed.
2 changes: 2 additions & 0 deletions docs/RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ If publication stops, inspect the completed stages before retrying. Keep the
same commit and immutable bundle; rerun only failed jobs when an upload has
already succeeded. Do not create another CurseForge file while one is awaiting
approval. An existing release with the same jar does not need another upload.
CurseForge uploads have one attempt; check the project files before retrying a
timeout, since the upload may already have been accepted.
3 changes: 3 additions & 0 deletions docs/WORLD-UPGRADES.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ Together with the core's 236 IDs, that is 310 additional IDs. Existing native
BOP blocks are not counted again. New pieces use fixed metadata palettes
rather than material tile entities; saved material and orientation assignments
stay unchanged. The Flower Basket adds no block IDs.

Core 0.3.7 adds two path-piece IDs, making that combination 312 IDs instead.
The add-on's own catalogue remains at 74 IDs.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ release_enabled=true
curseforge_project_id=1755976
mod_name=Sky's Building Pieces - Biomes O Plenty
mod_license=LGPL-2.1-only
mod_version=0.2.2.112021
mod_version=0.2.3.112021
mod_group=zone.moddev.mc.skysbuildingpiecesbop
mod_authors=SkyBlade1978
mod_description=Biomes O Plenty building pieces with ordinary crafting recipes and optional legacy recovery. No world generation.
6 changes: 3 additions & 3 deletions gradle/core-dependency.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repository=SkyBlade1978/SkysBuildingPieces
commit=78360eefcf6f7637c7959f34dc45bdb9efb6ba12
version=0.3.6.112021
repository=MinecraftModDevelopmentMods/SkysBuildingPieces
commit=813de06e066d405aa55828daf3b03f56ef38afef
version=0.3.7.112021
api=1
bop_file=3558882
bop_sha256=1C53D3EE39F557162591F618C58B79DC6861D24522EF785794EE4A815F8A3908
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public static void run(WorldServer world) {
}
}

require(Catalogue.INSTANCE.modules.get("vanilla").palettes.size() == 235, "core palette budget");
int pathPalettes = Catalogue.INSTANCE.materials.containsKey("minecraft:grass_path") ? 2 : 0;
require(Catalogue.INSTANCE.modules.get("vanilla").palettes.size() == 235 + pathPalettes, "core palette budget");

int registryCount = 0;
int highest = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
name = "Sky's Building Pieces - Biomes O Plenty",
version = SkysBuildingPiecesBop.VERSION,
acceptedMinecraftVersions = "[1.12.2]",
dependencies = "required-after:skysbuildingpieces@[0.3.6.112021,0.4);required-after:biomesoplenty@[7.0.1,8.0);before:buildingbricks")
dependencies = "required-after:skysbuildingpieces@[0.3.7.112021,0.4);required-after:biomesoplenty@[7.0.1,8.0);before:buildingbricks")
public final class SkysBuildingPiecesBop {
public static final String ID = "skysbuildingpiecesbop", VERSION = "0.2.2.112021";
public static final String ID = "skysbuildingpiecesbop", VERSION = "0.2.3.112021";
@Mod.Instance(ID)
public static SkysBuildingPiecesBop INSTANCE;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ void fixedCatalogueBudgetAndAllMetadata() throws Exception {

Catalogue core = new Catalogue();

assertEquals(235, core.palettes.size());
assertEquals(303, core.palettes.size() + 2 + catalogueModule.palettes.size());
int pathPalettes = core.materials.containsKey("minecraft:grass_path") ? 2 : 0;
assertEquals(235 + pathPalettes, core.palettes.size());
assertEquals(303 + pathPalettes, core.palettes.size() + 2 + catalogueModule.palettes.size());
if (pathPalettes != 0) {
assertEquals("path_step_00", core.palettes.get(235).id);
assertEquals("path_corner_00", core.palettes.get(236).id);
}

Catalogue.Palette dirt = core.palettes.get(234);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ void publicationNeedsThisModsMetadataAndExplicitApproval() throws Exception {
String workflow = text(".github/workflows/deploy-release.yml");

assertTrue(workflow.contains("confirm_live_publication"));
assertTrue(workflow.contains("curseforge-retry-attempts: 1"));
assertTrue(workflow.contains("default: false"));
assertTrue(workflow.contains("value release_enabled"));
assertTrue(workflow.contains("Build, test, and audit"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void newerCoreOverrideIsLocalOnly() throws Exception {

String pin = text("gradle/core-dependency.properties");

assertTrue(pin.contains("version=0.3.6.112021"));
assertTrue(pin.contains("version=0.3.7.112021"));
assertTrue(pin.contains("api=1"));
}

Expand Down
Loading