-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a620567
commit 662a153
Showing
19 changed files
with
84 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"accessWidener": "rightclickharvest.accesswidener" | ||
"accessWidener": "rightclickharvest.accesswidener" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"required": true, | ||
"minVersion": "0.8", | ||
"package": "io.github.jamalam360.rightclickharvest.mixin", | ||
"compatibilityLevel": "JAVA_17", | ||
"mixins": [ | ||
], | ||
"client": [ | ||
], | ||
"server": [ | ||
], | ||
"injectors": { | ||
"defaultRequire": 1 | ||
} | ||
"required": true, | ||
"minVersion": "0.8", | ||
"package": "io.github.jamalam360.rightclickharvest.mixin", | ||
"compatibilityLevel": "JAVA_17", | ||
"mixins": [ | ||
], | ||
"client": [ | ||
], | ||
"server": [ | ||
], | ||
"injectors": { | ||
"defaultRequire": 1 | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 5 additions & 9 deletions
14
.../src/main/java/io/github/jamalam360/rightclickharvest/fabric/RightClickHarvestFabric.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
package io.github.jamalam360.rightclickharvest.fabric; | ||
|
||
import io.github.jamalam360.rightclickharvest.fabriclike.RightClickHarvestFabricLike; | ||
import io.github.jamalam360.rightclickharvest.fabriclike.RightClickHarvestFabricLikeCallbacks; | ||
import net.fabricmc.api.ModInitializer; | ||
import net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents; | ||
|
||
import java.util.Random; | ||
|
||
public class RightClickHarvestFabric implements ModInitializer { | ||
@Override | ||
public void onInitialize() { | ||
RightClickHarvestFabricLike.init(); | ||
} | ||
|
||
@Override | ||
public void onInitialize() { | ||
RightClickHarvestFabricLike.init(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
{ | ||
"schemaVersion": 1, | ||
"id": "rightclickharvest", | ||
"version": "${version}", | ||
"name": "Right Click Harvest", | ||
"description": "Right click crops to harvest them - with style.", | ||
"authors": [ | ||
"Jamalam" | ||
], | ||
"contact": { | ||
"homepage": "https://github.com/JamCoreModding/right-click-harvest", | ||
"sources": "https://github.com/JamCoreModding/right-click-harvest", | ||
"issues": "https://github.com/JamCoreModding/right-click-harvest/issues" | ||
}, | ||
"license": "MIT", | ||
"icon": "assets/rightclickharvest/icon.png", | ||
"environment": "*", | ||
"entrypoints": { | ||
"main": [ | ||
"io.github.jamalam360.rightclickharvest.fabric.RightClickHarvestFabric" | ||
] | ||
}, | ||
"mixins": [ | ||
"rightclickharvest.mixins.json" | ||
], | ||
"depends": { | ||
"fabricloader": ">=0.14", | ||
"fabric": "*", | ||
"minecraft": ">=1.20", | ||
"java": ">=17", | ||
"architectury": ">=9.1.12" | ||
} | ||
"schemaVersion": 1, | ||
"id": "rightclickharvest", | ||
"version": "${version}", | ||
"name": "Right Click Harvest", | ||
"description": "Right click crops to harvest them - with style.", | ||
"authors": [ | ||
"Jamalam" | ||
], | ||
"contact": { | ||
"homepage": "https://github.com/JamCoreModding/right-click-harvest", | ||
"sources": "https://github.com/JamCoreModding/right-click-harvest", | ||
"issues": "https://github.com/JamCoreModding/right-click-harvest/issues" | ||
}, | ||
"license": "MIT", | ||
"icon": "assets/rightclickharvest/icon.png", | ||
"environment": "*", | ||
"entrypoints": { | ||
"main": [ | ||
"io.github.jamalam360.rightclickharvest.fabric.RightClickHarvestFabric" | ||
] | ||
}, | ||
"mixins": [ | ||
"rightclickharvest.mixins.json" | ||
], | ||
"depends": { | ||
"fabricloader": ">=0.14", | ||
"fabric": "*", | ||
"minecraft": ">=1.20", | ||
"java": ">=17", | ||
"architectury": ">=9.1.12" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"pack": { | ||
"description": "Right Click Harvest", | ||
"pack_format": 15 | ||
} | ||
"pack": { | ||
"description": "Right Click Harvest", | ||
"pack_format": 15 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"pack": { | ||
"description": "Right Click Harvest", | ||
"pack_format": 15 | ||
} | ||
"pack": { | ||
"description": "Right Click Harvest", | ||
"pack_format": 15 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters