Everything posted by Ugdhar
-
[1.15.2] I'm trying to generate my custom ore but it isn't work.
Use DeferredWorkQueue.runLater(Runnable), DeferredWorkQueue is in the net.minecraftforge.fml package and is documented. There was an example of someone using it within the first page of search results. If something doesn't work, you need to post updated code (preferably just have a github repo for the project) and updated logs, and be more descriptive than "it didn't work". When all the details are present, a solution usually presents itself
-
[1.15.2] I'm trying to generate my custom ore but it isn't work.
Search these forums with the search bar at the top for DeferredWorkQueue and you will find an example in one of the results I am sure. I haven't looked, but there might also be documentation in the source for it as well.
-
[1.15.2] I'm trying to generate my custom ore but it isn't work.
Haha oops, I meant that instead of DeferredRegister, thanks, fixing it!
-
[1.15.2] I'm trying to generate my custom ore but it isn't work.
You are overthinking it. You don't need to extend DefaultBiomeFeatures, just find one of the method calls in there that is adding ores, such as this from the addOres method: biomeIn.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, Feature.ORE.withConfiguration(new OreFeatureConfig(OreFeatureConfig.FillerBlockType.NATURAL_STONE, IRON_ORE, 9)).withPlacement(Placement.COUNT_RANGE.configure(new CountRangeConfig(20, 0, 0, 64)))); And then use a similar call to the Biome#addFeature method from your FMLCommonSetupEvent, using DeferredWorkQueue using your custom ore. *edit: also, that event you have setup will never fire, there's no method signature to indicate what event it is subscribed to
-
[unsolved] Can't hit player from entity AI w/ attackEntityFrom
Were you in creative mode when you were trying it? Just curious, since I would imagine you wouldn't take damage in creative.
-
Why cant i play 1.15.2 with optifine
I've seen people using a mod called optiforge to load unsupported versions of optifine in 1.15, but honestly that seems like a total hack to me, and I wouldn't bother. Just seems like a hacky mod that lets you run an unsupported hacky mod. . .
-
Forge freezes when trying to save and quit world.
Please post your debug.log after this happens with no mods installed, it should provide enough information to start figuring out what is going on.
-
[1.10.2]Forge Version checks fail
Please do not add on to a thread someone else started just because you think your issue is the same, changes are it is not. You should start your own thread. No you don't, the latest version is 1.15.2-31.2.0 and you are still using 1.12, which is no longer supported due to age. Please update to a modern (1.14.4/1.15.2) version to receive support. More information on supported versions can be found in the LTS link at the top of every page.
-
How to find entities?
If you look in the Referenced Libraries of your IDE, there is a forge jar with all the MC/Forge sources for you to browse. A lot/most of the forge stuff has comments/javadocs, but as far as I can tell the majority of the vanilla stuff is not. If you mean like an actual reference manual describing all the methods, there is not one, you more or less have to dig in and read the code. As for your other question, I haven't tried to find all instances of a specific item entity before, sorry!
-
Need Help
Really old versions are no longer supported. Please update to a modern (1.14.4/1.15.2) version to receive support. More information on supported versions can be found in the LTS link at the top of every page.
-
Can I download older mods with a newer release?
As Terdy mentioned above, you make a new Installation (they aren't called profiles anymore) in your launcher for whatever version(s) you want. That being said, keep in mind that 1.12 is not supported here any longer, and if you have issues, you will have to go elsewhere for support. Moderators will close threads for old versions, since the focus is on modern MC/Forge.
-
My forge dont show up my mods ):
Really old versions are no longer supported. Please update to a modern (1.14.4/1.15.2) version to receive support. More information on supported versions can be found in the LTS link at the top of every page.
-
[1.15.2] [Solved] Game "freezes" when generating custom feature
I'm pretty sure he's a mod user, not a mod maker, and doesn't really know what he's saying.
-
The first time I installed Forge it worked fine, but when I installed a different version of it, it didn't work.
Whichever program is opening the files as ZIP files has hijacked your jar file associate away from Java. https://johann.loefflmann.net/en/software/jarfix/index.html should sort you out.
-
Mod file says it's for an older version of Forge
You got scammed, there is no Pixelmon for 1.15.2, it has not been updated to a supported versions yet (which doesn't mean you can't try to use it, you just won't get help for it here) *edit: Pixelmon website https://reforged.gg/
-
Unable to launch forge 1.14.23.5.2854 Exited with proces code 1
Really old versions of Minecraft/Forge are no longer supported. Please update to a modern (1.14.4/1.15.2) version to receive support. More information on supported versions can be found in the LTS link at the top of every page.
-
Reloading problem in vic's modern warfare mod
You probably aren't getting answers (I saw you complaining in another thread), 1)because you didn't wait very long, this is a forum not a chat room; and 2) because 1.12 is no longer supported because it is out of date. Please update to a modern version (1.14.4/1.15.2) to receive support. If you cannot/will not update, you will have to seek support elsewhere for your issue. More information on supported versions can be found in the LTS link at the top of every page.
-
mods folder isn't generating when creating a forge server
you are starting a vanilla server. Use the forge jar
-
Server Not Starting
How are you starting the server? If it's a script, please post the contents of it.
-
All versions of Forge either not showing up or not starting at all
Not much I can do to help you if you're using old software then, sorry! Good luck!!
-
Custom loot_table not read
Everything looks right to me, compared it to a block drop json I have that I know works, seems like everything's right, it looks in the right folder and everything. Just to throw this out there, you aren't in creative mode, are you? Things don't drop in creative mode
-
All versions of Forge either not showing up or not starting at all
Use the new launcher. Make sure the launcher is closed when installing forge. If it is not working, please post the installer log, and a screenshot of the launcher window with the versions dropdown at the top of the list as well as the bottom of the list. That should give enough info to start figuring out what's breaking on you
-
[1.15.2] [Solved] Stuck while loading custom dimension
Hmm, where are you registering your DimensionType? I can't seem to find it anywhere, and based on the first post it was supposed to be in DimensionInit. Also, I noticed there are still a few references to examplemod in your mods.toml and build.gradle, don't forget to change them to reference deepnether
-
[1.15.2] src/generated/resources is not being read by my code
I think you can change that in your build.gradle (haven't tried it yet myself) to make it generate them right in the src/main/resources I would guess changing that src/generated/resources to src/main/resources would do it. However, I don't know if it clears out anything before it writes them, so make sure you have a backup or something just in case lol
-
[1.15.2] [Solved] What are the pros of Data Generators and should I be using them?
The main benefit(s) I can see are not having to make sure your json syntax is spot on, using code completion in your IDE for the method names, and being able to make loops where things are similar. That being said, I have yet to use them myself, since I'm a tinkerer more than a modder making a mod. https://wiki.mcjty.eu/modding/index.php?title=Tut14_Ep7 McJty has a pretty good starting point, also forge has some examples, and the net.minecraftforge.client.models.generators package has BlockState/Model generators, https://github.com/MinecraftForge/MinecraftForge/blob/1.15.x/src/test/java/net/minecraftforge/debug/DataGeneratorTest.java has examples of those I think.
IPS spam blocked by CleanTalk.