Everything posted by Novârch
-
Prevent FULL AUTO item use
You can use KeyBind#getLocalizedName to get what you want here.
-
VFX in Minecraft Forge
Ironically, allocating that much RAM to Minecraft would probably slow it down.
-
[1.12.2] override AI of vanilla mobs [Solved]
Make you own thread, and if you're using 1.12, it isn't supported here anymore.
-
Prevent FULL AUTO item use
Items are singletons, there is only one instance of them therefor you cannot just put variables in them. You should write these values to the NBT of the ItemStack your item is in. Edit: On a separate note, if you call that method from a clientside event (like a keybind press) it won't do anything without packets, just use the methods provided to you from Item.
-
Forge 1.15.2 doesn't show up in launcher.
Did you try adding it manually?
-
Crashing
1.8 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
-
stuck at decompileMC
You can, but you won't get help here.
-
[1.16.1] Newer mappings file?
Of course it isn't, I meant that he should at least test it.
-
[1.16.1] Newer mappings file?
Why don't you just try to set the date on the mappings to today?
-
[1.15.2] How do I properly get capability?
Do you ever call this method, if not your capability will always be null. Call that method in FMLCommonSetupEvent.
-
Error, when i see player
1.12 is no longer supported on this forum. Please update to a modern of Minecraft to receive support.
-
[1.16.1] What's happened to the dimension system?
Well, it's on the file site, I guess it's still experimental though.
-
[1.16.1] What's happened to the dimension system?
What's happened to the dimension system in 1.16? It seems that it has been completely overhauled (fitting for a nether update), is Forge's mod dimension system even finished?
-
Server can't boot at all
1.12 is no longer a supported on this forum. Please update to a modern version of Minecraft to receive support.
-
1.12.2 modding
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
-
Will 1.15 stop being supported after 1.16?
Tomorrow, June 23, Minecraft 1.16 is releasing and with it a new version of Forge, does this mean that 1.15 will no longer be supported on this forum in favor of 1.14(LTS) and 1.16(Latest) or will it stay supported for while?
-
Sudden crach
Post it to an external site, like GitHub gist or pastebin.
-
[1.15.2] Weird issues with syncing data to the client
Just tried that, doesn't log anything, it isn't null and it most likely can't be null because in the two places that I call World#addEntity to add the entity the master is always set, and the entity is immediately killed if the master is null, as seen in this line.
-
[1.15.2] Weird issues with syncing data to the client
I check if it's null before writing, where else should I check?
-
[1.15.2] Weird issues with syncing data to the client
I've created a custom entity that has a player as it's master, it's important to me to have this data on both sides for performing certain actions through packets, so I implement IEntityAdditionalSpawnData on it and write the master's entityID as an int and read it back on the client. This has worked perfectly for the last 17 entities I've made, but for some reason isn't working for the last one I made, this makes no sense as all of the entities inherit from a super class that calls the read and write methods, none of the child classes even override the methods. The debug.log I get can be found here, the entity's code here and the superclass that calls the read and write methods here.
-
Custom Damage source in Forge 1.15.2
To check if you're on the server use World#isRemote, if it returns false you're on the server, if it's true you're on the client.
-
[1.15.2] Entity Texture Layer with Color?
Are you calling the super method that takes the RGB values in your model? A lot of people do this: @Override public void render(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) { Model.render(matrixStack, buffer, packedLight, packedOverlay); } Note that the method takes in RGB and alpha, but calls a render method that doesn't take those values in, if that doesn't work you can always replace the vanilla rendering logic with your own, take a look at LivingRenderer if you're interested.
-
The 1.2.2.2 Forge installer won't install a mod folder in the Server.
1.12 is no longer support on this forum, please update to a modern version of Minecraft to receive support.
-
[1.15.2] How do I create an item with power?
Packets.
-
How do I create a text GUI hud?
What HUD? If you're looking for how vanilla renders it's HUD, you can find the vanilla source code in your project's libraries.
IPS spam blocked by CleanTalk.