Everything posted by Draco18s
-
[1.14.4] Any way to hook into Elytras code?
See this bit? This is the troublesome bit.
-
mods.toml missing metadata for modid examplemod [SOLVED]
So you changed the toml file from "examplemod" to "testmod" Did you remove the Java code for the example mod?
-
Could not initialize class java.net.SocksSocketImpl when creating world/opening the Multiplayer tab
I don't see anything. Did you set up your toml file?
-
Could not initialize class java.net.SocksSocketImpl when creating world/opening the Multiplayer tab
The only reason you'd want two methods is if you plan to pass strings sometimes and resource locations other times, but you aren't planning on doing that, are you? (In terms of different kinds of registries, its already a generic method that supports everything you need)
-
Could not initialize class java.net.SocksSocketImpl when creating world/opening the Multiplayer tab
By the way, I don't know why you typed out two helper functions instead of doing this: event.getRegistry().registerAll( new Item(new Item.Properties()).setRegistryName(new ResourceLocation(CraftOfTheWildMod.MODID,"travelers_sword")) ); If you really really wanted to avoid doing setRegistryName and new Resource location a bunch, then only one helper: return entry.setRegistryName(new ResourceLocation(CraftOfTheWildMod.MODID, name));
-
Bypassing JSON for texture registering
Not really. The main reason "all the good mods aren't available on the newest version" is because people move on. No one wants to spend all of their time supporting something they "finished." (Or in some rare cases, like myself, I'm prevented from updating due to a missing feature in Forge that I'm having PR'd as well as trying to update Custom Ore Gen, which is taking a while as I don't understand a lot of the underlying systems)
-
Forge 1.12.2 keeps crashing i need help pls
1.12 is no longer supported here. Update.
-
Items look weird and crooked in inventory
Step 0: Open an image editing program and draw what you want your 18 pixel sword to look like in the inventory.
-
Why some official vanilla-blocks have only one value in "hardnessAndResistance?"
Nope. Which is why I don't bother replying to his threads any more.
-
[1.15.2] PlaySoundEvent getVolume NPE
https://github.com/MinecraftForge/MinecraftForge/issues
-
[1.15.2] Ore generation with DeferredRegistry
Hmm....
-
Items look weird and crooked in inventory
Unless your plan is to hack the gui systems to draw your items with more pixels, I suspect that nothing will do what you want.
-
Items look weird and crooked in inventory
Inventory squares are always the same size. You can't just "add a few extra pixels" and make it work. The image is going to get scaled down to fit within that space and that space is only 32x32 on screen (actually, its 16x16, but the default UI size is scaled up by a factor of 2 with a intrapixel mode of "nearest").
-
[1.15.2] Ore generation with DeferredRegistry
Ore generators are FEATURES. You can look at the vanilla code for how it creates its own oregen.
-
[SOLVED] [1.15.2] A texture issue with cross models?
Ok, I'm not sure.
-
[SOLVED] [1.15.2] A texture issue with cross models?
Well, what class does your block use? You showed your item registration, but not your block code.
-
[1.12.2] Mod is client-side, but won't run on server?
1) 1.12 is no longer supported here 2) I WONDER WHAT THIS DOES
-
Help with creating items?
This looks pretty self explanatory to me.
-
[SOLVED] [1.15.2] A texture issue with cross models?
You didn't set your block (in the java code) to be transparent.
-
[1.15.1] IRecipeFactory doesn't exist but yet it is in the doc?
You should implement those methods.
-
Items look weird and crooked in inventory
Don't use non-power-of-2 textures.
-
missing model for variant: but model exists
"Missing Model" us a generic failure. There is always an underlying error printed below it. Show us that.
-
[Solved] How to cancel PlayerEvent.ItemCraftedEvent?
...You do know that there's a game rule that already covers this, right? If you don't have the recipe in your recipe book, you can't craft it when the rule is enabled.
-
(SOLVED) [1.14.4] BlockState Json
I have other issues (such as trying to highlight multiple lines so that when I do a delete, the "head" of the line ends up in the right spot), but the backspace thing is common to nearly all IDEs I've ever used.
-
How can i add alot of almost identical json files fast?
You're (hopefully) a programmer. Write some code to do it for you.
IPS spam blocked by CleanTalk.