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
1
Merge Requests
1
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
4d0c3648
Commit
4d0c3648
authored
Nov 30, 2018
by
Adrian Siekierka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to 48b, new fabric-loader definition
parent
952a3d17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
build.gradle
build.gradle
+3
-3
ExampleMixin.java
src/main/java/net/fabricmc/example/mixin/ExampleMixin.java
+2
-2
No files found.
build.gradle
View file @
4d0c3648
...
...
@@ -29,7 +29,7 @@ minecraft {
}
dependencies
{
minecraft
"com.mojang:minecraft:18w4
4a
"
mappings
"net.fabricmc:pomf:18w4
4a.38
"
modCompile
"net.fabricmc:fabric-loader:
18w44a-0.1.0.43
"
minecraft
"com.mojang:minecraft:18w4
8b
"
mappings
"net.fabricmc:pomf:18w4
8b.4
"
modCompile
"net.fabricmc:fabric-loader:
0.1.0.48
"
}
src/main/java/net/fabricmc/example/mixin/ExampleMixin.java
View file @
4d0c3648
package
net
.
fabricmc
.
example
.
mixin
;
import
net.minecraft.client.Minecraft
Game
;
import
net.minecraft.client.Minecraft
Client
;
import
org.spongepowered.asm.mixin.Mixin
;
import
org.spongepowered.asm.mixin.injection.At
;
import
org.spongepowered.asm.mixin.injection.Inject
;
import
org.spongepowered.asm.mixin.injection.callback.CallbackInfo
;
@Mixin
(
Minecraft
Game
.
class
)
@Mixin
(
Minecraft
Client
.
class
)
public
class
ExampleMixin
{
@Inject
(
at
=
@At
(
"HEAD"
),
method
=
"init()V"
)
private
void
init
(
CallbackInfo
info
)
{
...
...
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