mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-12-02 00:37:59 +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;
|
||||
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.GameType;
|
||||
import net.minecraft.world.World;
|
||||
|
@ -27,6 +29,11 @@ public class DummyWorld extends World {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBlockState getBlockState(BlockPos pos) {
|
||||
return Blocks.AIR.getDefaultState();
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getLightBrightness(BlockPos pos) {
|
||||
return 1;
|
||||
|
|
|
@ -130,6 +130,8 @@ public class EntityPlayerModel extends EntityLivingBase implements IBlankSkinSup
|
|||
posY = 0;
|
||||
}
|
||||
onGround = posY == 0;
|
||||
|
||||
ticksExisted++;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue