mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 11:36:43 +01:00
Fixed indentations because I'm tired of coming across these in my commits...
This commit is contained in:
parent
9abc072d7c
commit
0fd12b7ac1
42 changed files with 1590 additions and 1586 deletions
|
@ -2,6 +2,7 @@ package com.minelittlepony.unicopia.block;
|
|||
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
|
||||
@FunctionalInterface
|
||||
public interface IColourful {
|
||||
int getCustomTint(IBlockState state, int tint);
|
||||
}
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
package com.minelittlepony.unicopia.mixin;
|
||||
|
||||
import com.minelittlepony.unicopia.forgebullshit.FUF;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.MoverType;
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
|
||||
@FUF(reason = "Waiting for mixins?")
|
||||
// pseudo code for things forge can't do.
|
||||
// @Mixin(Entity.class)
|
||||
public interface MixinEntity {
|
||||
|
|
|
@ -240,8 +240,8 @@ public class SpellFire extends AbstractSpell.RangedAreaSpell implements IUseActi
|
|||
int x = pos.getX();
|
||||
int y = pos.getY();
|
||||
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) {
|
||||
world.spawnParticle(EnumParticleTypes.SMOKE_LARGE, (double)x + Math.random(), (double)y + Math.random(), (double)z + Math.random(), 0.0D, 0.0D, 0.0D);
|
||||
|
|
Loading…
Reference in a new issue