i want to create a new potion, and it has a new effect.
i didn't find an example in the doc.
I can't create a effect class from net.minecraft.potion, it is protected.
so i dont know used it in the RegistryEvent.Register
thanks
hi, i started to learn forge modding.
my .json file in src/main/resources/asserts/{modid}/models/item/xxx.json
but the intellij say:
[Worker-Main-11/WARN] [minecraft/ModelBakery]: Unable to load model: 'zombieliquid:rotten_flesh_plus#inventory' referenced from: zombieliquid:rotten_flesh_plus#inventory: java.io.FileNotFoundException: zombieliquid:models/item/rotten_flesh_plus.json
hope to get help.
this is my project:
https://github.com/YellowZhiyi/zombieliquid_mod
e, i can connect internet use chrome,but i don't know why the IDEA can't connect. And the 'libraries.minecraft.net/' always 404 or 403, but i can connect the 'www.minecraft.net'
The forge's version is forge:1.15.2-31.2.0
The jdk's version is 1.8.0_131
I downloaded the gradle offline package from the internet,But the error message is still related to network reasons。Hope someone can help me。
Error message:
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':_compileJava_1'.
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve net.minecraft:client:1.15.2.
Caused by: org.gradle.api.resources.ResourceException: Could not get resource 'https://libraries.minecraft.net/net/minecraft/client/1.15.2/client-1.15.2-extra.jar'.
Caused by: org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://libraries.minecraft.net/net/minecraft/client/1.15.2/client-1.15.2-extra.jar'.
Caused by: java.net.SocketException: Software caused connection abort: recv failed
I am curious why the libraries cannot find resources
build.gradle
2 replies
Important Information
By using this site, you agree to our Terms of Use.