1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-06 08:22:59 +00:00

Merge pull request #205 from SquidDev-CC/feature/packet-network-api

Expose wireless network in the public API
This commit is contained in:
Daniel Ratcliffe
2017-05-18 23:57:44 +01:00
committed by GitHub
17 changed files with 523 additions and 284 deletions

View File

@@ -42,14 +42,16 @@ public class TurtleModem implements ITurtleUpgrade
m_turtle = turtle;
}
@Nonnull
@Override
protected World getWorld()
public World getWorld()
{
return m_turtle.getWorld();
}
@Nonnull
@Override
protected Vec3d getPosition()
public Vec3d getPosition()
{
BlockPos turtlePos = m_turtle.getPosition();
return new Vec3d(