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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.2.8.120012

- Add origin grass pieces and steps and corners for white, orange and black sandstone.

## 0.2.7.120012

- Keep crafting results distinct and use the updated Building Pieces fuel rules.
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 @@ It doesn't accept unrelated items.
Use the versions for **Minecraft 1.20.1**, with **NeoForge 47.1.106** and
**Java 17**. You'll need:

- **Sky's Building Pieces 0.3.11.120012** and this add-on.
- **Sky's Building Pieces 0.3.12.120012** and this add-on.
- **Biomes O' Plenty 18.0.0.598** and **TerraBlender 3.0.1.10**.

Put these main jars in `mods` on both the client and server.
Expand Down
2 changes: 1 addition & 1 deletion docs/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Mavenizer also needs Java 25; it is not used to compile or run the mod.
The runtime log checks use Python 3.11 or later. If `python` is not on your
path, pass `-PpythonExecutable=<python executable>` to Gradle.

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

Expand Down
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.7.120012
mod_version=0.2.8.120012
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.
Expand Down
4 changes: 2 additions & 2 deletions gradle/catalogue-checksums.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
materials=06ABD21E6A1722DED3306CECECCDB996D58D7B523C874CBD4972C4A2088AF53F
palettes=804175ED9CAF2960F23A907628646A8790314637D1604CCE78FD23F8D21FECB0
materials=E03A6EA9E9D05CF8FD535755D35642937D7E4CC4B58672CB4C335AB9E335CA85
palettes=0D16A9EFB6C61F98ED5601863BCAEE2F4C6C0DDB16C7FC059B77BDA843C80029
8 changes: 4 additions & 4 deletions gradle/core-dependency.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
repository=MinecraftModDevelopmentMods/SkysBuildingPieces
kind=release
commit=0c93d9aa173e8160ec8280b3fae7db98f434d6ee
version=0.3.11.120012
commit=3e87520a28ee1a067de420c2f3138bb71d130ba2
version=0.3.12.120012
api=1
sha256=37F0DF34674759B0CC94E242196ECE3F960B0FF87536EEEE9C76BFB1EF96B490
development.sha256=316AA89E0CD45F3AB70AE87CEE570F88700EA4280A6D14639E23E6A5B92DB891
sha256=3CDAD872110B84DDA4CE57AD0A6071C76EAFE2665CD8904CE843CD41CFE6BA9C
development.sha256=E34B4CCA84F5D28C2C0C27E2A609ACAAA1C7AC270D85F78ADC5D150056C7C4DB
bop_modrinth_version=peO5lWzX
bop_sha256=71EB3DDB35C1C2DB6C15F80F001A6655508435A5F3828C7E2F666EADA616C19D
terrablender_modrinth_version=zGconCHG
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ public static void run(ServerLevel world) throws Exception {
for (zone.moddev.mc.skysbuildingpieces.catalogue.Catalogue.MaterialDef definition
: zone.moddev.mc.skysbuildingpieces.catalogue.Catalogue.INSTANCE.modules
.get("biomesoplenty").materials.values()) {
if (definition.legacyBlock("full") == null) {
continue;
}
material = definition.id;
liveInventories(world, convert);
newlyPlaced(world, convert);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public static void run(ServerLevel world) throws Exception {
SkysBuildingPieces.forceReplace = true;

for (Catalogue.MaterialDef material : Catalogue.INSTANCE.modules.get("biomesoplenty").materials.values()) {
if (material.legacyBlock("full") == null) {
continue;
}
for (int code = 0; code < 16; code++) {
CompoundTag raw = NativeLegacyChecks.chunk(LegacyTestScope.STEP_ID, code, material.id);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static void run(ServerLevel world) {
long registered = ForgeRegistries.BLOCKS.getValues().stream()
.filter(block -> net.minecraftforge.registries.ForgeRegistries.BLOCKS.getKey(block).getNamespace().equals(SkysBuildingPiecesBop.ID)).count();

require(registered == 74 + 180 + 7, "Complete add-on block catalogue: " + registered);
require(registered == 81 + 189 + 7, "Complete add-on block catalogue: " + registered);
LOGGER.info("BOP_NATIVE_MATERIALS_PASS states=" + checked + " blocks=" + registered);
} finally {
world.setBlock(position, previous, 2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
MinecraftForge.EVENT_BUS.addListener(this::tick);
net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext.get().getModEventBus()
.addListener(BopPersistenceOrderChecks::ready);
net.minecraftforge.fml.DistExecutor.runWhenOn(net.minecraftforge.api.distmarker.Dist.CLIENT, () -> () -> {

Check warning on line 28 in src/bootstrapTest/java/zone/moddev/mc/skysbuildingpiecesbop/probe/NativeBootstrap.java

View workflow job for this annotation

GitHub Actions / Build, test, and audit

[removal] DistExecutor in net.minecraftforge.fml has been deprecated and marked for removal
new zone.moddev.mc.skysbuildingpieces.probe.ClientProbe().init();
MinecraftForge.EVENT_BUS.register(BasketGuiClientChecks.class);
MinecraftForge.EVENT_BUS.register(BasketDisconnectClientChecks.class);
Expand Down Expand Up @@ -88,7 +88,7 @@

Catalogue.Module module = Catalogue.INSTANCE.modules.get("biomesoplenty");

require(module != null && module.materials.size() == 33 && module.palettes.size() == 66,
require(module != null && module.materials.size() == 37 && module.palettes.size() == 73,
"Fixed BOP catalogue changed");

for (Catalogue.MaterialDef material : module.materials.values()) {
Expand Down Expand Up @@ -139,7 +139,7 @@
}

BopPersistenceOrderChecks.verify(server.getLevel(net.minecraft.world.level.Level.OVERWORLD));
LOGGER.info("BUILDING_PIECES_BOP_NATIVE_BOOTSTRAP_PASS materials=33 palettes=66 retired_items=7");
LOGGER.info("BUILDING_PIECES_BOP_NATIVE_BOOTSTRAP_PASS materials=37 palettes=73 retired_items=7");
success = true;

if (client) {
Expand All @@ -151,7 +151,7 @@
LOGGER.error("Native BOP verification failed", failure);
zone.moddev.mc.skysbuildingpieces.probe.ClientStatus.failure = failure;
if (client) {
net.minecraftforge.fml.DistExecutor.runWhenOn(net.minecraftforge.api.distmarker.Dist.CLIENT,

Check warning on line 154 in src/bootstrapTest/java/zone/moddev/mc/skysbuildingpiecesbop/probe/NativeBootstrap.java

View workflow job for this annotation

GitHub Actions / Build, test, and audit

[removal] DistExecutor in net.minecraftforge.fml has been deprecated and marked for removal
() -> () -> net.minecraft.client.Minecraft.getInstance().delayCrash(
net.minecraft.CrashReport.forThrowable(failure, "BOP client verification failed")));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@Mod(SkysBuildingPiecesBop.ID)
public final class SkysBuildingPiecesBop {
public static final String ID = "skysbuildingpiecesbop";
public static final String VERSION = "0.2.7.120012";
public static final String VERSION = "0.2.8.120012";

public SkysBuildingPiecesBop() {
if (BuildingPiecesApi.VERSION != 1) {
Expand All @@ -33,7 +33,7 @@
Catalogue.Module module = BuildingPiecesApi.registerCatalogue("biomesoplenty", ID, 80,
SkysBuildingPiecesBop.class);

if (module.materials.size() != 33 || module.palettes.size() != 66) {
if (module.materials.size() != 37 || module.palettes.size() != 73) {
throw new IllegalStateException("BOP catalogue contract changed");
}

Expand All @@ -48,7 +48,7 @@
Baskets.registerRecovery();
MinecraftForge.EVENT_BUS.addListener(this::beforeServer);
MinecraftForge.EVENT_BUS.addListener(Baskets::pickup);
DistExecutor.runWhenOn(Dist.CLIENT,

Check warning on line 51 in src/main/java/zone/moddev/mc/skysbuildingpiecesbop/SkysBuildingPiecesBop.java

View workflow job for this annotation

GitHub Actions / Analyze Java

[removal] DistExecutor in net.minecraftforge.fml has been deprecated and marked for removal

Check warning on line 51 in src/main/java/zone/moddev/mc/skysbuildingpiecesbop/SkysBuildingPiecesBop.java

View workflow job for this annotation

GitHub Actions / Cold NeoForge bootstrap

[removal] DistExecutor in net.minecraftforge.fml has been deprecated and marked for removal

Check warning on line 51 in src/main/java/zone/moddev/mc/skysbuildingpiecesbop/SkysBuildingPiecesBop.java

View workflow job for this annotation

GitHub Actions / Cold NeoForge bootstrap

[removal] DistExecutor in net.minecraftforge.fml has been deprecated and marked for removal

Check warning on line 51 in src/main/java/zone/moddev/mc/skysbuildingpiecesbop/SkysBuildingPiecesBop.java

View workflow job for this annotation

GitHub Actions / Build, test, and audit

[removal] DistExecutor in net.minecraftforge.fml has been deprecated and marked for removal
() -> zone.moddev.mc.skysbuildingpiecesbop.client.RetiredRockModels::register);
}

Expand Down
879 changes: 878 additions & 1 deletion src/main/recipe-book/native-1.14-generated.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ side="BOTH"
[[dependencies.${mod_id}]]
modId="skysbuildingpieces"
mandatory=true
versionRange="[0.3.10.120012,0.4)"
versionRange="[0.3.12.120012,0.4)"
ordering="AFTER"
side="BOTH"
[[dependencies.${mod_id}]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"variants": {
"orientation=top_north_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_0"
},
"orientation=top_north_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_0"
},
"orientation=top_north_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_1"
},
"orientation=top_north_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_1"
},
"orientation=top_south_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_2"
},
"orientation=top_south_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_2"
},
"orientation=top_south_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_3"
},
"orientation=top_south_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_3"
},
"orientation=bottom_north_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_4"
},
"orientation=bottom_north_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_4"
},
"orientation=bottom_north_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_5"
},
"orientation=bottom_north_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_5"
},
"orientation=bottom_south_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_6"
},
"orientation=bottom_south_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_6"
},
"orientation=bottom_south_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_7"
},
"orientation=bottom_south_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_corner_7"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"variants": {
"orientation=top_north,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_0"
},
"orientation=top_north,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_0"
},
"orientation=top_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_1"
},
"orientation=top_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_1"
},
"orientation=top_south,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_2"
},
"orientation=top_south,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_2"
},
"orientation=top_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_3"
},
"orientation=top_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_3"
},
"orientation=bottom_north,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_4"
},
"orientation=bottom_north,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_4"
},
"orientation=bottom_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_5"
},
"orientation=bottom_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_5"
},
"orientation=bottom_south,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_6"
},
"orientation=bottom_south,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_6"
},
"orientation=bottom_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_7"
},
"orientation=bottom_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/black_sandstone_horizontal_step_7"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"variants": {
"orientation=top_north_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_0"
},
"orientation=top_north_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_0"
},
"orientation=top_north_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_1"
},
"orientation=top_north_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_1"
},
"orientation=top_south_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_2"
},
"orientation=top_south_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_2"
},
"orientation=top_south_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_3"
},
"orientation=top_south_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_3"
},
"orientation=bottom_north_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_4"
},
"orientation=bottom_north_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_4"
},
"orientation=bottom_north_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_5"
},
"orientation=bottom_north_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_5"
},
"orientation=bottom_south_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_6"
},
"orientation=bottom_south_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_6"
},
"orientation=bottom_south_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_7"
},
"orientation=bottom_south_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_corner_7"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"variants": {
"orientation=top_north,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_0"
},
"orientation=top_north,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_0"
},
"orientation=top_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_1"
},
"orientation=top_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_1"
},
"orientation=top_south,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_2"
},
"orientation=top_south,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_2"
},
"orientation=top_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_3"
},
"orientation=top_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_3"
},
"orientation=bottom_north,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_4"
},
"orientation=bottom_north,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_4"
},
"orientation=bottom_east,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_5"
},
"orientation=bottom_east,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_5"
},
"orientation=bottom_south,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_6"
},
"orientation=bottom_south,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_6"
},
"orientation=bottom_west,waterlogged=false": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_7"
},
"orientation=bottom_west,waterlogged=true": {
"model": "skysbuildingpiecesbop:block/orange_sandstone_horizontal_step_7"
}
}
}
Loading
Loading