mirror of
https://github.com/squeek502/Squake.git
synced 2025-09-09 03:54:58 -04:00
Fixed package names
This commit is contained in:
parent
b2b0708c3b
commit
2678e79268
@ -1,4 +1,4 @@
|
|||||||
package squeek.mods.quakemovement;
|
package squeek.quakemovement;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
package squeek.mods.quakemovement;
|
package squeek.quakemovement;
|
||||||
|
|
||||||
import api.player.client.ClientPlayerAPI;
|
import api.player.client.ClientPlayerAPI;
|
||||||
import api.player.server.ServerPlayerAPI;
|
import api.player.server.ServerPlayerAPI;
|
||||||
import cpw.mods.fml.client.FMLClientHandler;
|
|
||||||
import cpw.mods.fml.common.Mod;
|
import cpw.mods.fml.common.Mod;
|
||||||
import cpw.mods.fml.common.Mod.EventHandler;
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
import cpw.mods.fml.common.Mod.Instance;
|
import cpw.mods.fml.common.Mod.Instance;
|
||||||
import cpw.mods.fml.common.SidedProxy;
|
|
||||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
import cpw.mods.fml.common.network.NetworkMod;
|
import cpw.mods.fml.common.network.NetworkMod;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
import cpw.mods.fml.relauncher.SideOnly;
|
|
||||||
|
|
||||||
@Mod(modid="squeek_QuakeMovement", name="Quake Movement", version="0.1.0", dependencies="required-after:PlayerAPI")
|
@Mod(modid="squeek_QuakeMovement", name="Quake Movement", version="0.1.0", dependencies="required-after:PlayerAPI")
|
||||||
@NetworkMod(clientSideRequired=true)
|
@NetworkMod(clientSideRequired=true)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package squeek.mods.quakemovement;
|
package squeek.quakemovement;
|
||||||
|
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
@ -6,7 +6,6 @@ import net.minecraft.util.AxisAlignedBB;
|
|||||||
import net.minecraft.util.MathHelper;
|
import net.minecraft.util.MathHelper;
|
||||||
import api.player.client.ClientPlayerAPI;
|
import api.player.client.ClientPlayerAPI;
|
||||||
import api.player.client.ClientPlayerBase;
|
import api.player.client.ClientPlayerBase;
|
||||||
|
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import cpw.mods.fml.common.Loader;
|
import cpw.mods.fml.common.Loader;
|
||||||
|
|
||||||
@ -524,7 +523,8 @@ public class QuakeClientPlayer extends ClientPlayerBase {
|
|||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
private void quake_WaterAccelerate( float wishspeed, float speed, double wishX, double wishZ, double accel )
|
@SuppressWarnings("unused")
|
||||||
|
private void quake_WaterAccelerate( float wishspeed, float speed, double wishX, double wishZ, double accel )
|
||||||
{
|
{
|
||||||
float addspeed = wishspeed - speed;
|
float addspeed = wishspeed - speed;
|
||||||
if (addspeed > 0)
|
if (addspeed > 0)
|
||||||
@ -578,7 +578,6 @@ public class QuakeClientPlayer extends ClientPlayerBase {
|
|||||||
|
|
||||||
private void quake_Accelerate( float wishspeed, double wishX, double wishZ, double accel )
|
private void quake_Accelerate( float wishspeed, double wishX, double wishZ, double accel )
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
double addspeed, accelspeed, currentspeed;
|
double addspeed, accelspeed, currentspeed;
|
||||||
|
|
||||||
// Determine veer amount
|
// Determine veer amount
|
||||||
@ -606,7 +605,6 @@ public class QuakeClientPlayer extends ClientPlayerBase {
|
|||||||
|
|
||||||
private void quake_AirAccelerate( float wishspeed, double wishX, double wishZ, double accel )
|
private void quake_AirAccelerate( float wishspeed, double wishX, double wishZ, double accel )
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
double addspeed, accelspeed, currentspeed;
|
double addspeed, accelspeed, currentspeed;
|
||||||
|
|
||||||
float wishspd = wishspeed;
|
float wishspd = wishspeed;
|
||||||
@ -638,7 +636,8 @@ public class QuakeClientPlayer extends ClientPlayerBase {
|
|||||||
this.player.motionZ += accelspeed * wishZ;
|
this.player.motionZ += accelspeed * wishZ;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void quake_Friction()
|
@SuppressWarnings("unused")
|
||||||
|
private void quake_Friction()
|
||||||
{
|
{
|
||||||
double speed, newspeed, control;
|
double speed, newspeed, control;
|
||||||
float friction;
|
float friction;
|
||||||
@ -733,7 +732,8 @@ public class QuakeClientPlayer extends ClientPlayerBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void quake_OnLivingUpdate()
|
@SuppressWarnings("unused")
|
||||||
|
private void quake_OnLivingUpdate()
|
||||||
{
|
{
|
||||||
this.didJumpThisTick = false;
|
this.didJumpThisTick = false;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package squeek.mods.quakemovement;
|
package squeek.quakemovement;
|
||||||
|
|
||||||
import api.player.server.ServerPlayerAPI;
|
import api.player.server.ServerPlayerAPI;
|
||||||
import api.player.server.ServerPlayerBase;
|
import api.player.server.ServerPlayerBase;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user