Skip to content

Commit

Permalink
putting on repo lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
woodytexas committed Apr 21, 2022
1 parent 458d2c0 commit 1f554ac
Show file tree
Hide file tree
Showing 9 changed files with 86 additions and 60 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* text=auto

gradlew text eol=lf
*.bat text eol=crlf

*.png binary
41 changes: 0 additions & 41 deletions LICENSE-TEMPLATE.md

This file was deleted.

6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ org.gradle.jvmargs = -Xmx1G
org.gradle.parallel = true

# Mod Properties
version = 1.0.0
maven_group = com.example
archives_base_name = example_mod
version = 0.0.1
maven_group = io.github.woodiertexas
archives_base_name = architecture_extensions

# Dependencies are managed at gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package com.example.example_mod;
package io.github.woodiertexas.architecture_extensions;

import org.quiltmc.loader.api.ModContainer;
import org.quiltmc.qsl.base.api.entrypoint.ModInitializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class ExampleMod implements ModInitializer {
public class ArchitectureExtensions implements ModInitializer {
// This logger is used to write text to the console and the log file.
// It is considered best practice to use your mod name as the logger's name.
// That way, it's clear which mod wrote info, warnings, and errors.
public static final Logger LOGGER = LoggerFactory.getLogger("Example Mod");
public static final Logger LOGGER = LoggerFactory.getLogger("Architecture Extensions");

@Override
public void onInitialize(ModContainer mod) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.example.example_mod.mixin;
package io.github.woodiertexas.architecture_extensions.mixin;

import com.example.example_mod.ExampleMod;
import io.github.woodiertexas.architecture_extensions.ArchitectureExtensions;
import net.minecraft.client.gui.screen.TitleScreen;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
Expand All @@ -11,6 +11,6 @@
public class TitleScreenMixin {
@Inject(method = "init", at = @At("TAIL"))
public void onInit(CallbackInfo ci) {
ExampleMod.LOGGER.info("This line is printed by an example mod mixin!");
ArchitectureExtensions.LOGGER.info("This line is printed by an example mod mixin!");
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"required": true,
"minVersion": "0.8",
"package": "com.example.example_mod.mixin",
"package": "io.github.woodiertexas.architecture_extensions.mixin",
"compatibilityLevel": "JAVA_17",
"mixins": [],
"client": [
"TitleScreenMixin"
"TitleScreenMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"credit": "Made with Blockbench",
"textures": {
"0": "stone_bricks",
"particle": "stone_bricks"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 4, 16],
"faces": {
"north": {"uv": [0, 12, 16, 16], "texture": "#0", "cullface": "north"},
"east": {"uv": [0, 12, 16, 16], "texture": "#0", "cullface": "east"},
"south": {"uv": [0, 12, 16, 16], "texture": "#0", "cullface": "south"},
"west": {"uv": [0, 12, 16, 16], "texture": "#0", "cullface": "west"},
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
"down": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "down"}
}
},
{
"from": [0, 4, 8],
"to": [16, 8, 12],
"faces": {
"north": {"uv": [0, 8, 16, 12], "texture": "#0"},
"east": {"uv": [4, 8, 8, 12], "texture": "#0", "cullface": "east"},
"west": {"uv": [8, 8, 12, 12], "texture": "#0", "cullface": "west"},
"up": {"uv": [0, 4, 16, 8], "texture": "#0"}
}
},
{
"from": [0, 4, 4],
"to": [16, 6, 8],
"faces": {
"north": {"uv": [0, 10, 16, 12], "texture": "#0"},
"east": {"uv": [8, 10, 12, 12], "texture": "#0", "cullface": "east"},
"west": {"uv": [4, 10, 8, 12], "texture": "#0", "cullface": "west"},
"up": {"uv": [0, 8, 16, 12], "texture": "#0"}
}
},
{
"from": [0, 8, 10],
"to": [16, 12, 12],
"faces": {
"north": {"uv": [0, 4, 16, 8], "texture": "#0"},
"east": {"uv": [3, 4, 5, 8], "texture": "#0", "cullface": "east"},
"west": {"uv": [10, 4, 12, 8], "texture": "#0", "cullface": "west"},
"up": {"uv": [0, 2, 16, 4], "texture": "#0"}
}
},
{
"from": [0, 4, 12],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 12], "texture": "#0"},
"east": {"uv": [0, 0, 4, 12], "texture": "#0", "cullface": "east"},
"south": {"uv": [0, 0, 16, 12], "texture": "#0", "cullface": "south"},
"west": {"uv": [0, 0, 4, 12], "texture": "#0", "cullface": "west"},
"up": {"uv": [0, 0, 16, 4], "texture": "#0", "cullface": "up"}
}
}
]
}
15 changes: 7 additions & 8 deletions src/main/resources/quilt.mod.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
{
"schema_version": 1,
"quilt_loader": {
"group": "com.example",
"id": "example_mod",
"group": "io.github.woodiertexas",
"id": "architecture_extensions",
"version": "${version}",
"metadata": {
"name": "Mod Name",
"name": "Architecture Extensions",
"description": "A short description of your mod.",
"contributors": {
"Me!": "Owner"
},
"icon": "assets/example_mod/icon.png"
"Me!": "woodiertexas"
}
},
"intermediate_mappings": "net.fabricmc:intermediary",
"entrypoints": {
"init": "com.example.example_mod.ExampleMod"
"init": "io.github.woodiertexas.architecture_extensions.ArchitectureExtensions"
},
"depends": [
{
Expand All @@ -31,5 +30,5 @@
}
]
},
"mixin": "example_mod.mixins.json"
"mixin": "architecture_extensions.mixins.json"
}

0 comments on commit 1f554ac

Please sign in to comment.