Jump to content

larsgerrits

Members
  • Posts

    3462
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by larsgerrits

  1. In Eclipse do File -> Import and select your second and third mod folder and import the project.
  2. I think the I18N class we should be using now is net.minecraft.client.resources.I18N . Atleast that is what every vanilla and Forge class is using. In the I18N#format method you can leave the second parameter empty if you don't have any formatting in the first String .
  3. Last time I checked I18n.translateToLocal was deprecated, so which one to use next? I18N.format ? (BTW, that is in another Minecraft I18N class... there are 2...) The advanced tooltips are enabled when you pres F3 + H ingame.
  4. I haven't dealt with sounds in a LONG time, so don't qoute me on this. Right now you have 1 sound "object" in which you specify multiple sound files. This makes it, that whenever you play the sound, Minecraft selects a random sound specified in your sound "object". If you want to play these sounds yourself you have to make a new sound "object". EDIT: Apparently I was right
  5. Can't you just use BlockRenderLayer.TRANSLUCENT for the whole block?
  6. I think it sorts the EnumTypes based on metadata.
  7. If you send a packet to the server, you can use an IGuiHandler to open a custom Container as well as a custom Gui . P.S. There may be other, better ways, but this is the only way I know of.
  8. Cancel the GuiOpenEvent when the gui is the player inventory, and open your own inventory from there.
  9. As said before, 1.7.10 is no longer supported on this forum.
  10. So ingame you get spawn.entity.spaceextended.Beetle.name ? Than that's what you add to yout language file. It really isn't that hard.
  11. 1) Update your Forge, yours is really old. 2) Don't use IExtendedEntityProperties . Use the new Capabilities instead. Here's how you can switch over: http://mcforge.readthedocs.io/en/latest/datastorage/capabilities/ (on the bottom of the page)
  12. Client != Singleplayer. Singleplayer still has a server running in the background.
  13. Then what does it show?
  14. Gradle caches a Minecraft jar in ~USER~\.gradle\caches\minecraft\net\minecraft\minecraft. You can open it up to see the assets.
  15. A "modpack" is just a collection of mods with all the the conflicts resolved. What do you mean with "how do I make a modpack which can drop in the (mods I assume) folder on the server and it will run?"? You just have to put all the mods in the mods folder and your done.
  16. In your case, it has to be an EnumFacing , and you only allow EnumFacing.HORIZONTALS , so you have to use EnumFacing.NORTH , EnumFacing.EAST , EnumFacing.SOUTH or EnumFacing.WEST . I am getting the idea you don't actually know Java very well, in which I suggest you learn that first, and not via modding, as that generally doesn't end well.
  17. Yes, they were just placeholders.
  18. You'd have to add a new LayerRenderer to the RenderPlayer and render it in there. I haven't used this yet, so I can't help you further with that.
  19. It can go anywhere in the constuctor, you just have to put it after the super call. And no, you don't have to save the return value as it simply returns this for chaining.
  20. First of all, WTF?: int entityID = MathHelper.getRandomUUID().hashCode(); mod entities are per-mod, so just start at 0 and increment per entity added. What is the Item name ingame? That is the line you should put in your language file.
  21. You never set the default state. To do so, use this line in your Block constructor: setDefaultState(getBlockState().getBaseState().withProperty(PROPERTY, defaultValue));
  22. Don't hijack old threads. Make your own.
  23. Your access to the folder got denied. Are you using the administrator account? You either have to move your server folder to a location where you are allowed to access it or you should use the cd command in your .bat folder to change the location where your batch file is executed.
  24. And how do I change that? Because that isn't in the boot file or anywhere I know of. Don't run the .bat file in Administrator Mode, as that will start it in C:\Windows\system32.
  25. 1.6.4 is no longer supported on this forum, as it's more than 3 YEARS old. Update to 1.10.2.
×
×
  • Create New...

Important Information

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