mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 20:22:33 +00:00
Update mappings to stable_29 for 1.10.2, no functional changes
This commit is contained in:
252 files changed
+1100
-1100
No files matched your search
@@ -48,9 +48,9 @@ public class EntityFallingStar extends EntityThrowableCopy {
|
||||
}
|
||||
|
||||
EntityLivingBase thrower = getThrower();
|
||||
if(!worldObj.isRemote && thrower != null) {
|
||||
if(!world.isRemote && thrower != null) {
|
||||
AxisAlignedBB axis = new AxisAlignedBB(posX, posY, posZ, lastTickPosX, lastTickPosY, lastTickPosZ).expand(2, 2, 2);
|
||||
List<EntityLivingBase> entities = worldObj.getEntitiesWithinAABB(EntityLivingBase.class, axis);
|
||||
List<EntityLivingBase> entities = world.getEntitiesWithinAABB(EntityLivingBase.class, axis);
|
||||
for(EntityLivingBase living : entities) {
|
||||
if(living == thrower)
|
||||
continue;
|
||||
@@ -68,7 +68,7 @@ public class EntityFallingStar extends EntityThrowableCopy {
|
||||
|
||||
@Override
|
||||
protected void onImpact(RayTraceResult pos) {
|
||||
if (worldObj.isRemote)
|
||||
if (world.isRemote)
|
||||
return;
|
||||
|
||||
EntityLivingBase thrower = getThrower();
|
||||
@@ -79,9 +79,9 @@ public class EntityFallingStar extends EntityThrowableCopy {
|
||||
}
|
||||
|
||||
if (pos.getBlockPos() != null) {
|
||||
IBlockState state = worldObj.getBlockState(pos.getBlockPos());
|
||||
if(ConfigHandler.blockBreakParticles && !state.getBlock().isAir(state, worldObj, pos.getBlockPos()))
|
||||
worldObj.playEvent(2001, pos.getBlockPos(), Block.getStateId(state));
|
||||
IBlockState state = world.getBlockState(pos.getBlockPos());
|
||||
if(ConfigHandler.blockBreakParticles && !state.getBlock().isAir(state, world, pos.getBlockPos()))
|
||||
world.playEvent(2001, pos.getBlockPos(), Block.getStateId(state));
|
||||
}
|
||||
|
||||
setDead();
|
||||
|
||||
Reference in new issue
Block a user