mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 23:48:00 +01:00
Fixed animation issues
This commit is contained in:
parent
e035a9651e
commit
b0c5c5d73f
2 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
package com.voxelmodpack.hdskins.gui;
|
package com.voxelmodpack.hdskins.gui;
|
||||||
|
|
||||||
|
import net.minecraft.block.state.IBlockState;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.GameType;
|
import net.minecraft.world.GameType;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
@ -27,6 +29,11 @@ public class DummyWorld extends World {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IBlockState getBlockState(BlockPos pos) {
|
||||||
|
return Blocks.AIR.getDefaultState();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getLightBrightness(BlockPos pos) {
|
public float getLightBrightness(BlockPos pos) {
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
@ -130,6 +130,8 @@ public class EntityPlayerModel extends EntityLivingBase implements IBlankSkinSup
|
||||||
posY = 0;
|
posY = 0;
|
||||||
}
|
}
|
||||||
onGround = posY == 0;
|
onGround = posY == 0;
|
||||||
|
|
||||||
|
ticksExisted++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue