Skip to content

Commit a382d20

Browse files
authored
Merge pull request #18 from GamingCrew69/1.16.4
Update to 1.16.4
2 parents f922d18 + c7ec8f7 commit a382d20

File tree

4,874 files changed

+15087
-77353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,874 files changed

+15087
-77353
lines changed

build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,21 @@ apply plugin: 'net.minecraftforge.gradle'
1313
apply plugin: 'eclipse'
1414
apply plugin: 'maven-publish'
1515

16-
version = '1.15.2-1.2.0'
16+
version = '1.16.4-1.3.0'
1717

1818
group = 'com.quizer9o8.strata' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
1919
archivesBaseName = 'strata'
2020

2121
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
2222

23+
println('Java: ' + System.getProperty('java.version') + ' JVM: ' + System.getProperty('java.vm.version') + '(' + System.getProperty('java.vendor') + ') Arch: ' + System.getProperty('os.arch'))
2324
minecraft {
2425
// The mappings can be changed at any time, and must be in the following format.
2526
// snapshot_YYYYMMDD Snapshot are built nightly.
2627
// stable_# Stables are built at the discretion of the MCP team.
2728
// Use non-default mappings at your own risk. they may not always work.
2829
// Simply re-run your setup task after changing the mappings to update your workspace.
29-
mappings channel: 'snapshot', version: '20201228-1.15.1'
30+
mappings channel: 'snapshot', version: '20201028-1.16.3'
3031
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
3132

3233
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
@@ -75,7 +76,8 @@ minecraft {
7576
// Recommended logging level for the console
7677
property 'forge.logging.console.level', 'debug'
7778

78-
args '--mod', 'examplemod', '--all', '--output', file('src/generated/resources/')
79+
// Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources.
80+
args '--mod', 'examplemod', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
7981

8082
mods {
8183
examplemod {
@@ -90,7 +92,7 @@ dependencies {
9092
// Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed
9193
// that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied.
9294
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
93-
minecraft 'net.minecraftforge:forge:1.15.2-31.2.0'
95+
minecraft 'net.minecraftforge:forge:1.16.4-35.1.37'
9496

9597
// You may put jars on which you depend on in ./libs or you may define them like so..
9698
// compile "some.group:artifact:version:classifier"
@@ -141,7 +143,7 @@ publishing {
141143
}
142144
repositories {
143145
maven {
144-
url "https://example.com/"
146+
url "file:///${project.projectDir}/mcmodsrepo"
145147
}
146148
}
147149
}

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
22
# This is required to provide enough memory for the Minecraft decompilation process.
33
org.gradle.jvmargs=-Xmx3G
4-
org.gradle.daemon=false
4+
org.gradle.daemon=false
5+
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 ./gradlew

src/main/java/com/quizer9o8/strata/Strata.java

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import com.quizer9o8.strata.list.BlockList;
44
import com.quizer9o8.strata.list.ItemList;
5-
import com.quizer9o8.strata.world.gen.StrataGeneration;
65
import net.minecraft.item.ItemGroup;
76
import net.minecraft.item.ItemStack;
87
import net.minecraft.tags.BlockTags;
@@ -46,18 +45,12 @@ public Strata()
4645

4746
final IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();
4847

49-
modEventBus.addListener(this::setup);
5048
modEventBus.addListener(this::clientSetup);
5149

5250
BlockList.BLOCKS.register(modEventBus);
5351
ItemList.ITEMS.register(modEventBus);
5452
}
5553

56-
private void setup(final FMLCommonSetupEvent event)
57-
{
58-
StrataGeneration.generate();
59-
}
60-
6154
private void clientSetup(final FMLClientSetupEvent event)
6255
{
6356

@@ -69,10 +62,10 @@ public void onServerStarting(FMLServerStartingEvent event)
6962
}
7063

7164
//Should tell in the logs if the blocks are correctly being read into the tag or not for TerraForged
72-
@SubscribeEvent
73-
public static void started(FMLServerStartedEvent event) {
74-
new BlockTags.Wrapper(new ResourceLocation("forge:wg_stone")).getAllElements().forEach(System.out::println);
75-
}
65+
//@SubscribeEvent
66+
//public static void started(FMLServerStartedEvent event) {
67+
// new BlockTags.Wrapper(new ResourceLocation("reterraforged:rock")).getAllElements().forEach(System.out::println);
68+
//}
7669

7770
//Creative Tab Objects
7871

@@ -100,7 +93,7 @@ public IgneousRocksItemGroup(String name) {
10093

10194
@Override
10295
public ItemStack createIcon(){
103-
return new ItemStack(ItemList.BASALT.get());
96+
return new ItemStack(ItemList.DACITE.get());
10497
}
10598
}
10699

0 commit comments

Comments
 (0)