mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
1.6.2 test - Finished liquids, added connected textures on glass
This commit is contained in:
1 parent
40c6f445a2
commit
a80fcbce86
704 files changed
+60909
No files matched your search
@@ -0,0 +1,33 @@
|
||||
package tconstruct.skill;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class Jump extends Skill
|
||||
{
|
||||
@Override
|
||||
public String getTextureFile (int guiscale)
|
||||
{
|
||||
/*if (guiscale == 2)
|
||||
return "/mods/tinker/textures/skill/Jump32x.png";
|
||||
if (guiscale == 3)
|
||||
return "/mods/tinker/textures/skill/Jump48x.png";
|
||||
|
||||
return "/mods/tinker/textures/skill/Jump16x.png";*/
|
||||
return "/mods/tinker/textures/skill/Jump48x.png";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSkillName ()
|
||||
{
|
||||
return "Jump";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void activate (Entity entity, World world)
|
||||
{
|
||||
if (entity.onGround)
|
||||
entity.motionY = 0.8f;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user