Update mappings

This commit is contained in:
Nicholas Ignoffo 2017-02-04 22:43:18 -08:00
parent 7b21439a03
commit 85a8a12a6f
185 changed files with 825 additions and 1273 deletions

View file

@ -30,7 +30,7 @@ public class BMPotionUtils
public static double damageMobAndGrowSurroundingPlants(EntityLivingBase entity, int horizontalRadius, int verticalRadius, double damageRatio, int maxPlantsGrown)
{
World world = entity.worldObj;
World world = entity.getEntityWorld();
if (world.isRemote)
{
return 0;

View file

@ -59,7 +59,7 @@ public class PotionEventHandlers
{
int d0 = 3;
AxisAlignedBB axisAlignedBB = new AxisAlignedBB(event.getEntityLiving().posX - 0.5, event.getEntityLiving().posY - 0.5, event.getEntityLiving().posZ - 0.5, event.getEntityLiving().posX + 0.5, event.getEntityLiving().posY + 0.5, event.getEntityLiving().posZ + 0.5).expand(d0, d0, d0);
List entityList = event.getEntityLiving().worldObj.getEntitiesWithinAABB(Entity.class, axisAlignedBB);
List entityList = event.getEntityLiving().getEntityWorld().getEntitiesWithinAABB(Entity.class, axisAlignedBB);
for (Object thing : entityList)
{