Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/16/19 in all areas

  1. I asked the same question in this thread. I got no replies, but I managed to resolve it myself as I describe in the second post
    1 point
  2. C# is 99.5% the same as Java (syntax wise) Forge 1.13 just came it yesterday, and it changed everything, it’s a complete rewrite of everything to do with modding. I haven’t updated my Modding skeleton to it yet, but the 1.12.2 version of it exists at https://github.com/Cadiboo/Example-Mod. I’m going to be doing some 1.13 tutorials which you’ll be able to find at https://cadiboo.github.io/tutorials/. Tile entities are completely different from entities. You can get a list of tile entires 2 ways 1) iterate over all the positions a tile entity could be at (great for small radiuss) 2) get all the tiles in a chunk Subscribe to a TickEvent Only run your check when world.getTotalTime() % cooldown == 0 Create & register your keybind statically, then use the client tick event to check if yourKeyBind.isPressed()
    1 point
  3. You are basically saying "if the player's name is 'yRaposa', render all player models on his client differently". NO, you want to change the model of the player "yRaposa", not to change all player models on the client whose player name is "yRaposa". You need to put the if statement inside your RenderPlayerEvent handler, and only cancel the event as well as add custom rendering when the player's name is "yRaposa".
    1 point
  4. I managed to solve this myself. Just start up Eclipse and point it at an empty workspace. Then Import - General - Existing projects into workspace, and point this at the base folder where you unzipped Forge and performed the set up (i.e. where the .project file is)
    1 point
  5. Use a constant and initialise it with LogManager.getLogger(). (That’s what getting the logger has changed to / will change to in more recent versions) Works for me in Forge 2729 and 2768
    1 point
×
×
  • Create New...

Important Information

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