forked from Martmists/YNet
7 changed files with 73 additions and 4 deletions
@ -0,0 +1,36 @@
@@ -0,0 +1,36 @@
|
||||
buildscript { |
||||
dependencies { |
||||
classpath "net.fabricmc:fabric-loom:0.2.7-SNAPSHOT" |
||||
} |
||||
repositories { |
||||
maven { |
||||
name = 'Fabric' |
||||
url = 'https://maven.fabricmc.net/' |
||||
} |
||||
gradlePluginPortal() |
||||
} |
||||
} |
||||
|
||||
apply plugin: 'fabric-loom' |
||||
apply plugin: 'java' |
||||
apply plugin: "idea" |
||||
|
||||
setBuildDir("../../build") |
||||
|
||||
dependencies { |
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}" |
||||
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" |
||||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" |
||||
modImplementation "com.github.vini2003:spinnery:${project.spinnery_version}" |
||||
} |
||||
|
||||
repositories { |
||||
maven { |
||||
name = "Spinnery" |
||||
url "https://dl.bintray.com/spinnery/Spinnery" |
||||
} |
||||
mavenCentral() |
||||
maven { |
||||
url 'https://jitpack.io' |
||||
} |
||||
} |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
minecraft_version=20w11a |
||||
yarn_mappings=20w11a+build.6 |
||||
loader_version=0.7.8+build.187 |
||||
fabric_version=0.5.3+build.308-1.16 |
||||
spinnery_version=2.0.19+fabric-20w11a |
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
package spinnery.common; |
||||
|
||||
import net.minecraft.entity.player.PlayerInventory; |
||||
import spinnery.common.BaseScreenHandler; |
||||
|
||||
public class BaseContainer extends BaseScreenHandler { |
||||
public BaseContainer(int synchronizationID, PlayerInventory linkedPlayerInventory) { |
||||
super(synchronizationID, linkedPlayerInventory); |
||||
} |
||||
} |
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
package spinnery.common; |
||||
|
||||
import net.minecraft.entity.player.PlayerEntity; |
||||
import net.minecraft.text.Text; |
||||
import spinnery.common.BaseContainer; |
||||
import spinnery.common.BaseHandledScreen; |
||||
|
||||
public class BaseContainerScreen<T extends BaseContainer> extends BaseHandledScreen<T> { |
||||
public BaseContainerScreen(Text name, T linkedContainer, PlayerEntity player) { |
||||
super(name, linkedContainer, player); |
||||
} |
||||
} |
@ -1,4 +1,5 @@
@@ -1,4 +1,5 @@
|
||||
include "versions:1.15.2" |
||||
include "versions:1.16" |
||||
include ":versions:1.15.2" |
||||
include ":versions:1.16" |
||||
include ":compat:1.16" |
||||
|
||||
rootProject.name = 'ynet' |
||||
|
Loading…
Reference in new issue