Everything posted by ItsAMysteriousYT
-
Multiple collisionboxes in an entity?
Is there a way to have multiple collision boxes for an entity (e.g a plane), so the player can dismount his seat and move inside the entity?
-
Render OBJ model as item[1.8]
But somehow forge must did it before. Isn't there a possibility called AccesTransformer - i think NoCubesMod uses that.
-
Multimountable entity and other problems?
So with a variable in the entity and then send a packet with the new positon and update it on server?
-
Multimountable entity and other problems?
Okay wait - what? Why do i use tileentity to store data? Hasn't an entity got fields for that?
-
Render OBJ model as item[1.8]
Is there a way to render an objmodel as item like in 1.7.10? Cuz IItemRenderer was removed as far as i know. Would be nice to know, cuz atm all my custom modeled block are purple/black cubes in the inventory which looks pretty derpy
-
Multimountable entity and other problems?
Okay, so is it smart to create a packet taking in the keys id and the entity and then in the packethandler it updates the position?
-
Multimountable entity and other problems?
Yea, omg why did i check the key first am i stupid? And can't i just check if its client and then simulate the movement on client(eg with other variables) and send it to the server with a packet?
-
Multimountable entity and other problems?
Please help, im struggling on this really long
-
TileEntity not saving[1.8]
Okay ill try that thanks. Im sorry if im annoying.
-
TileEntity not saving[1.8]
Then onBlockPlacedBy?
-
TileEntity not saving[1.8]
But it works - i don't render normal blockmodels (.json) i render .obj models and now the saving worked too(thanks for helping!!), i added the method AND the empty constructor
-
Multimountable entity and other problems?
I have a car entity and i want to make it possible that more than one person mounts it. To do that i thought of creating a field of Type entitySeat and add new EntitySeats to it in the constructor of the Entity. But once i tried it it didn't even spawn the seats. I registered all the entities in the correct place and order with different id's, but it wouldn't work. Also i think ill need somebody to help me with the packetHandling for the driving mechanizm. Im thinking of a packet that takes in the id of the pressed key and sends it to the Server. On the server the entity in which the player of that message is sitting, should do the movement stuff, but i can't figure out how to excactly do it. So - here is the EntityClass and the ItemClass that spawns it: EntityClass: ItemClass(Its generated in code, thats why it is not public):
-
Render a tileentity to imageFile?[1.8]
Okay, now - how to use that thing?
-
TileEntity not saving[1.8]
Yes, problem is, i have the rotation stored in the tileentity and i set this in the createNewTileEntity method in the BlockClass.
-
Is there a GUI designer plugin?
uhm what about debug mode?
-
TileEntity not saving[1.8]
I have created a Lantern TileEntity, but it does not save the values. Here is the TileEntity class:
-
Render a tileentity to imageFile?[1.8]
Yes i know that, im working on my own openGL game so that shouldn't be a big problem
-
IgnoreFrustumCheck for TileEntities ?[1.8]
Ah! Thank you
-
IgnoreFrustumCheck for TileEntities ?[1.8]
I know that for entities you can set ignoreFrustrumCheck to true, so the entity is being rendered even if the boundingbox is out of view. Is there a way to make this for tileentities too?
-
Render a tileentity to imageFile?[1.8]
Is it possible to render a tileentity for example a trafficlight not to the screen, but to an image and then save it?
-
Moving a VehicleEntity and how to propperly set it up[Question for diesieben07]
I think i found a solution for the mounting problem -but not for the driving problem. In an eventhandler i look for the key that is pressed and then gt the player from Minecraft.getMinecraft().thePlayer. Then i check if that players ridingEntity is instanceof EntityVehicle and in the EntityVehicle i create a method that takes in the keyID and executes the actions like throttling the engine etc. Will that work? (Thanks diesieben07 you help in a really good way!!)
-
Moving a VehicleEntity and how to propperly set it up[Question for diesieben07]
I check if the entity is ridden by a player before i check if a key is pressed but oh... it will ,move if multiple cars are mounted! So, what to do to fix that? Heres the error spoiler
-
Moving a VehicleEntity and how to propperly set it up[Question for diesieben07]
Can you help me?
-
Moving a VehicleEntity and how to propperly set it up[Question for diesieben07]
You just say it is wrong, but don't give a hint what is wrong or how i can fix it
-
[1.8] Rendering block like a flower
I think youll have to use the custom blockmodel now (.json files). As far as i know, that should work.
IPS spam blocked by CleanTalk.