Update mcp mappings to 20170611

This commit is contained in:
mezz committed 2017-06-17 17:13:44 -07:00
1 parent 864b05074e
commit 3d322ef925
48 files changed
+213 -211

No files matched your search

@@ -48,7 +48,7 @@ public class PlayerDropsEvent extends LivingDropsEvent
*/
public PlayerDropsEvent(EntityPlayer entity, DamageSource source, List<EntityItem> drops, boolean recentlyHit)
{
super(entity, source, drops, ForgeHooks.getLootingLevel(entity, source.getEntity(), source), recentlyHit);
super(entity, source, drops, ForgeHooks.getLootingLevel(entity, source.getTrueSource(), source), recentlyHit);
this.entityPlayer = entity;
}
@@ -39,7 +39,7 @@ public class DeferredBiomeDecorator extends BiomeDecorator {
{
fireCreateEventAndReplace(biome);
// On first call to decorate, we fire and substitute ourselves, if we haven't already done so
biome.theBiomeDecorator.decorate(par1World, par2Random, biome, pos);
biome.decorator.decorate(par1World, par2Random, biome, pos);
}
public void fireCreateEventAndReplace(Biome biome)
{
@@ -49,17 +49,17 @@ public class DeferredBiomeDecorator extends BiomeDecorator {
wrapped.clayPerChunk = clayPerChunk;
wrapped.deadBushPerChunk = deadBushPerChunk;
wrapped.flowersPerChunk = flowersPerChunk;
wrapped.generateLakes = generateLakes;
wrapped.generateFalls = generateFalls;
wrapped.grassPerChunk = grassPerChunk;
wrapped.mushroomsPerChunk = mushroomsPerChunk;
wrapped.reedsPerChunk = reedsPerChunk;
wrapped.sandPerChunk = sandPerChunk;
wrapped.sandPerChunk2 = sandPerChunk2;
wrapped.gravelPatchesPerChunk = gravelPatchesPerChunk;
wrapped.sandPatchesPerChunk = sandPatchesPerChunk;
wrapped.treesPerChunk = treesPerChunk;
wrapped.waterlilyPerChunk = waterlilyPerChunk;
BiomeEvent.CreateDecorator event = new BiomeEvent.CreateDecorator(biome, wrapped);
MinecraftForge.TERRAIN_GEN_BUS.post(event);
biome.theBiomeDecorator = event.getNewBiomeDecorator();
biome.decorator = event.getNewBiomeDecorator();
}
}