Update mcp mappings to 20171003

This commit is contained in:
mezz committed 2017-10-03 22:08:36 -07:00
1 parent f494117453
commit 083daeb5ed
6 files changed
+10 -10

No files matched your search

@@ -271,7 +271,7 @@ public class ForgeHooksClient
{
BlockPos pos = center.add(x, 0, z);
Biome biome = world.getBiome(pos);
int colour = biome.getSkyColorByTemp(biome.getFloatTemperature(pos));
int colour = biome.getSkyColorByTemp(biome.getTemperature(pos));
r += (colour & 0xFF0000) >> 16;
g += (colour & 0x00FF00) >> 8;
b += colour & 0x0000FF;
@@ -255,7 +255,7 @@ public class BiomeDictionary
{
if (biome.decorator.treesPerChunk >= 3)
{
if (biome.isHighHumidity() && biome.getTemperature() >= 0.9F)
if (biome.isHighHumidity() && biome.getDefaultTemperature() >= 0.9F)
{
BiomeDictionary.addTypes(biome, JUNGLE);
}
@@ -263,7 +263,7 @@ public class BiomeDictionary
{
BiomeDictionary.addTypes(biome, FOREST);
if (biome.getTemperature() <= 0.2f)
if (biome.getDefaultTemperature() <= 0.2f)
{
BiomeDictionary.addTypes(biome, CONIFEROUS);
}
@@ -287,12 +287,12 @@ public class BiomeDictionary
BiomeDictionary.addTypes(biome, DRY);
}
if (biome.getTemperature() > 0.85f)
if (biome.getDefaultTemperature() > 0.85f)
{
BiomeDictionary.addTypes(biome, HOT);
}
if (biome.getTemperature() < 0.15f)
if (biome.getDefaultTemperature() < 0.15f)
{
BiomeDictionary.addTypes(biome, COLD);
}
@@ -338,7 +338,7 @@ public class BiomeDictionary
BiomeDictionary.addTypes(biome, SNOWY);
}
if (biome.topBlock != Blocks.SAND && biome.getTemperature() >= 1.0f && biome.getRainfall() < 0.2f)
if (biome.topBlock != Blocks.SAND && biome.getDefaultTemperature() >= 1.0f && biome.getRainfall() < 0.2f)
{
BiomeDictionary.addTypes(biome, SAVANNA);
}
@@ -780,7 +780,7 @@ public class ForgeHooks
&& !itemstack.getItem().canDestroyBlockInCreative(world, pos, itemstack, entityPlayer))
preCancelEvent = true;
if (gameType.isAdventure())
if (gameType.hasLimitedInteractions())
{
if (gameType == GameType.SPECTATOR)
preCancelEvent = true;
@@ -423,7 +423,7 @@ public class GameData
@Override public ItemStack getCraftingResult(InventoryCrafting inv) { return result; }
@Override public boolean canFit(int width, int height) { return false; }
@Override public ItemStack getRecipeOutput() { return result; }
@Override public boolean isHidden() { return true; }
@Override public boolean isDynamic() { return true; }
}
}