Update mappings to 20151122.

This commit is contained in:
cpw committed 2015-11-23 23:18:52 -05:00
1 parent 84c3ef0f5c
commit 68dfcccd57
15 files changed
+65 -65

No files matched your search

@@ -234,7 +234,7 @@ public class ChestGenHooks
public ItemStack getOneItem(Random rand)
{
WeightedRandomChestContent item = (WeightedRandomChestContent)WeightedRandom.getRandomItem(rand, getItems(rand));
ItemStack[] stacks = ChestGenHooks.generateStacks(rand, item.theItemId, item.theMinimumChanceToGenerateItem, item.theMaximumChanceToGenerateItem);
ItemStack[] stacks = ChestGenHooks.generateStacks(rand, item.theItemId, item.minStackSize, item.maxStackSize);
return (stacks.length > 0 ? stacks[0] : null);
}
@@ -670,7 +670,7 @@ public class ForgeHooks
if (world.getTileEntity(pos) == null)
{
S23PacketBlockChange packet = new S23PacketBlockChange(world, pos);
packet.field_148883_d = Blocks.air.getDefaultState();
packet.blockState = Blocks.air.getDefaultState();
entityPlayer.playerNetServerHandler.sendPacket(packet);
}
@@ -23,7 +23,7 @@ public class FakePlayer extends EntityPlayerMP
}
@Override public Vec3 getPositionVector(){ return new Vec3(0, 0, 0); }
@Override public boolean canUseCommand(int i, String s){ return false; }
@Override public boolean canCommandSenderUseCommand(int i, String s){ return false; }
@Override public void addChatComponentMessage(IChatComponent chatmessagecomponent){}
@Override public void addStat(StatBase par1StatBase, int par2){}
@Override public void openGui(Object mod, int modGuiId, World world, int x, int y, int z){}