mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Just about polished off baby skeletons, started on getting the Flamethrower to render with correct scale and orientation
This commit is contained in:
1 parent
6cc7efc64b
commit
3f7de46991
4 files changed
+13
-13
No files matched your search
@@ -17,9 +17,7 @@ public class EntityBabySkeleton extends EntitySkeleton
|
||||
public EntityBabySkeleton(World world)
|
||||
{
|
||||
super(world);
|
||||
|
||||
setChild(true);
|
||||
System.out.println("Spawned");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -30,14 +28,6 @@ public class EntityBabySkeleton extends EntitySkeleton
|
||||
getDataWatcher().addObject(12, new Byte((byte)0));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onUpdate()
|
||||
{
|
||||
super.onUpdate();
|
||||
|
||||
System.out.println(posX + " " + posY + " " + posZ);
|
||||
}
|
||||
|
||||
public void setChild(boolean child)
|
||||
{
|
||||
getDataWatcher().updateObject(12, Byte.valueOf((byte)(child ? 1 : 0)));
|
||||
@@ -80,6 +70,6 @@ public class EntityBabySkeleton extends EntitySkeleton
|
||||
|
||||
protected final void updateSize(float size)
|
||||
{
|
||||
super.setSize(size, size);
|
||||
super.setSize(size, size+0.4F);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user