Everything posted by Animefan8888
-
Creating fog in a custom dimension
He means your indentation is a mix of pressing tab and using spaces. Pick one and love it like a wife or husband. How are you registering it?
-
Open container with server side only
So the way containers are opened are as follows. Server opens container on the server side. Server sends packet to client requesting container/gui to open. Client opens container/gui. Somewhere along the lines it syncs the container contents. You'll have to find the vanilla methods that open a chest on the server and then sync up the client. From there implement your own Container, but keep in mind you'll have to sync the container everytime the player tries to remove something that they can't remove. Otherwise ghost items.
-
[Forge 1.12.2] [SOLVED] Get block property from known block at BlockPos (age of BlockCrop)
Well it should actually be BlockPotato.AGE.
-
[1.14.4][Solved] Create recipes for machine with json
First off you shouldn't use getCapability yourself. You should just be able to access the field in your TileEntity. Secondly the value getCapability returns is not applicable for this parameter. Use RecipeWrapper. Might as well change this to RecipeWrapper as well.
-
eclipse java.lang.classnotfoundexception
Yes, but if you make every package lowercase you wont run into those problems because you know it needs to be all lowercase.
-
eclipse java.lang.classnotfoundexception
Also It gets rid of that problem btw.
-
eclipse java.lang.classnotfoundexception
Show a screenshot of your package explorer in your IDE. Specifically where your ClientProxy class is.
-
Modeling custom items and blocks with blender 1.14.4
I believe that even if you are making an item. If your model is an obj file you need a blockstate json.
-
Modeling custom items and blocks with blender 1.14.4
What part are you having problems with?
-
Modeling custom items and blocks with blender 1.14.4
The model is probably not in the same format as minecraft expects. You can export it as a .obj file. Forge has a way to load obj models I dont know much about it. But here is some documentation.
-
Minecraft crash [Solved]
Look in your build.gradle file. You'll notice that it still says examplemod in some spots.
-
Minecraft crash [Solved]
We all are.
-
Minecraft crash [Solved]
That's not true. Its here.
-
Set client and server value of a tile_entity using packets[1.12.2]
You don't you put it in your Packets instance fields in that method. Then in the handle method you use those instance fields in the packet to update your TileEntity fields.
-
Set client and server value of a tile_entity using packets[1.12.2]
That's not how packets work... you only need one packet. The server is the only one sending data the client just needs to react to that data accordingly. So your main problem is you don't do anything in the toBytes and fromBytes method. You need to actually write that data you want to send into bytes using the parameter you are given. And then read those bytes back into the data and store it in your instance fields.
-
drawing player screen overlay 1.12.2
You don't declare the ElementType .
-
Cannot run Minecraft 1.14.4 from Eclipse
Your mods.toml file is invalid. I think that specific error means you're missing a mandatory entry. If not it means it is malformed.
-
eclipse java.lang.classnotfoundexception
Does this class exist in those specific packages? remember capitals matter. Also it's convention for all package names to be lower case.
-
[1.14] Setting up for (Contributing to) Forge Development
For 1.14 I've always ran ./gradlew eclipse then ./gradlew genEclipseRuns.
-
[SOLVED] Mod crashes forge server on startup
I'm just gonna link this.
-
[SOLVED] Mod crashes forge server on startup
That's not what you are supposed to do that will still crash the dedicated server.
-
[1.14.4 ]what's up with the var names like "p_76131_0_"?
Minecraft's code is obfuscated during compilation. What this means is that it randomizes it's method names, class names, and field names. All parameters in methods are also renamed, not very randomly however.
-
[1.14.2] Is there a way to make a "Rotating" model per say?
There are several ways, I linked you to documentation on the preferred way.
-
[SOLVED] Mod crashes forge server on startup
There is a lot that needs to be done. First off remove IHasModel, BlockBase and ItemBase. All Items have models, and there is already a base Item and Block class. They are called Item and Block. Don't use inheritance for code-reuse. It's an anti-pattern. The main problem comes from you calling RenderHandler.someMethodHere in common code. If you are gonna call Client code from a common code class/method you need to use the @SidedProxy system. Route the code through them.
-
[SOLVED] Mod crashes forge server on startup
Any and all rendering code must be done on the client only.
IPS spam blocked by CleanTalk.