Fixed indentations because I'm tired of coming across these in my commits...

This commit is contained in:
Sollace 2019-02-08 23:39:02 +02:00
parent 9abc072d7c
commit 0fd12b7ac1
42 changed files with 1590 additions and 1586 deletions

View file

@ -2,6 +2,7 @@ package com.minelittlepony.unicopia.block;
import net.minecraft.block.state.IBlockState; import net.minecraft.block.state.IBlockState;
@FunctionalInterface
public interface IColourful { public interface IColourful {
int getCustomTint(IBlockState state, int tint); int getCustomTint(IBlockState state, int tint);
} }

View file

@ -1,9 +1,12 @@
package com.minelittlepony.unicopia.mixin; package com.minelittlepony.unicopia.mixin;
import com.minelittlepony.unicopia.forgebullshit.FUF;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.entity.MoverType; import net.minecraft.entity.MoverType;
import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.math.AxisAlignedBB;
@FUF(reason = "Waiting for mixins?")
// pseudo code for things forge can't do. // pseudo code for things forge can't do.
// @Mixin(Entity.class) // @Mixin(Entity.class)
public interface MixinEntity { public interface MixinEntity {

View file

@ -240,8 +240,8 @@ public class SpellFire extends AbstractSpell.RangedAreaSpell implements IUseActi
int x = pos.getX(); int x = pos.getX();
int y = pos.getY(); int y = pos.getY();
int z = pos.getZ(); int z = pos.getZ();
world.playSound((double)((float)x + 0.5F), (double)((float)y + 0.5F), (double)((float)z + 0.5F), SoundEvents.BLOCK_FURNACE_FIRE_CRACKLE, SoundCategory.AMBIENT, 0.5F, 2.6F + (world.rand.nextFloat() - world.rand.nextFloat()) * 0.8F, true);
world.playSound((double)((float)x + 0.5F), (double)((float)y + 0.5F), (double)((float)z + 0.5F), SoundEvents.BLOCK_FURNACE_FIRE_CRACKLE, SoundCategory.AMBIENT, 0.5F, 2.6F + (world.rand.nextFloat() - world.rand.nextFloat()) * 0.8F, true);
for (int i = 0; i < 8; ++i) { for (int i = 0; i < 8; ++i) {
world.spawnParticle(EnumParticleTypes.SMOKE_LARGE, (double)x + Math.random(), (double)y + Math.random(), (double)z + Math.random(), 0.0D, 0.0D, 0.0D); world.spawnParticle(EnumParticleTypes.SMOKE_LARGE, (double)x + Math.random(), (double)y + Math.random(), (double)z + Math.random(), 0.0D, 0.0D, 0.0D);