Everything posted by ItsAMysteriousYT
-
[PLEASE HELP] Masive Packet Handling Problems[1.8]
You said earlier that the PacketClass should not have a constructor with fields so how can i pass over some values? I can't find a way for that
-
[PLEASE HELP] Masive Packet Handling Problems[1.8]
So what to happen in on the server then? What do i have to write? You just say update data for me this is data=value from gui but the gui is clientside so i can't acces the gui in the packethandler right? I feel like stupid :'(
-
[UNSOLVED]Load Vehicles from Files -> Need help with strange Error
Okay, now im getting that strange error:
-
[PLEASE HELP] Masive Packet Handling Problems[1.8]
Okay yes, but in the beginning this thread was about some IEEP which still don't work. My problem is that the values are not saved. I launch the game and if the IEEP from the player are empty/some values are missing, i open a gui that sets these values. problem is, the values don't keep through world closing
-
[UNSOLVED]Load Vehicles from Files -> Need help with strange Error
Yea im doing that look: SuperEntityClass: SuperRenderer Class that stores the VehicleFiles:
-
[UNSOLVED]Load Vehicles from Files -> Need help with strange Error
Okay - ill try to describe it in detail what i do right now: 1. I load the files 2. The data from the files is stored in a VehicleFile.class 3. The VehicleFile classes are stored in the VehicleList 4. The ClientProxy loops through the list and generates a new item for each vehicle, generating a json file with the containing texture etc. From there i don't know how to carry on...
-
[PLEASE HELP] Masive Packet Handling Problems[1.8]
So Packets are not to cary data but to execute things on the client/server? How do people send messages then?
-
[UNSOLVED]Load Vehicles from Files -> Need help with strange Error
No - you don't understand me. DAMN - I have one renderer. Only thing i need is to have a possibility to save different cars with their values. Cuz if i load new cars from .txt every time i need to somehow keep the data. SO what to do? Okay wit - probably im wrong so - i tried some reflection and it didn't work properly.
-
[UNSOLVED]Load Vehicles from Files -> Need help with strange Error
But somehow the Flansmod maker makes this too. He just need the vehiclefile and then it generates everything by itself. Probably like if i just make new instances and load the models to a global list and search for them in the renderer every time. Like Map<String,IModelCustom>=new HashMap<String,IModelCustom> While the String takes in the VehicleName and then when the entityvehicle.class is rendered, it will get the IModelCustom from a method?
-
[UNSOLVED]Load Vehicles from Files -> Need help with strange Error
I have a basic EntityFile and i added the possibility that u can load vehicles from a .txt file. Now i need to register a new instance of my generic vehicle rendering class to an entityclass. This entityclass should be a slightly changed version of the basic VehicleClass. So i need to add the vehiclename to the class to make it anotherclass with a new renderer. Since Entityclasses can only have one bound renderer. Sorry if i missspell something im german ( half german -half english)
-
[UNSOLVED]Load Vehicles from Files -> Need help with strange Error
I need to rename an instance of my entityclass so i can register a new renderer to it. How can i make this?
-
[PLEASE HELP] Masive Packet Handling Problems[1.8]
Okay lol but what is the point of packet handling than? Isn't it therefore that things that are managed on clients send data to the serverside? Probably im stupid but it sais that :'(
-
[PLEASE HELP] Masive Packet Handling Problems[1.8]
But how can i pass over some data then? Do i have to use those two methods and if yes - how ?
-
[PLEASE HELP] Masive Packet Handling Problems[1.8]
Hey there, im trying to implement PacketHandling to my mod for several resons. First - i need to change some IEE's from a GuiScreen and second i need to spawn vehicles in the world. So - no matter what i do - it just crashes the game- Here is my PacketHandler, my SpawnVehiclePacket and the method where i call them: PacketHandler: SpawnVehiclePacket As explanation: im loading a file in which there is information about a vehicle. From this information i generate a new item named like the vehicle that should spawn it. The EntityVehicle class takes in the VehicleFile and works with the information. Problem is - every time i rightclick the item game crashes and sends me this errThe CircleOfLife output null shows that the properties aren't set properly): So here is how i call them.
-
[UNSOLVED]Problem with IExtendedEntityProperties
Okay - i tried doing the packethandling stuff but it gives me a svere error and just sais that the packet couldn't be handled also it does not set the properties right. Please help. PS - No errorcode available - just a crash Here is the packagehandler method:
-
[UNSOLVED]Problem with IExtendedEntityProperties
When i spawn in the world the guiscreen pops back up in which ive set the name and gender before. probably this is cuz i don't have the -username argument in JVM-Arguments properly?
-
[UNSOLVED]Problem with IExtendedEntityProperties
Thank you. this really helped me out
-
[UNSOLVED]Problem with IExtendedEntityProperties
Im trying to properly register IEE, but they are not saved probably. I can't make out the problem. Here are the classes and where i register the IEE: IEE-Class: Registration in the ClientHandler registered to MinecraftForge.EVENT_BUS:
-
Remove Crafting Recipes?
Thank you
-
Remove Crafting Recipes?
Is it possible to remove a Crafting Recipe and if yes, how?
-
[UNSOLVED]How to add a location where minecraft looks for assets(1.8)
Cuz i need to generate them first Others can put in their files to load them in the mod like in flans mod
-
[UNSOLVED]How to add a location where minecraft looks for assets(1.8)
Ah thanks
-
[UNSOLVED]How to add a location where minecraft looks for assets(1.8)
Now i know that i have to use reflection but at which place and especially how there just is written WHAT it is not how
-
[UNSOLVED]How to add a location where minecraft looks for assets(1.8)
Oh okay thanks
-
[UNSOLVED]How to add a location where minecraft looks for assets(1.8)
What do you mean with 'reflection'?
IPS spam blocked by CleanTalk.