Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Leaderboard

Popular Content

Showing content with the highest reputation on 04/20/18 in all areas

  1. No. Your IMessage classes must have a public no-parameters constructor. You need to remember on the server for each player whether they are currently pressing the button or not. You can do this using capabilities. When the packet arrives, you store the current state in the player's capability. In your ItemBlock you can then access the capability of the player placing the block. "ml" is a terrible mod ID (and network channel). It should be "morelayers".
    1 point
  2. Have you tried running a server-instance in Eclipse? By default, annotated event-handlers are registered on both the Server & Client side, but this code deals with Client-Side only code. You need to add value=Side.CLIENT to the annotation to make sure that this EventHandler is only run on the client. Oh, and you shouldn't acronym your modid. What if someone else makes a mod called "magic lore" etc and decide to shorten their modid as well... It won't look pretty, is all I'll say.
    1 point
  3. man, you are a hero! I have searched for this for ages
    1 point
  4. EDIT - Figured out the sprite thing. The ResourceLocations had .png when they shouldnt
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.