Skip to content

Commit 7fa6bb5

Browse files
committed
Added Lead Vein!
1 parent b3e11eb commit 7fa6bb5

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ sourceSets.main.resources { srcDir 'src/generated/resources' }
123123
repositories {
124124
// Put repositories for dependencies here
125125
// ForgeGradle automatically adds the Forge maven and Maven Central for you
126-
126+
maven { url = "https://dl.cloudsmith.io/public/zkrylemods/coopperativelib/maven/" }
127127
// If you have mod jar dependencies in ./libs, you can declare them as a repository like so:
128128
// flatDir {
129129
// dir 'libs'
@@ -136,13 +136,13 @@ dependencies {
136136
// Specify the version of Minecraft to use. If this is any group other than 'net.minecraft', it is assumed
137137
// that the dep is a ForgeGradle 'patcher' dependency, and its patches will be applied.
138138
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
139-
minecraft 'net.minecraftforge:forge:1.18-38.0.14'
139+
minecraft 'net.minecraftforge:forge:1.18-38.0.17'
140140

141141
// Real mod deobf dependency examples - these get remapped to your current mappings
142142
// compileOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}:api") // Adds JEI API as a compile dependency
143143
// runtimeOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}") // Adds the full JEI mod as a runtime dependency
144144
// implementation fg.deobf("com.tterrag.registrate:Registrate:MC${mc_version}-${registrate_version}") // Adds registrate as a dependency
145-
145+
implementation fg.deobf("com.zkryle:coopperativelib-1.18:1.0")
146146
// Examples using mod jars from ./libs
147147
// implementation fg.deobf("blank:coolmod-${mc_version}:${coolmod_version}")
148148

src/main/java/me/gleep/oreganized/Oreganized.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package me.gleep.oreganized;
22

3+
import com.zkryle.coopperative.lib.veins.VeinRegistry;
4+
import com.zkryle.coopperative.lib.veins.common.Vein;
35
import me.gleep.oreganized.armors.STABase;
46
import me.gleep.oreganized.capabilities.CapabilityHandler;
57
import me.gleep.oreganized.tools.STSBase;
@@ -44,6 +46,10 @@ private void setup(final FMLCommonSetupEvent event) {
4446
OreganizedPlacedFeatures.registerPlacedFeatures();
4547
SimpleNetwork.register();
4648
});
49+
// Register Veins
50+
// Example Vein:
51+
// new Vein( RegistryHandler.GLANCE.get(), RegistryHandler.DEEPSLATE_LEAD_ORE.get(), RegistryHandler.RAW_LEAD_BLOCK.get(), -60, 4 )
52+
VeinRegistry.registerVein( new Vein( RegistryHandler.GLANCE.get(), RegistryHandler.DEEPSLATE_LEAD_ORE.get(), RegistryHandler.RAW_LEAD_BLOCK.get(), -60, 4 ) );
4753
}
4854

4955
private void doClientStuff(final FMLClientSetupEvent event) {

0 commit comments

Comments
 (0)