Jump to content

zavvias

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

zavvias's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hello all, I'm trying to make player automatically move for few ticks. I wrote basic test to move player every tick using class that implements ITickHandler: public void tickStart(EnumSet<TickType> type, Object... tickData) { if (type.contains(TickType.PLAYER)) { assert ((tickData[0] instanceof EntityPlayer)); EntityPlayer player = (EntityPlayer)tickData[0]; player.motionY = 1; } } In debugger i can see that line player.motionY = 1 is being fired but player do not move. If anyone have idea why this is happening it would be great to hear it.
  2. I had the same problem with no GUI on right click and for me helped adding in init: NetworkRegistry.instance().registerGuiHandler(your_mod_instance, your_proxy);
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.