Skip to content

Commit

Permalink
Update to 1.15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Feb 10, 2020
1 parent d5d4cef commit 8dcbf1c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ apply plugin: 'eclipse'
apply plugin: 'maven-publish'

ext {
MC_VERSION = '1.15.1'
FORGE_VERSION = '30.0.7'
MC_VERSION = '1.15.2'
FORGE_VERSION = '31.1.0'
MY_VERSION = gitVersion()
MODID = 'chunknogobyebye'
changelog = rootProject.file('build/changelog.txt')
Expand All @@ -41,8 +41,8 @@ sourceSets {
}

minecraft {
mappings channel: 'snapshot', version: '20190719-1.14.3'
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
mappings channel: 'snapshot', version: '20200201-1.15.1'
//accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')

runs {
client {
Expand Down Expand Up @@ -73,6 +73,7 @@ minecraft {
workingDirectory project.file('run')
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.console.level', 'info'
property 'fml.earlyprogresswindow', 'false'

args '--mod', MODID, '--all', '--output', file('src/generated/resources/')

Expand Down
8 changes: 4 additions & 4 deletions src/main/java/net/minecraftforge/lex/cngbb/DataCreator.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private static void save(DirectoryCache cache, Object object, Path target) throw
}
}

cache.func_208316_a(target, hash);
cache.recordHash(target, hash);
}

private static class Recipes extends RecipeProvider {
Expand Down Expand Up @@ -134,13 +134,13 @@ private class Blocks extends BlockLootTables {
private Set<Block> knownBlocks = new HashSet<>();

protected void addTables() {
this.func_218492_c(LOADER_BLOCK.get());
this.registerDropSelfLootTable(LOADER_BLOCK.get());
}

@Override
public void func_218492_c(Block block) {
public void registerDropSelfLootTable(Block block) {
knownBlocks.add(block);
super.func_218492_c(block);
super.registerDropSelfLootTable(block);
}

@Override
Expand Down
2 changes: 0 additions & 2 deletions src/main/resources/META-INF/accesstransformer.cfg

This file was deleted.

6 changes: 3 additions & 3 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
modLoader="javafml"
loaderVersion="[30,)"
loaderVersion="[31,)"
# A URL to refer people to when problems occur with this mod
#issueTrackerURL="http://my.issue.tracker/" #optional

Expand All @@ -17,13 +17,13 @@ loaderVersion="[30,)"
[[dependencies.chunknogobyebye]]
modId="forge"
mandatory=true
versionRange="[30,)"
versionRange="[31,)"
ordering="NONE"
side="BOTH"

[[dependencies.chunknogobyebye]]
modId="minecraft"
mandatory=true
versionRange="[1.15.1]"
versionRange="[1.15.2]"
ordering="NONE"
side="BOTH"

0 comments on commit 8dcbf1c

Please # to comment.