Everything posted by MultiMote
-
render block/item on side another block.
EntityItem entItem = new EntityItem(entity.getWorldObj(), 0D, 0D, 0D, yourStack); //then translate, rotate RenderManager.instance.renderEntityWithPosYaw(entItem, 0, 0, 0, 0, 0);
-
[Solved]How to find out if a player is on fire
oops try entity.getFlag(0);
-
[1.7.10] Scaling texture keeps moving
Something like this: GL11.glTranslatef(k - 100, l, 0); GL11.glScalef(scale, scale, scale); this.drawTexturedModalRect(0, 0, 0, 0, 220, 220);
-
[1.7.10] Loading OBJ Models!
You MUST use triangle faces. In Blender while exporting: http://up42.ru/u/p/___________________2014-08-15_17_41_06.png[/img] Or triangulate faces manually.
-
[Solved]How to find out if a player is on fire
entity.isBurning()
-
Read-Only Slot
public class RestrictedSlot extends Slot { public RestrictedSlot(IInventory inventory1, int id, int x, int y) { super(inventory1, id, x, y); } @Override public boolean isItemValid(ItemStack par1ItemStack) { return false; } }
-
Run command from Java
Post your crash log.
-
Run command from Java
U do it wrong, but Minecraft.getMinecraft().displayGuiScreen(new GuiChat("/something")); Use Minecraft.getMinecraft().thePlayer.sendChatMessage("/something");
-
A PlayerLoggedInEvent problem
Fix what?
-
[1.7.2] Block dropping it self (block) ! [SOLVED]
Because your material is web. It requires special tool to break this block.
-
Trigger a search down a line of blocks (cables) [UNSOLVED] [1.7.10] [CONTINUED]
No, we need a way to ignore already scanned wires during tracing.
-
Drawing string to screen [SOLVED]
Use RenderGameOverlayEvent.Post instead of RenderGameOverlayEvent.
-
Trigger a search down a line of blocks (cables) [UNSOLVED] [1.7.10] [CONTINUED]
e__________r Will give you StackOverflow. |___|
-
Loading and manipulating parts of an obj model [UNSOLVED] [1.7.10]
yourModel.renderPart("body"); GL11.glTranslatef(...); GL11.glRotatef(...); yourModel.renderPart("lid");
-
Save Mod from Java Decompiler
No way.
-
PlayerLoggedOutEvent Not Working
Because client. Try it at server.
-
[1.7.10] Sound not playing
Try to open it in audacity and export to same format.
-
[1.7.10] Sound not playing
Your sound has wrong codec.
-
[Unsolved] GUI doesn't fit?
drawTexturedModalRect ONLY works with 256х256 images. Change canvas size of your image (make transparent space) or use this: /** * Тот же drawTexturedModalRect, но для картинок с любым разрешением */ public static void drawNonStandartTexturedRect(int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight) { float f = 1F / (float) textureWidth; float f1 = 1F / (float) textureHeight; Tessellator tessellator = Tessellator.instance; tessellator.startDrawingQuads(); tessellator.addVertexWithUV((double) (x), (double) (y + height), 0, (double) ((float) (u) * f), (double) ((float) (v + height) * f1)); tessellator.addVertexWithUV((double) (x + width), (double) (y + height), 0, (double) ((float) (u + width) * f), (double) ((float) (v + height) * f1)); tessellator.addVertexWithUV((double) (x + width), (double) (y), 0, (double) ((float) (u + width) * f), (double) ((float) (v) * f1)); tessellator.addVertexWithUV((double) (x), (double) (y), 0, (double) ((float) (u) * f), (double) ((float) (v) * f1)); tessellator.draw(); }
-
[SOLVED][1.7.2] Hide players hotbar
Ouch. Use FOVUpdateEvent for zoom.
-
[Looking for explanation but SOLVED] Unprogrammed entity movement [1.7]
I mean Override this method. Not call.
-
[Looking for explanation but SOLVED] Unprogrammed entity movement [1.7]
Look at the setPositionAndRotation2 of boat or minecart.
-
Re: Blaster Delay Between Firing
How to prevent destoying blocks with this? And it calls when player right clicking useable blocks with this item.
-
Re: Blaster Delay Between Firing
I can't, because there are many things to explain... and i'm so bad in speaking English =(
-
Re: Blaster Delay Between Firing
Ouch... why? Because i'm using left click to shoot and right click to toggle aiming.
IPS spam blocked by CleanTalk.