Fix javac compile issues.
This commit is contained in:
parent
27afdc8a27
commit
00fc29d40d
5 changed files with 14 additions and 7 deletions
|
@ -50,7 +50,7 @@ ext {
|
|||
MAPPING_CHANNEL = 'snapshot'
|
||||
MAPPING_VERSION = '20190719-1.14.3'
|
||||
MC_VERSION = '1.14.4'
|
||||
MCP_VERSION = '20190719.173545'
|
||||
MCP_VERSION = '20190719.225934'
|
||||
}
|
||||
|
||||
project(':mcp') {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
{
|
||||
lvt_13_5_ = this.field_177598_f.func_199004_b(resourcelocation1).stream().map((p_217839_1_) -> {
|
||||
try (InputStream inputstream = p_217839_1_.func_199027_b()) {
|
||||
- Pair pair2 = Pair.of(p_217839_1_.func_199026_d(), BlockModelDefinition.func_209577_a(this.field_209610_F, new InputStreamReader(inputstream, StandardCharsets.UTF_8)));
|
||||
- Pair<String, BlockModelDefinition> pair2 = Pair.of(p_217839_1_.func_199026_d(), BlockModelDefinition.func_209577_a(this.field_209610_F, new InputStreamReader(inputstream, StandardCharsets.UTF_8)));
|
||||
+ Pair<String, BlockModelDefinition> pair2 = Pair.of(p_217839_1_.func_199026_d(), BlockModelDefinition.fromJson(this.field_209610_F, new InputStreamReader(inputstream, StandardCharsets.UTF_8), p_209598_1_));
|
||||
return pair2;
|
||||
} catch (Exception exception1) {
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
AbstractChunkProvider abstractchunkprovider = this.func_72863_F();
|
||||
Chunk chunk = abstractchunkprovider.func_217205_a(p_180494_1_.func_177958_n() >> 4, p_180494_1_.func_177952_p() >> 4, false);
|
||||
if (chunk != null) {
|
||||
@@ -169,17 +177,45 @@
|
||||
@@ -169,23 +177,51 @@
|
||||
} else {
|
||||
Chunk chunk = this.func_175726_f(p_180501_1_);
|
||||
Block block = p_180501_2_.func_177230_c();
|
||||
|
@ -87,6 +87,13 @@
|
|||
if (blockstate1 == p_180501_2_) {
|
||||
if (blockstate != blockstate1) {
|
||||
this.func_225319_b(p_180501_1_, blockstate, blockstate1);
|
||||
}
|
||||
|
||||
- if ((p_180501_3_ & 2) != 0 && (!this.field_72995_K || (p_180501_3_ & 4) == 0) && (this.field_72995_K || chunk.func_217321_u() != null && chunk.func_217321_u().func_219065_a(ChunkHolder.LocationType.TICKING))) {
|
||||
+ if ((p_180501_3_ & 2) != 0 && (!this.field_72995_K || (p_180501_3_ & 4) == 0) && (this.field_72995_K || chunk == null || chunk.func_217321_u() != null && chunk.func_217321_u().func_219065_a(ChunkHolder.LocationType.TICKING))) {
|
||||
this.func_184138_a(p_180501_1_, blockstate, p_180501_2_, p_180501_3_);
|
||||
}
|
||||
|
||||
@@ -205,8 +241,6 @@
|
||||
|
||||
this.func_217393_a(p_180501_1_, blockstate, blockstate1);
|
||||
|
|
Loading…
Reference in a new issue