Skip to content

Commit

Permalink
Merge pull request #4 from ItsMaddieNow/classic-models
Browse files Browse the repository at this point in the history
QSL Virtual Resourcepacks and Classic Models
  • Loading branch information
ItsMaddieNow authored Nov 13, 2023
2 parents 21eca1c + 25a7873 commit 201680b
Show file tree
Hide file tree
Showing 15 changed files with 789 additions and 126 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Maddie's Building Tweaks
This is a building mod made with the philosophy that nothing that you build should be destroyed if it is removed.
<p align="center">
<a href="https://quiltmc.org/en/" alt="Powered By Quilt Loader"><img height="64" src="https://github.com/intergrav/devins-badges/raw/v2/assets/cozy/supported/quilt_vector.svg"/></a>
<a href="https://modrinth.com/mod/qsl" alt="Requires Quilt Standard Libraries"><img height="64" src="https://raw.githubusercontent.com/intergrav/devins-badges/v2/assets/cozy/requires/quilt-standard-libraries_vector.svg"></a>
<a href="https://quiltmc.org/en/"><img alt="Powered By Quilt Loader" height="64" src="https://github.com/intergrav/devins-badges/raw/v2/assets/cozy/supported/quilt_vector.svg"/></a>
<a href="https://modrinth.com/mod/qsl"><img alt="Requires Quilt Standard Libraries" height="64" src="https://raw.githubusercontent.com/intergrav/devins-badges/v2/assets/cozy/requires/quilt-standard-libraries_vector.svg"></a>
<br>
<a href="https://modrinth.com/mod/maddies-building-tweaks" alt="Download On Modrinth"><img height="64" src="https://github.com/intergrav/devins-badges/raw/v2/assets/cozy/available/modrinth_vector.svg"></a>
<a href="https://modrinth.com/mod/maddies-building-tweaks"><img alt="Download On Modrinth" height="64" src="https://github.com/intergrav/devins-badges/raw/v2/assets/cozy/available/modrinth_vector.svg"></a>

</p>

Expand All @@ -13,20 +13,20 @@ This is a building mod made with the philosophy that nothing that you build shou
Allows you to place up to four of the same type of flower(Including Modded Flowers) in a single block for decoration and
adds the ability to place flowers in a rotated. Makes flowers more renewable by allowing you to bonemeal them.

<p align="center"><img src="./assets/Multi-Placing-Small-1.0.0.webp"><img src="./assets/Bonemeal-1.0-Small.webp"><img src="./assets/Oriented-Placing-Small-1.0.0.webp"></p>
<p align="center"><img alt="Demonstration of Placing Multiple Flowers In A Block" src="./assets/Multi-Placing-Small-1.0.0.webp"><img alt="Demonstration of Bonemeal Adding More Flowers to a Block" src="./assets/Bonemeal-1.0-Small.webp"><img alt="Demonstration of Directional Placing of Flowers" src="./assets/Oriented-Placing-Small-1.0.0.webp"></p>

### Flower Pots (Versions >= 0.1.0)

Makes it possible to place up to five of one type of flower in a pot.

<p align="center"><img src="./assets/Potted-Placing-0.1.0.webp"></p>
<p align="center"><img alt="Demonstration of Placing Multiple Flowers In A Pot" src="./assets/Potted-Placing-0.1.0.webp"></p>

<details> <summary>Old Versions</summary>

### Multi-flowers Pre-1.0.0
Allows you to place up to four of the same type of flower(Including Modded Flowers) in a single block for decoration and makes flowers more renewable by allowing you to bonemeal them.

<p align="center"><img src="./assets/Flower-Demo-Small.webp"><img src="./assets/Bonemeal-Demo-Small.webp"></p>
<p align="center"><img alt="Demonstration of Placing Multiple Flowers In A Block With a Distinct Model For Each Amount" src="./assets/Flower-Demo-Small.webp"><img alt="Demonstration of Bonemeal Adding More Flowers to a Block" src="./assets/Bonemeal-Demo-Small.webp"></p>

</details>

Expand Down
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ dependencies {
modImplementation libs.qsl
modImplementation libs.quilt.loader

modImplementation files("libs/arrp-0.8.0.jar")
include files("libs/arrp-0.8.0.jar")
modApi(libs.statement){ exclude group: "net.fabricmc.fabric-api" }
include libs.statement

Expand Down
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ qsl = "6.0.3+1.20.1"
quilted_fabric_api = "7.0.3+0.83.1-1.20.1"

statement = "4.2.5"
arrp = "0.8.0"

[libraries]
minecraft = { module = "com.mojang:minecraft", version.ref = "minecraft" }
Expand All @@ -22,7 +21,6 @@ quilted_fabric_api = { module = "org.quiltmc.quilted-fabric-api:quilted-fabric-a
quilted_fabric_api_deprecated = { module = "org.quiltmc.quilted-fabric-api:quilted-fabric-api-deprecated", version.ref = "quilted_fabric_api" }

statement = { module = "com.github.Virtuoel:Statement", version.ref = "statement" }
#arrp = { module = "net.devtech:arrp", version.ref = "arrp"}

# If you have multiple similar dependencies, you can declare a dependency bundle and reference it on the build script with "libs.bundles.example".
[bundles]
Expand Down
Binary file removed libs/arrp-0.8.0-sources.jar
Binary file not shown.
Binary file removed libs/arrp-0.8.0.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static void FlowerInit(){
StateRefresher.INSTANCE.addBlockProperty(Blocks.POTTED_TORCHFLOWER, POT_FLOWERS, 1);


ResourcePack.init();
Resources.init();
BuildingTweaks.LOGGER.info("Setting up Registry Monitor");
var monitor = RegistryMonitor.create(Registries.BLOCK).filter(context -> allowedFlower(context.value()));
monitor.forAll(context -> {
Expand All @@ -48,7 +48,7 @@ public static void FlowerInit(){
StateRefresher.INSTANCE.addBlockProperty(context.value(), FACING, Direction.NORTH);
StateRefresher.INSTANCE.reorderBlockStates();

ResourcePack.resourceGen(id);
Resources.markFlower(id);
});
}
public static boolean allowedFlower(Block block){
Expand Down

This file was deleted.

Loading

0 comments on commit 201680b

Please sign in to comment.