v0.0.8
This commit is contained in:
parent
a1c0f4dbb4
commit
0db18a7caf
@ -20,7 +20,7 @@ import java.util.jar.JarOutputStream
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
group 'baritone'
|
group 'baritone'
|
||||||
version '0.0.7'
|
version '0.0.8'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
|
2
scripts/proguard.pro
vendored
2
scripts/proguard.pro
vendored
@ -1,4 +1,4 @@
|
|||||||
-injars baritone-0.0.7.jar
|
-injars baritone-0.0.8.jar
|
||||||
-outjars Obfuscated
|
-outjars Obfuscated
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ public class MixinEntity {
|
|||||||
)
|
)
|
||||||
private void preMoveRelative(float strafe, float up, float forward, float friction, CallbackInfo ci) {
|
private void preMoveRelative(float strafe, float up, float forward, float friction, CallbackInfo ci) {
|
||||||
Entity _this = (Entity) (Object) this;
|
Entity _this = (Entity) (Object) this;
|
||||||
if (_this instanceof EntityPlayerSP)
|
if (EntityPlayerSP.class.isInstance(_this))
|
||||||
Baritone.INSTANCE.getGameEventHandler().onPlayerRotationMove(new RotationMoveEvent((EntityPlayerSP) _this, EventState.PRE, RotationMoveEvent.Type.MOTION_UPDATE));
|
Baritone.INSTANCE.getGameEventHandler().onPlayerRotationMove(new RotationMoveEvent((EntityPlayerSP) _this, EventState.PRE, RotationMoveEvent.Type.MOTION_UPDATE));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ public class MixinEntity {
|
|||||||
)
|
)
|
||||||
private void postMoveRelative(float strafe, float up, float forward, float friction, CallbackInfo ci) {
|
private void postMoveRelative(float strafe, float up, float forward, float friction, CallbackInfo ci) {
|
||||||
Entity _this = (Entity) (Object) this;
|
Entity _this = (Entity) (Object) this;
|
||||||
if (_this instanceof EntityPlayerSP)
|
if (EntityPlayerSP.class.isInstance(_this))
|
||||||
Baritone.INSTANCE.getGameEventHandler().onPlayerRotationMove(new RotationMoveEvent((EntityPlayerSP) _this, EventState.POST, RotationMoveEvent.Type.MOTION_UPDATE));
|
Baritone.INSTANCE.getGameEventHandler().onPlayerRotationMove(new RotationMoveEvent((EntityPlayerSP) _this, EventState.POST, RotationMoveEvent.Type.MOTION_UPDATE));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ public class MixinEntityLivingBase {
|
|||||||
)
|
)
|
||||||
private void preJump(CallbackInfo ci) {
|
private void preJump(CallbackInfo ci) {
|
||||||
EntityLivingBase _this = (EntityLivingBase) (Object) this;
|
EntityLivingBase _this = (EntityLivingBase) (Object) this;
|
||||||
if (_this instanceof EntityPlayerSP)
|
if (EntityPlayerSP.class.isInstance(_this))
|
||||||
Baritone.INSTANCE.getGameEventHandler().onPlayerRotationMove(new RotationMoveEvent((EntityPlayerSP) _this, EventState.PRE, RotationMoveEvent.Type.JUMP));
|
Baritone.INSTANCE.getGameEventHandler().onPlayerRotationMove(new RotationMoveEvent((EntityPlayerSP) _this, EventState.PRE, RotationMoveEvent.Type.JUMP));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ public class MixinEntityLivingBase {
|
|||||||
)
|
)
|
||||||
private void postJump(CallbackInfo ci) {
|
private void postJump(CallbackInfo ci) {
|
||||||
EntityLivingBase _this = (EntityLivingBase) (Object) this;
|
EntityLivingBase _this = (EntityLivingBase) (Object) this;
|
||||||
if (_this instanceof EntityPlayerSP)
|
if (EntityPlayerSP.class.isInstance(_this))
|
||||||
Baritone.INSTANCE.getGameEventHandler().onPlayerRotationMove(new RotationMoveEvent((EntityPlayerSP) _this, EventState.POST, RotationMoveEvent.Type.JUMP));
|
Baritone.INSTANCE.getGameEventHandler().onPlayerRotationMove(new RotationMoveEvent((EntityPlayerSP) _this, EventState.POST, RotationMoveEvent.Type.JUMP));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user