init
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
commonProperties
|
||||
fabric.development=true
|
||||
log4j.configurationFile=C:\Users\user\IdeaProjects\sable\fabric\.gradle\loom-cache\log4j.xml
|
||||
log4j2.formatMsgNoLookups=true
|
||||
fabric.defaultModDistributionNamespace=intermediary
|
||||
fabric.defaultMixinRemapType=mixin
|
||||
fabric.remapClasspathFile=C:\Users\user\IdeaProjects\sable\fabric\.gradle\loom-cache\remapClasspath.txt
|
||||
fabric.log.disableAnsi=false
|
||||
clientArgs
|
||||
--assetIndex
|
||||
1.21.1-17
|
||||
--assetsDir
|
||||
C:\Users\user\.gradle\caches\fabric-loom\assets
|
||||
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
|
||||
<!-- System out -->
|
||||
<Console name="SysOut" target="SYSTEM_OUT">
|
||||
<!-- Filter out the authentication errors when starting in development -->
|
||||
<Filters>
|
||||
<RegexFilter regex="^Failed to verify authentication$" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
<RegexFilter regex="^Failed to fetch user properties$" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
<RegexFilter regex="^Couldn't connect to realms$" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
<RegexFilter regex="^Failed to fetch Realms feature flags$" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</Filters>
|
||||
<PatternLayout>
|
||||
<LoggerNamePatternSelector defaultPattern="%style{[%d{HH:mm:ss}]}{blue} %highlight{[%t/%level]}{FATAL=red, ERROR=red, WARN=yellow, INFO=green, DEBUG=green, TRACE=blue} %style{(%logger{1})}{cyan} %highlight{%msg%n}{FATAL=red, ERROR=red, WARN=normal, INFO=normal, DEBUG=normal, TRACE=normal}" disableAnsi="${sys:fabric.log.disableAnsi:-true}">
|
||||
<!-- Dont show the logger name for minecraft classes-->
|
||||
<PatternMatch key="net.minecraft.,com.mojang." pattern="%style{[%d{HH:mm:ss}]}{blue} %highlight{[%t/%level]}{FATAL=red, ERROR=red, WARN=yellow, INFO=green, DEBUG=green, TRACE=blue} %style{(Minecraft)}{cyan} %highlight{%msg{nolookups}%n}{FATAL=red, ERROR=red, WARN=normal, INFO=normal, DEBUG=normal, TRACE=normal}"/>
|
||||
</LoggerNamePatternSelector>
|
||||
</PatternLayout>
|
||||
</Console>
|
||||
|
||||
<!-- Vanilla server gui -->
|
||||
<Queue name="ServerGuiConsole" ignoreExceptions="true">
|
||||
<PatternLayout>
|
||||
<LoggerNamePatternSelector defaultPattern="[%d{HH:mm:ss} %level] (%logger{1}) %msg{nolookups}%n">
|
||||
<!-- Dont show the logger name for minecraft classes-->
|
||||
<PatternMatch key="net.minecraft.,com.mojang." pattern="[%d{HH:mm:ss} %level] %msg{nolookups}%n"/>
|
||||
</LoggerNamePatternSelector>
|
||||
</PatternLayout>
|
||||
</Queue>
|
||||
|
||||
<!-- latest.log same as vanilla -->
|
||||
<RollingRandomAccessFile name="LatestFile" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
|
||||
<PatternLayout>
|
||||
<LoggerNamePatternSelector defaultPattern="[%d{HH:mm:ss}] [%t/%level] (%logger{1}) %msg{nolookups}%n">
|
||||
<!-- Dont show the logger name for minecraft classes-->
|
||||
<PatternMatch key="net.minecraft.,com.mojang." pattern="[%d{HH:mm:ss}] [%t/%level] (Minecraft) %msg{nolookups}%n"/>
|
||||
</LoggerNamePatternSelector>
|
||||
</PatternLayout>
|
||||
<Policies>
|
||||
<TimeBasedTriggeringPolicy />
|
||||
<OnStartupTriggeringPolicy />
|
||||
</Policies>
|
||||
</RollingRandomAccessFile>
|
||||
|
||||
<!-- Debug log file -->
|
||||
<RollingRandomAccessFile name="DebugFile" fileName="logs/debug.log" filePattern="logs/debug-%i.log.gz">
|
||||
<PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level] (%logger) %msg{nolookups}%n" />
|
||||
|
||||
<!-- Keep 5 files max -->
|
||||
<DefaultRolloverStrategy max="5" fileIndex="min"/>
|
||||
|
||||
<Policies>
|
||||
<SizeBasedTriggeringPolicy size="200MB"/>
|
||||
<OnStartupTriggeringPolicy />
|
||||
</Policies>
|
||||
|
||||
</RollingRandomAccessFile>
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
<Logger level="${sys:fabric.log.level:-info}" name="net.minecraft"/>
|
||||
<Root level="${sys:fabric.log.debug.level:-debug}">
|
||||
<AppenderRef ref="DebugFile" level="${sys:fabric.log.debug.level:-debug}"/>
|
||||
<AppenderRef ref="SysOut" level="${sys:fabric.log.level:-info}"/>
|
||||
<AppenderRef ref="LatestFile" level="${sys:fabric.log.level:-info}"/>
|
||||
<AppenderRef ref="ServerGuiConsole" level="${sys:fabric.log.level:-info}"/>
|
||||
</Root>
|
||||
</Loggers>
|
||||
</Configuration>
|
||||
File diff suppressed because one or more lines are too long
+152950
File diff suppressed because it is too large
Load Diff
+152950
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,72 @@
|
||||
plugins {
|
||||
id 'me.modmuss50.mod-publish-plugin'
|
||||
id 'net.fabricmc.fabric-loom-remap'
|
||||
id 'multiloader-loader'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
minecraft "com.mojang:minecraft:${minecraft_version}"
|
||||
mappings loom.layered {
|
||||
officialMojangMappings()
|
||||
parchment("org.parchmentmc.data:parchment-${parchment_minecraft}:${parchment_version}@zip")
|
||||
}
|
||||
|
||||
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
|
||||
modImplementation fabricApi.module("fabric-command-api-v2", project.fabric_version)
|
||||
modImplementation fabricApi.module("fabric-lifecycle-events-v1", project.fabric_version)
|
||||
modImplementation fabricApi.module("fabric-resource-loader-v0", project.fabric_version)
|
||||
modImplementation fabricApi.module("fabric-convention-tags-v2", project.fabric_version)
|
||||
|
||||
include(implementation("org.apache.maven:maven-artifact:3.8.5"))
|
||||
|
||||
include(modApi("dev.ryanhcode.sable-companion:sable-companion-fabric-$minecraft_version:$sable_companion_version"))
|
||||
|
||||
modCompileOnly "maven.modrinth:sodium:$rootProject.sodium_version"
|
||||
modCompileOnly "maven.modrinth:distanthorizons:$rootProject.distant_horizons_version"
|
||||
modCompileOnly "maven.modrinth:sodium-extras:fabric-${minecraft_version}-$sodiumextras_version"
|
||||
modLocalRuntime "maven.modrinth:sodium:$rootProject.sodium_version"
|
||||
modLocalRuntime "maven.modrinth:distanthorizons:$rootProject.distant_horizons_version"
|
||||
modLocalRuntime "maven.modrinth:sodium-extras:fabric-${minecraft_version}-$sodiumextras_version"
|
||||
|
||||
include(modApi("foundry.veil:veil-fabric-${project.minecraft_version}:${project.veil_version}"))
|
||||
modCompileOnly("foundry.imguimc:imguimc-fabric-${project.minecraft_version}:${project.imguimc_version}")
|
||||
|
||||
include(modApi("fuzs.forgeconfigapiport:forgeconfigapiport-fabric:${forgeconfigapiport_version}")) //source: https://github.com/Fuzss/forgeconfigapiport-fabric
|
||||
}
|
||||
|
||||
loom {
|
||||
def aw = project(":common").file("src/main/resources/${mod_id}.accesswidener")
|
||||
if (aw.exists()) {
|
||||
accessWidenerPath.set(aw)
|
||||
}
|
||||
runs {
|
||||
def client = client {
|
||||
client()
|
||||
setConfigName("Fabric Client")
|
||||
ideConfigGenerated(true)
|
||||
runDir("runs/client")
|
||||
}
|
||||
def server = server {
|
||||
server()
|
||||
setConfigName("Fabric Server")
|
||||
ideConfigGenerated(true)
|
||||
runDir("runs/server")
|
||||
}
|
||||
|
||||
clientMixinExport {
|
||||
inherit(client)
|
||||
setConfigName(configName + " | Mixin Export")
|
||||
vmArg("-Dmixin.debug.export=true")
|
||||
}
|
||||
serverMixinExport {
|
||||
inherit(server)
|
||||
setConfigName(configName + " | Mixin Export")
|
||||
vmArg("-Dmixin.debug.export=true")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
maven { url = "https://maven.quiltmc.org/repository/release" }
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user