Everything posted by thebest108
-
What is Forge?
There is, but the stupid bukkit team said no
-
How to get the amout of TNT in inventory?
Do something like if(Minecraft.getMinecraft().thePlayer.inventory.hasItem(ItemStack)) { Minecraft.getMinecraft.thePlayer.inventory.getItemstack(ItemStack).stackSize--; } I'm on mobile so the names aren't 100% accurate Btw to make a new ItemStack do ItemStack yourItemStack = new ItemStack(net.minecraft.src.Item.TNT;
-
How does the beacon block affect the player when it gets in a certain radius?
How does the beacon block affect the player when it gets in a certain radius?
-
Is there anyway to create a Forge Server Mod with edited base classes?
Chickenbones distributed the source, just see how he did it
-
how to make minecraft crash using loggers
Crash minecraft? use System.exit(0)
-
Is there something that detects when a player leaves a server or a single player
Is there something that detects when a player leaves a server or a single player world?
-
[1.4.5/6/7] keepcalm's mods - Events API, BukkitForge - Interdim TPs, Lockette!
You dont need a whole API to break a block, however I'm not spilling my secret on how I do it, but you don't need an api
-
Caught an exception during block registration
Is your mod name mod_blocks, because if it is then check line 25 for anything that's null
-
Item spawning please help
Ive been doing ItemStack piggy = new ItemStack(AdvancedMiningDrillTraits.filledPigAnimalCage); public boolean itemInteractionForEntity(ItemStack itemstack, EntityLiving entity) { if (entity instanceof EntityLiving){ if (entity instanceof EntityPig){ if(entity.worldObj.isRemote){ entity.isDead = true; --itemstack.stackSize; EntityItem pig = new EntityItem(entity.worldObj, entity.posX, entity.posY, entity.posZ, piggy); entity.worldObj.spawnEntityInWorld(pig); }} but it will only spawn one item the first time, then it just wont spawn the item please help
-
Is there any event of being attacked by a Lightening?
Specifically its public void onStruckByLightning(EntityLightningBolt par1EntityLightningBolt){ do stuff }
-
Is there any event of being attacked by a Lightening?
Yes there is, its in the EntityPig class, when you find it just paste the method in your mod and make changes as you see fit
-
Block destroyed pos helP
Solved, just in case anyone wants to know, it's par4, par5, and par6 in the onBlockDestroyed() method
-
How do I add an item to players inventory?
No would I add an item to players inventory (in a static preferably)
-
Block destroyed pos helP
How would I get the position of the block the player just destroyed
-
Forge Server (1.4.2) 6.0.1.341
A. Wrong forum, this is for forge not craftbukkit forge B. it's in beta so don't expect much
-
Smp player pos
Is there an alternative for ModLoader.getMinecraftInstance().thePlayer.posX that works server side?
-
Packet help
Don't you think I've already tried that, the server side acts like it never initialized the packet and gives me a nosuchvariable error
-
Mineforage 1.4.2 dosent work with industral craft 2 beta
Where did u get this?
-
Packet help
Can someone help me, I need to get something like this working If(herp==derp){ If(side==side.CLIENT){ get client side data, send as packet} //client side and server side should receive the packet Use information}} Btw the packet needs to send ints, doubles, and floats. Can someone please help me?
-
A Mod Idea To Give Creative Mode More Diversity
No, Im leaving it at that
-
Block breaking event
I'm working on a mod and I need something to happen once a block is broken by a certain tool, I've been thinking of using the thing that damages the tool once a block is broken, but I can't find where its located. Any help would be greatly appreciated
- Custom Block Helmet
-
Built in ModloaderMP
*facepalm* what a waste of internet
IPS spam blocked by CleanTalk.