mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-23 21:49:50 +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
@@ -50,7 +50,7 @@ public class EntityFlameRing extends Entity {
|
||||
if(a % 2 == 0)
|
||||
a = 45 + a;
|
||||
|
||||
if(worldObj.rand.nextInt(ticksExisted < 90 ? 8 : 20) == 0) {
|
||||
if(world.rand.nextInt(ticksExisted < 90 ? 8 : 20) == 0) {
|
||||
float rad = (float) (a * 4 * Math.PI / 180F);
|
||||
double x = Math.cos(rad) * renderRadius;
|
||||
double z = Math.sin(rad) * renderRadius;
|
||||
@@ -65,10 +65,10 @@ public class EntityFlameRing extends Entity {
|
||||
}
|
||||
}
|
||||
|
||||
if(worldObj.rand.nextInt(20) == 0)
|
||||
worldObj.playSound(posX, posY, posZ, SoundEvents.BLOCK_FIRE_AMBIENT, SoundCategory.BLOCKS, 1F, 1F, false);
|
||||
if(world.rand.nextInt(20) == 0)
|
||||
world.playSound(posX, posY, posZ, SoundEvents.BLOCK_FIRE_AMBIENT, SoundCategory.BLOCKS, 1F, 1F, false);
|
||||
|
||||
if(worldObj.isRemote)
|
||||
if(world.isRemote)
|
||||
return;
|
||||
|
||||
if(ticksExisted >= 300) {
|
||||
@@ -78,7 +78,7 @@ public class EntityFlameRing extends Entity {
|
||||
|
||||
if(ticksExisted > 45) {
|
||||
AxisAlignedBB boundingBox = new AxisAlignedBB(posX, posY, posZ, posX, posY, posZ).expand(radius, radius, radius);
|
||||
List<EntityLivingBase> entities = worldObj.getEntitiesWithinAABB(EntityLivingBase.class, boundingBox);
|
||||
List<EntityLivingBase> entities = world.getEntitiesWithinAABB(EntityLivingBase.class, boundingBox);
|
||||
|
||||
if(entities.isEmpty())
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user