-
Posts
785 -
Joined
-
Last visited
Everything posted by ItsAMysteriousYT
-
Read the mcMod.info using BufferedReader?
ItsAMysteriousYT replied to ItsAMysteriousYT's topic in Modder Support
Oh thanks and is there a way to acces other files in the jar file? -
Is there a way to acces the mcmod.info file for reading it with a BufferedReader? I don't know how to point Java to it
-
[1.8] Load .obj Models like in 1.7?
ItsAMysteriousYT replied to ItsAMysteriousYT's topic in Modder Support
lol yea, i thought B3D was kinda minecraftlike model format like tcn thank you -
[SOLVED]Let a GuiButton bring up a specific Website??
ItsAMysteriousYT replied to ItsAMysteriousYT's topic in Modder Support
Yea, i would have searched for it later, but i wanted to know if there is an inbuilt option lol -
[1.8] Load .obj Models like in 1.7?
ItsAMysteriousYT replied to ItsAMysteriousYT's topic in Modder Support
How can i convert? -
[1.7.10]How to add slots to the Playerinventory?
ItsAMysteriousYT replied to ItsAMysteriousYT's topic in Modder Support
Lol, thak you great guys I would be lost without this Forum!! -
Hey there, is it possible to load obj models in 1.8 like in 1.7 or do i have to rewrite the parser for it?
-
Yea could've done that thank you
-
This is really easy. Do a GuyOverlay that only displays a grey/textured rectangle when the 'u' key is pressed. I did it like this and it works great. To get a GuyOverlay working, youll have to creat a new class that has the following few things in it: public class YourOverlay extends Gui{ public YOurOverlay(Minecraft mc){ this.mc = mc; } @SubscribeEvent(priority = EventPriority.NORMAL) public void renderOverlay(RenderGameOverlayEvent event){ ScaledResolution scaledresolution = new ScaledResolution(this.mc, this.mc.displayWidth, this.mc.displayHeight); int k = scaledresolution.getScaledWidth(); int l = scaledresolution.getScaledHeight(); if (event.type != ElementType.ALL) { return; } if (Keyboard.isKeyDown(Keyboard.KEY_U)){ GL11.glPushMatrix(); //Your code here (Youll have to use k as width and l as height!!) GL11.glPopMatrix(); } } } Then youll have to define a new field in your ClientProxy and register the YourOverlay-class like this in your ClientProxy : private final Minecraft mc = Minecraft.getMinecraft(); MinecraftForge.EVENT_BUS.register(new YourOverlay(mc));
-
Weird OBJ Model after Export from Blender
ItsAMysteriousYT replied to Krabaul's topic in Modder Support
That wouldn't help here. Thats just an option to save some memory... -
Weird OBJ Model after Export from Blender
ItsAMysteriousYT replied to Krabaul's topic in Modder Support
This is because your model has to many vertices. The forge internal OBJ loader isn't the greatest one and has this bug when there are too many points. And btw, what is the mod youre working on? -
[1.7.10]How to add slots to the Playerinventory?
ItsAMysteriousYT replied to ItsAMysteriousYT's topic in Modder Support
Okay great, thank you!! -
I want to add some slots to the inventory of the player for specific items. How can i add them to his inventory?
-
How to use the stepHeight for an Entity
ItsAMysteriousYT replied to ItsAMysteriousYT's topic in Modder Support
Yea, i tried doing it like that with doesBlockExist and then sin(rotationYaw*PI/180) etc but it wouldn't work properly. Do you have any suggestion? -
Is it possible to let another player open a gui
ItsAMysteriousYT replied to ItsAMysteriousYT's topic in Modder Support
Yea sorry, that was a stupid question -
I want, that when i click on a Player, that a gui pops up for him. Is that possible?
-
In the constructor of my Carentity i have set the StepHeight to 1.0f. But when it collides with a block, the entity does not get up. What do i have to do else?
-
[1.7.10]Weird entity bug-Please Help!!
ItsAMysteriousYT replied to ItsAMysteriousYT's topic in Modder Support
What you mean with locationmessage like System.out.println or to a variable? -
I wrote a car entity but when it collides and then i drive away and dismount, the player dismounts where the entity collided. Any suggestions? PS: If you need any code, just say it but maybe you know the bug and say me what causes it
-
[1.7.10] Rendering block in inventory (has a custom render)
ItsAMysteriousYT replied to M4thG33k's topic in Modder Support
What youll need is a class that can render a tileentity. For this i have written a GenericItemRender like this: To use this simply do this in your ClientProxy: MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(YourBlock), new GenericBlockItemRenderer(new YourTileEntityRenderer(), new YourTileEntity())); -
Let the player rotate his arm
ItsAMysteriousYT replied to ItsAMysteriousYT's topic in Modder Support
Thanks -
How can i let a vehicle go up blocks?
ItsAMysteriousYT replied to ItsAMysteriousYT's topic in Modder Support
I tried it and it didn't work!!