Skip to content

Commit

Permalink
fix the bullshit
Browse files Browse the repository at this point in the history
  • Loading branch information
pog5 committed Jul 8, 2023
1 parent 482f0c9 commit f93bb73
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 342 deletions.
5 changes: 1 addition & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
loom {
accessWidenerPath = file("src/main/resources/leashplayers.accesswidener")
}

archivesBaseName = project.archives_base_name
version = project.mod_version
Expand All @@ -32,7 +29,7 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

// Uncomment the following line to enable the deprecated Fabric API modules.
// Uncomment the following line to enable the deprecated Fabric API modules.
// These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time.

// modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ org.gradle.parallel=true
fabric_version=0.84.0+1.20.1

# Mod Properties
mod_version = 1.0.2
mod_version = 1.0.3
maven_group = me.pog5
archives_base_name = leashmod
Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
240 changes: 0 additions & 240 deletions gradlew

This file was deleted.

91 changes: 0 additions & 91 deletions gradlew.bat

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

@Mixin(ServerPlayerEntity.class)
public abstract class MixinServerPlayerEntity extends PlayerEntityMixin implements LeashImpl {
public abstract class MixinServerPlayerEntity implements LeashImpl {
private final ServerPlayerEntity leashplayers$self = (ServerPlayerEntity) (Object) this;
private final LeashSettings leashplayers$settings = LeashPlayers.getSettings(this.getworld());
private final LeashSettings leashplayers$settings = LeashPlayers.getSettings(leashplayers$self.getWorld());

private LeashProxyEntity leashplayers$proxy;
private Entity leashplayers$holder;
Expand Down
Binary file removed src/main/resources/assets/modid/icon.png
Binary file not shown.
3 changes: 1 addition & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},

"license": "MIT",
"icon": "assets/modid/icon.png",
"icon": "assets/leashplayers/icon.png",

"environment": "*",
"entrypoints": {
Expand All @@ -24,7 +24,6 @@
"mixins": [
"leashplayers.mixins.json"
],
"accessWidener" : "leashplayers.accesswidener",
"depends": {
"fabricloader": ">=0.14.14",
"fabric-api": "*",
Expand Down
2 changes: 0 additions & 2 deletions src/main/resources/leashplayers.accesswidener

This file was deleted.

0 comments on commit f93bb73

Please sign in to comment.