SimpleLabels

SimpleLabels

10M Downloads

Ghost Items

Mattabase opened this issue ยท 1 comments

commented

I see two bugs here, one obviously is the ghost items, there needs to be a !isRemote check here: https://github.com/MikeLydeamore/SimpleLabels/blob/master/src/main/java/com/insane/simplelabels/block/BlockLabel.java#L99-L103

Second is the way items are spawned, they are spawned at the corner of the block which makes them go in an odd direction. The problem area is here: https://github.com/MikeLydeamore/SimpleLabels/blob/master/src/main/java/com/insane/simplelabels/tile/TileLabel.java#L70

I would set the item to the position of the IDSU block + 0.5 on each axis. Then offset by the face it's placed against * 0.5 (this would spawn it on the edge of the block). Finally, give it some motion away from that face of the block so it moves towards the player.