Run formatter

This commit is contained in:
Nicholas Ignoffo 2017-08-15 21:30:48 -07:00
parent 61c44a831b
commit 08258fd6ef
606 changed files with 13464 additions and 22975 deletions

View file

@ -1,7 +1,6 @@
package WayofTime.bloodmagic.fakePlayer;
import javax.annotation.Nullable;
import com.mojang.authlib.GameProfile;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.math.BlockPos;
@ -10,21 +9,19 @@ import net.minecraft.world.WorldServer;
import net.minecraftforge.common.util.FakePlayer;
import net.minecraftforge.fml.common.FMLCommonHandler;
import com.mojang.authlib.GameProfile;
import javax.annotation.Nullable;
/**
* All credits for this go to CrazyPants, from EIO
*/
@SuppressWarnings("EntityConstructor")
public class FakePlayerBM extends FakePlayer
{
public class FakePlayerBM extends FakePlayer {
public FakePlayerBM(WorldServer world, GameProfile name) {
super(world, name);
}
public FakePlayerBM(World world, BlockPos pos, GameProfile profile)
{
public FakePlayerBM(World world, BlockPos pos, GameProfile profile) {
super(FMLCommonHandler.instance().getMinecraftServerInstance().getWorld(world.provider.getDimension()), profile);
posX = pos.getX() + 0.5;
posY = pos.getY() + 0.5;
@ -33,21 +30,17 @@ public class FakePlayerBM extends FakePlayer
}
@Override
protected void onNewPotionEffect(PotionEffect p_70670_1_)
{
protected void onNewPotionEffect(PotionEffect p_70670_1_) {
}
@Override
protected void onChangedPotionEffect(PotionEffect effect, boolean p_70695_2_)
{
protected void onChangedPotionEffect(PotionEffect effect, boolean p_70695_2_) {
}
@Override
protected void onFinishedPotionEffect(PotionEffect effect)
{
protected void onFinishedPotionEffect(PotionEffect effect) {
}
protected void playEquipSound(@Nullable ItemStack stack)
{
protected void playEquipSound(@Nullable ItemStack stack) {
}
}