Update mappings
This commit is contained in:
parent
7b21439a03
commit
85a8a12a6f
185 changed files with 825 additions and 1273 deletions
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue