left hand
This commit is contained in:
parent
019c5609b5
commit
90cf29ecd9
|
@ -34,6 +34,7 @@ import dev.resent.module.impl.misc.HUD;
|
|||
import dev.resent.module.impl.misc.Scoreboard;
|
||||
import dev.resent.module.impl.misc.Sprint;
|
||||
import dev.resent.module.impl.setting.Animations;
|
||||
import dev.resent.module.impl.setting.Hand;
|
||||
import dev.resent.module.impl.setting.MinimalViewBobbing;
|
||||
import dev.resent.module.impl.setting.NoParticles;
|
||||
import dev.resent.module.impl.setting.NoRain;
|
||||
|
@ -78,9 +79,11 @@ public class ModManager {
|
|||
public static FPSOptions fpsOptions = new FPSOptions();
|
||||
public static AdminRay adminRay = new AdminRay();
|
||||
public static AdminSpawner adminSpawner =new AdminSpawner();
|
||||
public static Hand hand;
|
||||
|
||||
public ModManager() {
|
||||
//Hud
|
||||
register(hand = new Hand());
|
||||
register(adminSpawner);
|
||||
register(adminRay);
|
||||
register(fpsOptions);
|
||||
|
|
7
src/main/java/dev/resent/module/impl/setting/Hand.java
Normal file
7
src/main/java/dev/resent/module/impl/setting/Hand.java
Normal file
|
@ -0,0 +1,7 @@
|
|||
package dev.resent.module.impl.setting;
|
||||
|
||||
import dev.resent.annotation.Module;
|
||||
import dev.resent.module.base.Mod;
|
||||
|
||||
@Module(name = "Left hand")
|
||||
public class Hand extends Mod{ }
|
|
@ -311,6 +311,10 @@ public class ItemRenderer {
|
|||
this.func_178110_a((EntityPlayerSP) entityplayersp, partialTicks);
|
||||
GlStateManager.enableRescaleNormal();
|
||||
GlStateManager.pushMatrix();
|
||||
if(ModManager.hand.isEnabled()){
|
||||
GlStateManager.scale(-1.0D, 1.0D, 1.0D);
|
||||
GlStateManager.disableCull();
|
||||
}
|
||||
if (this.itemToRender != null) {
|
||||
if (this.itemToRender.getItem() == Items.filled_map) {
|
||||
this.renderItemMap(entityplayersp, f2, f, f1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user