Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
CreatureChat
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Public
CreatureChat
Commits
97a96262
Commit
97a96262
authored
5 years ago
by
modmuss50
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.15
parent
705d4da5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
gradle.properties
gradle.properties
+4
-4
ExampleMixin.java
src/main/java/net/fabricmc/example/mixin/ExampleMixin.java
+2
-2
fabric.mod.json
src/main/resources/fabric.mod.json
+1
-1
No files found.
gradle.properties
View file @
97a96262
...
@@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G
...
@@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# Fabric Properties
# check these on https://fabricmc.net/use
# check these on https://fabricmc.net/use
minecraft_version
=
1.1
4.4
minecraft_version
=
1.1
5
yarn_mappings
=
1.1
4.4+build.15
yarn_mappings
=
1.1
5+build.1
loader_version
=
0.7.
0+build.171
loader_version
=
0.7.
2+build.174
# Mod Properties
# Mod Properties
mod_version
=
1.0.0
mod_version
=
1.0.0
...
@@ -14,4 +14,4 @@ org.gradle.jvmargs=-Xmx1G
...
@@ -14,4 +14,4 @@ org.gradle.jvmargs=-Xmx1G
# Dependencies
# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version
=
0.4.
1+build.245-1.14
fabric_version
=
0.4.
23+build.276-1.15
This diff is collapsed.
Click to expand it.
src/main/java/net/fabricmc/example/mixin/ExampleMixin.java
View file @
97a96262
package
net
.
fabricmc
.
example
.
mixin
;
package
net
.
fabricmc
.
example
.
mixin
;
import
net.minecraft.client.
MinecraftClient
;
import
net.minecraft.client.
gui.screen.TitleScreen
;
import
org.spongepowered.asm.mixin.Mixin
;
import
org.spongepowered.asm.mixin.Mixin
;
import
org.spongepowered.asm.mixin.injection.At
;
import
org.spongepowered.asm.mixin.injection.At
;
import
org.spongepowered.asm.mixin.injection.Inject
;
import
org.spongepowered.asm.mixin.injection.Inject
;
import
org.spongepowered.asm.mixin.injection.callback.CallbackInfo
;
import
org.spongepowered.asm.mixin.injection.callback.CallbackInfo
;
@Mixin
(
MinecraftClient
.
class
)
@Mixin
(
TitleScreen
.
class
)
public
class
ExampleMixin
{
public
class
ExampleMixin
{
@Inject
(
at
=
@At
(
"HEAD"
),
method
=
"init()V"
)
@Inject
(
at
=
@At
(
"HEAD"
),
method
=
"init()V"
)
private
void
init
(
CallbackInfo
info
)
{
private
void
init
(
CallbackInfo
info
)
{
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/fabric.mod.json
View file @
97a96262
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
"depends"
:
{
"depends"
:
{
"fabricloader"
:
">=0.4.0"
,
"fabricloader"
:
">=0.4.0"
,
"fabric"
:
"*"
,
"fabric"
:
"*"
,
"minecraft"
:
"1.1
4
.x"
"minecraft"
:
"1.1
5
.x"
},
},
"suggests"
:
{
"suggests"
:
{
"flamingo"
:
"*"
"flamingo"
:
"*"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment