Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/21/17 in all areas

  1. So, the player activates your item and then something is added to the player's overlay display that shows their direction, even when they put the item down? (just checking I understand your aim) To make it work consistently, you will need to store the information in the player (using a capability). Otherwise, what happens if one player activates a compass and another doesn't? Currently, you're storing the state in a static field in your item class so it will apply the same thing to all players no matter what.
    1 point
  2. There are some places where vanilla takes the client's report at face value (e.g. position) but they're things that Mojang did wrong. In other places they did it right (such as item crafting recipes: the client needs to know and compute the result so it can be displayed, but if you attempt to pick it up and the server doesn't agree that the item can be crafted, you don't get anything). All I'm saying is: assume the client is a lying fuck and do the calculation on the server (or at least, not only on the client).
    1 point
  3. First, 1.7.10 is no longer supported here. Second, you got the package name on your proxy in the @SidedProxy wrong, you added "com." at the beginning, but that is not there in the actual package name.
    1 point
  4. Set the tint index for each model face you want to be coloured at runtime and register an IBlockColor for the Block that returns the appropriate colour for each tint index depending on the location. Look at BlockColors for vanilla examples.
    1 point
×
×
  • Create New...

Important Information

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