Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void onAffixedToHookShotRope(int ropeEntID)
- {
- mc = Minecraft.getMinecraft();
- localPlayer = mc.thePlayer;
- if (localPlayer != null && localPlayer.worldObj != null)
- {
- Entity ent = localPlayer.worldObj.getEntityByID(ropeEntID);
- System.out.println("found client rope: "+ent);
- if (ent != null && ent instanceof EntityFreeFormRope)
- {
- ((EntityFreeFormRope) ent).setShooter(localPlayer);
- }
- }
- }
- [18:11:46] [Server thread/INFO] [STDOUT]: [atomicstryker.ropesplus.common.ItemHookshot:onPlayerStoppedUsing:89]: Hookshot hit: HitResult{type=BLOCK, blockpos=BlockPos{x=220, y=69, z=70}, f=south, pos=(220.1816197011283, 69.49878270506935, 71.0), entity=null}
- [18:11:46] [Server thread/INFO] [STDOUT]: [atomicstryker.ropesplus.common.ItemHookshot:onPlayerStoppedUsing:99]: Setting server rope 424 for shooter: EntityPlayerMP['AtomicStryker'/276, l='New World', x=216,22, y=64,00, z=77,74]
- [18:11:46] [Server thread/INFO] [STDOUT]: [atomicstryker.ropesplus.common.EntityFreeFormRope:setShooter:60]: rope EntityFreeFormRope['Hookshot Line'/424, l='New World', x=220,50, y=69,00, z=70,50] has shooter: EntityPlayerMP['AtomicStryker'/276, l='New World', x=216,22, y=64,00, z=77,74]
- HookshotPacket [220|69|70], ropeID 424
- [18:11:46] [Netty Local Client IO #0/INFO] [STDOUT]: [atomicstryker.ropesplus.client.RopesPlusClient:onAffixedToHookShotRope:378]: found client rope: null
- rope EntityFreeFormRope['Hookshot Line'/424, l='MpServer', x=220,50, y=69,00, z=70,50], [216,64,77] is not anchor: net.minecraft.block.BlockAir@776a6d9b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement