Everything posted by starwarsmace
-
[1.7.10] How would I add a picture in my GUI
Is there any where for a png? Any types of image files will work. (I know this doesnt matter but Im masking a bump
-
[1.7.10] Destroy block /w silk touch
I swear... If one more person asks this question...
-
[1.7.10][Resolved] Code appears not to be working
What does not working mean? Is there a crash? Or does it just not do anything. If this is the case, put in debug comments and narrow down the problem. One thing I can see wrong for certain is that you check it on both sides, the client and the server. Use if(!world.isRemote) to see
-
[1.7.10] How would I add a picture in my GUI
Is there any where for a png?
-
[1.7.10] How to would I add item drops from another mod?
It can't find the TFC block apparently.
-
[1.7.10] How would I add a picture in my GUI
I meant that the I have to make the item picture as part of the background and have the text info around it.
-
[1.7.10] How would I add a picture in my GUI
So Im making a gui for showing information about a item and I want to have a picture of that item. Is it possible to have an image and I don't have to make it its background?
-
[1.7.10] Removing a line of chat from the client
You never did a nullpointer check seeing whether there was not any buttons being pressed.
-
[1.7.10] Client side vs. Server side questions.
1. If you coded everything problem, there really isnt anything to do to make it compatible to servers. 2. The client side does all the presentation stuff. Rendering, music, guis, and particles are all stuff that come on the client side. Basically whatever is presented is done on the client side and the server side is all the calculating, registering, spawning, etc. 3. It does matter where the code goes. The rendering has to be in the ClientProxy because all renders happen on the client side.
-
[1.7.10]How would I check if an item is on the ground?
Oh youre right. Stupid me. The javadocs do say there is only on thing so youre right.
-
(1.7.10) Smelting pickaxe help
Always diesieben with the let me google that for you.
-
[1.7.10] Key Troubles
*facepalm* He meant to call whatever the itemstack was. For example, if the itemstack was named cheese, it would be, cheese.getItem();
-
[1.7.10]How would I check if an item is on the ground?
Thats a really good idea. It works. Thanks!
-
[1.7.10] How to set and get entity's name tag?
There is one in 1.7. If you dont see it that is probably because you didnt do this.setAlwaysRenderNameTag(true);
-
[UNSOLVED 1.7.10] Mouse click/shift+click display different NBT Tag values
Yes he does itemstack = craftMatrix.getStackInSlot(0).copy(); or itemstack = NBTHelper.createStructuredTagAndReturn(craftMatrix.getStackInSlot(0).copy());
-
[1.7.10]How would I check if an item is on the ground?
I am using this in an IItemRenderer and I dont seem to have a world instance. In IItemRenderer it does say that Object[] data parameter in the ENTITY type is the EntityItem in the world. But I cant get an entityitem from an object array...
-
[1.7.10]How would I check if an item is on the ground?
Is there anyway to check whether an item is on the ground? Could I convert the item into and EntityItem and see if the velocity is 0?
-
[SOLVED][1.7.10]Item damage bugs?
Yeah, every other event in that class works fine. I have tried elevating that one to a higher priority and even making it static but nothing is fixing it. I have no idea what's going on here. Is it wrong that I registered it like: MinecraftForge.EVENT_BUS.register(new EventManager());? Always... always.... register in the right event bus.
-
[1.7.10] Help I'm stuck. Literally!
Basic Java You said: if(world.isRemote = true) You need to have two equal signs to compare two objects. So it should be: if(world.isRemote == true)
-
gradle problems.
Ha Ha! You guys have to type gradlew.bat build While I have to only type in gradle build. Thats exactly 5 characters shorter. Installing gradle and not using the wrapper saves so much time in the long run.
-
setBlock not working?
Asking diesieben for example code, is as bad as sticking your hand in a lions cage. A tutorial for getting a variable from another class. http://www.homeandlearn.co.uk/java/accessing_class_variables.html
-
[SOLVED][1.7.10]Cancelling Crafting?
Oops. You posted before me.
-
[SOLVED][1.7.10]Cancelling Crafting?
No. Instead of saying, "That is not correct."; he said what he said. Not a big deal. And not anything to be insulted about. Ive been told things like that a few times by him. . I didnt really get insulted at all. Also to the topic, things change from version to version. So even if you had two managers in 1.5.2, you might only have one in 1.7.10. Though Im pretty sure, its only one manager back in 1.5.
-
Getting parameters from /summon
Im using 1.7. So what holds all the UUIDs of the players online?
-
Getting parameters from /summon
Follow up question. Is there a way of doing getPlayerByUUID or something? If there isnt, is there a place where I can get all the online player UUIDs so I can loop through them?
IPS spam blocked by CleanTalk.