Everything posted by larsgerrits
-
Auto Smelting Pickaxe
Good for you. Now what do you want us to do?
-
Files that save info that is world instance specific [solved]
You can use WorldSavedData for this.
-
[1.8]getallTheEntityes close to this particular block. how get this done.<fixed>
Well, the parameters are: - clazz : the entity class you want to check for, for example EntityPlayer will get all the EntityPlayers in the radius. - aabb : an AxisAlignedBB which specified the box it will search for entities in. You get one using AxisAlignedBB.getBoundingBox() . - filter : an IEntitySelector to specifiy which entities are applicable to put in the List. You can either make a new one, or use one of the existing ones.
-
Block Holding Liquid?
Why not extend TileFluidHandler insteand of implementing IFluidHandler yourself?
-
[1.8] iv been trying all day! please tell me what im doing wrong!
@SidedProxy(clientSide="com.shaharcoolmen.randcommands.proxy.ClientProxy.ClientProxy", serverSide="com.shaharcoolmen.randcommands.proxy.CommonProxy.CommonProxy") WTF???
-
[1.7.10] GUI: My renderToolTip call doesn't include extras from e.g. NEI/Waila
The italics are caused by getting a value from an array with an index of i, for example, you have this: GuiButtonPseudoSlot pSlot = pSlots[i]; if (pSlot.pointIsOver(x, y)) {...} The forums sees the [i.] bit (no dot) as a italics sign, so it set's everything after that in italics.
-
How to make an item have a different icon/texture depending on some state?
If you only want to change the icon based on metadata, override getIconFromDamage(int damage) . If you also want to change the icon based on the NBT or something else, override getIconIndex(ItemStack) .
-
[1.7.10] Creative Tab Functionality
Assuming you are using GuiContainer, GuiContainer has a field called field_146994_N which is the ItemStack on the cursor right now.
-
[1.8] Rendering of non-water blocks underwater
Did you try to pass Material.water as your block material? Because it shouldn't render the side if the material of the block next to it is the same material.
-
[1.8] Rendering of non-water blocks underwater
Try passing Material.water as the block material.
-
[1.8] iv been trying all day! please tell me what im doing wrong!
Show your @SidedProxy line, the CommonProxy field below the @SidedProxy , and the proxy classes (ClientProxy and CommonProxy).
-
*.patch files
If you tell us why, we can maybe help you with a other solution that doesn't involve editing base classes.
-
1.7.10 Trouble spawning mob after certain health
What doesn't work with the onLivingUpdate ?
-
MOVED: gravity gun mod crashes
This topic has been moved to Support & Bug Reports. [iurl]http://www.minecraftforge.net/forum/index.php?topic=26585.0[/iurl]
-
[1.7.2]Making a Config File
You imported the wrong Configuration class. You need to import net.minecraftforge.common.config.Configuration .
-
[SOLVED] How to not allow tool use if the player is not a certain level?
You can use the PlayerInteractEvent and check if event.action==Action.ACTION_YOU_WANT .
-
Can't import
Which MC version?
-
[1.7.10][Solved]GuiButton actionPerformed spamming
How are we supposed to help you without your code?
-
[1.7.10] Server mod Questions
You can use the ExplodingEvent.Start and check if event.explosion.exploder instanceof EntityCreeper for the exploding creeper.
-
[SOLVED][1.7.10] On block placed method is executed twice?
Is there somewhere you call the onBlockAdded method yourself? If so,you shouldn't.
-
[1.7.10]crash when rendering item on tileEntity
Put a breakpoint on that line and inspect the values. Either customRenderItem or ghostEntityItem is null .
-
[1.7.10]crash when rendering item on tileEntity
What's at this line of the code? at com.baublelicious.blocks.TileentityPedistalRenderer.renderTileEntityAt(TileentityPedistalRenderer.java:86) ~[TileentityPedistalRenderer.class:?]
-
[SOLVED][1.7.10] On block placed method is executed twice?
Yes, the method is executed twice: on the server and on the client.
-
[1.7.10] List Every Item In A Creative Tab In An Array?
- [1.7.10] List Every Item In A Creative Tab In An Array?
Take a look at CreativeTabs#displayAllRelevantItems(List) . - [1.7.10] List Every Item In A Creative Tab In An Array?
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.