Everything posted by larsgerrits
-
[SOLVED] multiple projects in one workspace
In Eclipse do File -> Import and select your second and third mod folder and import the project.
-
[1.10.2] [SOLVED] Item and ItemBlock and Block tooltips
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 .
-
[1.10.2] [SOLVED] Item and ItemBlock and Block tooltips
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.
-
Correctly access nested sounds in sounds.json
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
-
[1.9.4][1.10.2] Block Model Selective Transparency and Cutout Possible?
Can't you just use BlockRenderLayer.TRANSLUCENT for the whole block?
-
[1.10.2] [SOLVED] JSON Subfolder
I think it sorts the EnumTypes based on metadata.
-
Edit or override vanilla inventory
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.
-
Edit or override vanilla inventory
Cancel the GuiOpenEvent when the gui is the player inventory, and open your own inventory from there.
-
Minecraft Forge stuck on Initializing Mods phase 3
As said before, 1.7.10 is no longer supported on this forum.
-
Custom mob can´t get Spawnegg name
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.
-
Spawn EntityLightningBolt is bug.
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)
-
[1.10.2] Check if singleplayer and get the player
Client != Singleplayer. Singleplayer still has a server running in the background.
-
Custom mob can´t get Spawnegg name
Then what does it show?
-
[1.10.2] Where Have Vanilla Assets Gone?
Gradle caches a Minecraft jar in ~USER~\.gradle\caches\minecraft\net\minecraft\minecraft. You can open it up to see the assets.
-
Server ModPack HowTo
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.
-
[1.8.9] making blocks place based on orientation
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.
-
[1.8.9] making blocks place based on orientation
Yes, they were just placeholders.
-
[1.10.2] RenderPlayerEvent
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.
-
[1.8.9] making blocks place based on orientation
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.
-
Custom mob can´t get Spawnegg name
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.
-
[1.8.9] making blocks place based on orientation
You never set the default state. To do so, use this line in your Block constructor: setDefaultState(getBlockState().getBaseState().withProperty(PROPERTY, defaultValue));
-
(SOLVED)MovingSound, ITickableSound and SoundManager: starting-stopping sounds.
Don't hijack old threads. Make your own.
-
[SOLVED] Forge server won't open
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.
-
[SOLVED] Forge server won't open
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.
-
Help!!
1.6.4 is no longer supported on this forum, as it's more than 3 YEARS old. Update to 1.10.2.
IPS spam blocked by CleanTalk.