Everything posted by makerimages
-
[Solved][1.7.2] Did the Item/Block Instances move somewhere else?
Actually, thats a f****** great idea! Ill see if I can come up with sonmething stay tuned!
-
Add an item's spawn damage value
How can I give an item a default damage value? Because package mods.makerimages.ElectronicaE.items; import mods.makerimages.ElectronicaE.common.ElectronicaEConfig; import mods.makerimages.ElectronicaE.common.ElectronicaEngineered; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; public class ItemNoteBookWood extends Item { public ItemNoteBookWood(int id) { super(id); setUnlocalizedName("itemNoteBookWood"); setMaxStackSize(1); setCreativeTab(ElectronicaEngineered.electronicaTab); setTextureName("electronicaengineered:notebook_wood"); setMaxDamage(100); setDamage(new ItemStack(this), 99); } } wont work, the item starts out fresh, when taken from the creative menu.
-
When one tab is open, others draw black
CODE: https://bitbucket.org/makerimages/electronica-engineered/commits/72afbff8067845547a0fbc1bfe80ab657599f0d8 Whenever I open one of the side tabs, the rest of them draw completely black, why is this so and how to fix?
-
One list saves into the nbt, another one doesnt....
https://bitbucket.org/makerimages/electronica-engineered/ at TileEntityPowerTube, the NBT Methods. I can set banned connections from GuiPowerTube, the allowed connections are successfully saved to nbt, and loaded... but the banned connections are not. How could I fix this?
-
Forge TeamSpeak
In my opinion, forge needs a TeamSpeak, it already has an active IRC, but TeamSpeak would add that sense of further connectivity with fellow modders, it would also be a great place to get help from and just hang out and chat with similarly-minded people.
-
set block bounds problem
Well, it is a block that is rendered with a techne model, the model is 2 blocks long on the X axis when placed in the world(currently will only point East-West ) the bounds of the block are 1 block size. I want to extend them, to encompass the model.
-
set block bounds problem
source code: https://bitbucket.org/makerimages/electronica-engineered I want the HeatMolder to be with the bounding boxes the same size as the model. I i cant figure out how to do that.
-
When one block in slot, it is not used
Anyone ?
-
Bucket placement bugs
Where would that go?
-
Bucket placement bugs
https://bitbucket.org/makerimages/electronica-engineered Issue 5 and commit 8c31178 are related to this. When I go to place down a bucket, it will place it INTO the block i clicked on, not the block that is on the face I clicked on, like it shoud do. Also, it wont empty the bucket. And the water wont immediately start flowing aswell. If you can help me with that, you could please try out issue 5 part 2 aswell(the things i classified "Creative only") thanks!
-
Static content books and achievement map type guis
Hey, began to wonder on two things How to add books with static content into my mod? How to create a gui with the achevement chart layout, basically like Thaumcraft`s thauminomicon?, with clickabe elements that display text when clicked? If anyone would be capable of annswering, or providing a code example, it would be really nice!
-
When one block in slot, it is not used
tried adding an if statement: if(tileEntityGrinder.getStackInSlot(0).stackSize>=0) { tileEntityGrinder.getStackInSlot(0).stackSize--; if(tileEntityGrinder.getStackInSlot(1)==null) { tileEntityGrinder.setInventorySlotContents(1,stack1); } else { tileEntityGrinder.getStackInSlot(1).stackSize+=2; System.out.println(tileEntityGrinder.getStackInSlot(1).stackSize); System.out.println(stack0.stackSize); } if(tileEntityGrinder.getStackInSlot(0).stackSize==0) { tileEntityGrinder.setInventorySlotContents(0,null); } }
-
When one block in slot, it is not used
jeez, can someone just make it work for me? ItemStack stack0=tileEntityGrinder.getStackInSlot(0); ItemStack stack1=new ItemStack(ElectronicaEngineered.siliconGrindingItem,2); if(tileEntityGrinder.getStackInSlot(0).stackSize>=0) { tileEntityGrinder.getStackInSlot(0).stackSize--; if(tileEntityGrinder.getStackInSlot(1)==null) { tileEntityGrinder.setInventorySlotContents(1,stack1); } else { tileEntityGrinder.getStackInSlot(1).stackSize+=2; System.out.println(tileEntityGrinder.getStackInSlot(1).stackSize); System.out.println(stack0.stackSize); } } has not worked aswell
-
When one block in slot, it is not used
tried this: public boolean enchantItem(EntityPlayer player, int i) { ItemStack stack0=tileEntityGrinder.getStackInSlot(0); ItemStack stack1=new ItemStack(ElectronicaEngineered.siliconGrindingItem,2); if(stack0.stackSize>=0) { tileEntityGrinder.getStackInSlot(0).stackSize--; if(tileEntityGrinder.getStackInSlot(1)==null) { tileEntityGrinder.setInventorySlotContents(1,stack1); } else { tileEntityGrinder.getStackInSlot(1).stackSize+=2; System.out.println(tileEntityGrinder.getStackInSlot(1).stackSize); System.out.println(stack0.stackSize); } } return super.enchantItem(player,i); } still wont do it
-
When one block in slot, it is not used
anyone? This is critical.
-
MakerBuild System
You point it at the assets/modid folder, which it pulls to the .zip.
-
When one block in slot, it is not used
Hey, I got this: public boolean enchantItem(EntityPlayer player, int i) { ItemStack stack0=tileEntityGrinder.getStackInSlot(0); ItemStack stack1=new ItemStack(ElectronicaEngineered.siliconGrindingItem,2); if(stack0.getItem()!=null) { tileEntityGrinder.getStackInSlot(0).stackSize--; if(tileEntityGrinder.getStackInSlot(1)==null) { tileEntityGrinder.setInventorySlotContents(1,stack1); } else { tileEntityGrinder.getStackInSlot(1).stackSize+=2; } } return super.enchantItem(player,i); } Runs fine, but when I put a single block in slot 0 or a single is left in there, it is not getting removed. How to fix
-
Getting items from a chest at a specific side and inserting into a specific side
any ideas?
-
MakerBuild System
Have not thought about gradle. Hey, this is WIP, the repo does not contain current code as it contains a small bug, it is capable of building a zip from two pointed directories(src and assets) as of the current local version. This is meant for local use you Download the MBS archieve If you have a webserver for your mod(a homepage), you upload the contained .php scripts to it You then set up a mod build configuration within the MBS, and point to the .php files if uploaded From there on, it is as simple as opening MBS, selecting a mod to build, selecting a MC version it is for, and clicking Build , all the rest will be done automatically
-
MakerBuild System
Are you a Mod developer, pushing out builds day after day, doing all the zipping by hand? Are you too confused to get Jenkins up and running? Don`t worry no more! We`ve go the solution to your problems right here- Allow me to present the MakerBuild System, MBS for Short. MBS has a nice, easy to use gui and after you`ve pointed it tou your source and assets directory, it is a one click matter to get it to build your latest release of the mod. Mods can (Not implemented yet) also be pushed online, and distributed via the included(Not yet!) MBS Server-side scripts! Go ahead, it`s open source so check out the source code at https://bitbucket.org/makerimages/makerbuild-system !
-
Continiously do enchantPacket stuff
Hey, go have a look at my code at https://bitbucket.org/makerimages/electronica-engineered in there I have the Grinder with all of its Entitys and stuff, now I would like to, for as ong as the GrindableSlot in the grinder has got something grindable in it and, lets say int i > 0, to proccess it (run the sendEnchantPacket stuff to call the onItemEnchanted function). How would I go about doing so?
-
Gui additional tabs
Hey, there are mods, in which there are tabs, attached to custom guis, such as TE http://technicpack.wikia.com/wiki/Thermal_Expansion_GUI How are these tabs done?
-
Block with TlieEntity adn Container gui nullpointer
Wait.. actually, I was not initializing it at all. fixed it, works now!
-
Block with TlieEntity adn Container gui nullpointer
ElectronicaEngineered.java (mods/makerimages/electronicaE/common/)
-
Block with TlieEntity adn Container gui nullpointer
Hey, I created a BlockContainer, a Container and a TileEntyity for it, made a GuiContaier and a custom gui handler. Now, when I right click my block, it errors and shuts down the game. java.lang.NullPointerException 2013-11-21 17:42:15 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.NetworkRegistry.openLocalGui(NetworkRegistry.java:328) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:357) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at mods.makerimages.ElectronicaE.blocks.BlockGrinder.onBlockActivated(BlockGrinder.java:43) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:371) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1390) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1868) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2013-11-21 17:42:15 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) Look at the sources here: https://bitbucket.org/makerimages/electronica-engineered commit is d82bb6a right now (project readme is messed, dont look at it) How could I fix saisd nullpointer
IPS spam blocked by CleanTalk.