mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-07 07:50:27 +00:00
Add back missing override of getPositionVec
This was removed in the initial update (46595e73df
)
because I got terribly confused over mappings and I forgot to add it
back.
Fixes #505
This commit is contained in:
parent
a1dcd59d95
commit
9ce33f8a3f
@ -25,6 +25,7 @@ import net.minecraft.tileentity.SignTileEntity;
|
|||||||
import net.minecraft.util.Direction;
|
import net.minecraft.util.Direction;
|
||||||
import net.minecraft.util.Hand;
|
import net.minecraft.util.Hand;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
import net.minecraft.util.math.vector.Vector3d;
|
||||||
import net.minecraft.world.server.ServerWorld;
|
import net.minecraft.world.server.ServerWorld;
|
||||||
import net.minecraftforge.common.util.FakePlayer;
|
import net.minecraftforge.common.util.FakePlayer;
|
||||||
|
|
||||||
@ -129,6 +130,12 @@ public final class TurtlePlayer extends FakePlayer
|
|||||||
return Registry.ModEntities.TURTLE_PLAYER.get();
|
return Registry.ModEntities.TURTLE_PLAYER.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Vector3d getPositionVec()
|
||||||
|
{
|
||||||
|
return new Vector3d( getPosX(), getPosY(), getPosZ() );
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getEyeHeight( @Nonnull Pose pose )
|
public float getEyeHeight( @Nonnull Pose pose )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user