diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..ce3946f --- /dev/null +++ b/readme.md @@ -0,0 +1,19 @@ +#Desire Paths + +A desire path is a path created as a consequence of erosion caused by human or animal foot-fall traffic. The path usually represents the shortest or most easily navigated route between an origin and destination. +___ + +Have you even needed to make path blocks on the walk from your base to the mine? Have you ever thought, in real live this is automatic? Than this is the mod for you. Walk over a Grass, Dirt, Podzol or Mycelium block often enough and you'll trample it into a path block automatically! + +![Like this!](https://i.imgur.com/iPEcfkI.jpg) + + +#How to install +1. Download and install fabric from the how to install page here [https://fabricmc.net/wiki/install](https://fabricmc.net/wiki/install). +2. Download the fabric api jar from here [https://minecraft.curseforge.com/projects/fabric](https://minecraft.curseforge.com/projects/fabric). +3. Download the newest version that corresponds to the minecraft and fabric version you have from [this page.](https://github.com/matjojo/desire-paths/releases) +4. Move both .jar files to your mods folder. It will be in `.minecraft/mods` If you are using multiMC you can select `Minecraft Folder` from the right mouse menu on the instance that you made in step one to get to the `.minecraft` folder easily. + +#Modpack use +- Singleplayer: You can just add both the fabric and the mod jar files to any fabric modpack. +- Multiplayer: You'll want to add both the jars to the server at least. Technically the mods works when only on the server, but it will be a bit janky. You're best off also adding them to the client. \ No newline at end of file diff --git a/src/main/java/net/fabricmc/desire_paths/data/Blocks/GenericTrampleable.java b/src/main/java/com/matjojo/desire_paths/data/Blocks/GenericTrampleable.java similarity index 80% rename from src/main/java/net/fabricmc/desire_paths/data/Blocks/GenericTrampleable.java rename to src/main/java/com/matjojo/desire_paths/data/Blocks/GenericTrampleable.java index c69dafc..65dfde9 100644 --- a/src/main/java/net/fabricmc/desire_paths/data/Blocks/GenericTrampleable.java +++ b/src/main/java/com/matjojo/desire_paths/data/Blocks/GenericTrampleable.java @@ -1,6 +1,6 @@ -package net.fabricmc.desire_paths.data.Blocks; +package com.matjojo.desire_paths.data.Blocks; -import net.fabricmc.desire_paths.data.DesirePathsDataHolder; +import com.matjojo.desire_paths.data.DesirePathsDataHolder; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.state.StateFactory; diff --git a/src/main/java/net/fabricmc/desire_paths/data/Blocks/SnowyTrampleable.java b/src/main/java/com/matjojo/desire_paths/data/Blocks/SnowyTrampleable.java similarity index 82% rename from src/main/java/net/fabricmc/desire_paths/data/Blocks/SnowyTrampleable.java rename to src/main/java/com/matjojo/desire_paths/data/Blocks/SnowyTrampleable.java index f242c11..ccefea5 100644 --- a/src/main/java/net/fabricmc/desire_paths/data/Blocks/SnowyTrampleable.java +++ b/src/main/java/com/matjojo/desire_paths/data/Blocks/SnowyTrampleable.java @@ -1,6 +1,6 @@ -package net.fabricmc.desire_paths.data.Blocks; +package com.matjojo.desire_paths.data.Blocks; -import net.fabricmc.desire_paths.data.DesirePathsDataHolder; +import com.matjojo.desire_paths.data.DesirePathsDataHolder; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.SnowyBlock; diff --git a/src/main/java/net/fabricmc/desire_paths/data/DesirePathsDataHolder.java b/src/main/java/com/matjojo/desire_paths/data/DesirePathsDataHolder.java similarity index 98% rename from src/main/java/net/fabricmc/desire_paths/data/DesirePathsDataHolder.java rename to src/main/java/com/matjojo/desire_paths/data/DesirePathsDataHolder.java index 098f886..b8b1524 100644 --- a/src/main/java/net/fabricmc/desire_paths/data/DesirePathsDataHolder.java +++ b/src/main/java/com/matjojo/desire_paths/data/DesirePathsDataHolder.java @@ -1,4 +1,4 @@ -package net.fabricmc.desire_paths.data; +package com.matjojo.desire_paths.data; import net.minecraft.block.BlockState; import net.minecraft.entity.player.PlayerEntity; diff --git a/src/main/java/net/fabricmc/desire_paths/mixin/OnGrassBlockAppendPropertiesMixin.java b/src/main/java/com/matjojo/desire_paths/mixin/OnGrassBlockAppendPropertiesMixin.java similarity index 89% rename from src/main/java/net/fabricmc/desire_paths/mixin/OnGrassBlockAppendPropertiesMixin.java rename to src/main/java/com/matjojo/desire_paths/mixin/OnGrassBlockAppendPropertiesMixin.java index d359a39..0d5b0b2 100644 --- a/src/main/java/net/fabricmc/desire_paths/mixin/OnGrassBlockAppendPropertiesMixin.java +++ b/src/main/java/com/matjojo/desire_paths/mixin/OnGrassBlockAppendPropertiesMixin.java @@ -1,7 +1,7 @@ -package net.fabricmc.desire_paths.mixin; +package com.matjojo.desire_paths.mixin; -import net.fabricmc.desire_paths.data.DesirePathsDataHolder; +import com.matjojo.desire_paths.data.DesirePathsDataHolder; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.SpreadableBlock; diff --git a/src/main/java/net/fabricmc/desire_paths/mixin/OnMyceliumBlockAppendPropertiesMixin.java b/src/main/java/com/matjojo/desire_paths/mixin/OnMyceliumBlockAppendPropertiesMixin.java similarity index 89% rename from src/main/java/net/fabricmc/desire_paths/mixin/OnMyceliumBlockAppendPropertiesMixin.java rename to src/main/java/com/matjojo/desire_paths/mixin/OnMyceliumBlockAppendPropertiesMixin.java index 1b3b57c..ece5799 100644 --- a/src/main/java/net/fabricmc/desire_paths/mixin/OnMyceliumBlockAppendPropertiesMixin.java +++ b/src/main/java/com/matjojo/desire_paths/mixin/OnMyceliumBlockAppendPropertiesMixin.java @@ -1,7 +1,7 @@ -package net.fabricmc.desire_paths.mixin; +package com.matjojo.desire_paths.mixin; -import net.fabricmc.desire_paths.data.DesirePathsDataHolder; +import com.matjojo.desire_paths.data.DesirePathsDataHolder; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.SpreadableBlock; diff --git a/src/main/java/net/fabricmc/desire_paths/mixin/OnPlayerAddStatisticsMixin.java b/src/main/java/com/matjojo/desire_paths/mixin/OnPlayerAddStatisticsMixin.java similarity index 96% rename from src/main/java/net/fabricmc/desire_paths/mixin/OnPlayerAddStatisticsMixin.java rename to src/main/java/com/matjojo/desire_paths/mixin/OnPlayerAddStatisticsMixin.java index f00e7f8..33f2548 100644 --- a/src/main/java/net/fabricmc/desire_paths/mixin/OnPlayerAddStatisticsMixin.java +++ b/src/main/java/com/matjojo/desire_paths/mixin/OnPlayerAddStatisticsMixin.java @@ -1,6 +1,6 @@ -package net.fabricmc.desire_paths.mixin; +package com.matjojo.desire_paths.mixin; -import net.fabricmc.desire_paths.data.DesirePathsDataHolder; +import com.matjojo.desire_paths.data.DesirePathsDataHolder; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.entity.Entity; diff --git a/src/main/java/net/fabricmc/desire_paths/mixin/OnRegisterBlockMixin.java b/src/main/java/com/matjojo/desire_paths/mixin/OnRegisterBlockMixin.java similarity index 89% rename from src/main/java/net/fabricmc/desire_paths/mixin/OnRegisterBlockMixin.java rename to src/main/java/com/matjojo/desire_paths/mixin/OnRegisterBlockMixin.java index 3bc54f3..229fd53 100644 --- a/src/main/java/net/fabricmc/desire_paths/mixin/OnRegisterBlockMixin.java +++ b/src/main/java/com/matjojo/desire_paths/mixin/OnRegisterBlockMixin.java @@ -1,8 +1,8 @@ -package net.fabricmc.desire_paths.mixin; +package com.matjojo.desire_paths.mixin; -import net.fabricmc.desire_paths.data.Blocks.GenericTrampleable; -import net.fabricmc.desire_paths.data.Blocks.SnowyTrampleable; -import net.fabricmc.desire_paths.data.DesirePathsDataHolder; +import com.matjojo.desire_paths.data.Blocks.GenericTrampleable; +import com.matjojo.desire_paths.data.Blocks.SnowyTrampleable; +import com.matjojo.desire_paths.data.DesirePathsDataHolder; import net.fabricmc.fabric.api.block.FabricBlockSettings; import net.minecraft.block.Block; import net.minecraft.block.Material; diff --git a/src/main/resources/desire-paths.mixins.json b/src/main/resources/desire-paths.mixins.json index e5cfd00..35b3682 100644 --- a/src/main/resources/desire-paths.mixins.json +++ b/src/main/resources/desire-paths.mixins.json @@ -1,6 +1,6 @@ { "required": true, - "package": "net.fabricmc.desire_paths.mixin", + "package": "com.matjojo.desire_paths.mixin", "compatibilityLevel": "JAVA_8", "mixins": [ "OnGrassBlockAppendPropertiesMixin", diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 59cf99c..77e0a82 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -29,9 +29,6 @@ "fabricloader": ">=0.4.0", "fabric": "*" }, - "suggests": { - "flamingo": "*" - }, "custom": { "modmenu:clientsideOnly": false }