Skip to content

Commit

Permalink
entity events base
Browse files Browse the repository at this point in the history
  • Loading branch information
Oganesson897 committed Aug 30, 2024
1 parent ddc565a commit d58af10
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 0 deletions.
9 changes: 9 additions & 0 deletions entity-events/common/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apply from: rootProject.file("gradle/scripts/klib-common.gradle")

group = "band.kessoku.lib.events.entity"
base.archivesName = rootProject.name + "-entity-events"

dependencies {
moduleImplementation(project(":base-common"))
moduleImplementation(project(":event-base-common"))
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package band.kessoku.lib.events.entity;

import org.slf4j.Marker;
import org.slf4j.MarkerFactory;

public class KessokuEntityEvents {
public static final String MOD_ID = "kessoku_entity_events";
public static final Marker MARKER = MarkerFactory.getMarker("[KessokuEntityEvents]");
}
12 changes: 12 additions & 0 deletions entity-events/fabric/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apply from: rootProject.file("gradle/scripts/klib-fabric.gradle")

group = "band.kessoku.lib.events.entity"
base.archivesName = rootProject.name + "-entity-events"

dependencies {
moduleImplementation(project(":base-common"))
moduleImplementation(project(":event-base-common"))

common(project(path: ':entity-events-common', configuration: 'namedElements')) { transitive false }
shadowBundle project(path: ':entity-events-common', configuration: 'transformProductionFabric')
}
21 changes: 21 additions & 0 deletions entity-events/neo/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apply from: rootProject.file("gradle/scripts/klib-neo.gradle")

group = "band.kessoku.lib.events.entity"
base.archivesName = rootProject.name + "-entity-events"

loom {
//accessWidenerPath = file("src/main/resources/kessoku-entity-events.accesswidener")
}

dependencies {
moduleImplementation(project(":base-common"))
moduleImplementation(project(":event-base-common"))
moduleImplementation(project(":event-base-neo"))

common(project(path: ':entity-events-common', configuration: 'namedElements')) { transitive false }
shadowBundle project(path: ':entity-events-common', configuration: 'transformProductionNeoForge')
}

remapJar {
//atAccessWideners.add("kessoku-entity-events.accesswidener")
}
1 change: 1 addition & 0 deletions entity-events/neo/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
loom.platform=neoforge
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ includeModule("command") // Command API
includeModule("keybind") // Keybind API
includeModule("config") // Config API
includeModule("entrypoint") // Entrypoint API
includeModule("entity-events") // Entity Events


void includeWrapper(String platform) {
Expand Down

0 comments on commit d58af10

Please sign in to comment.