Jump to content

Busti

Forge Modder
  • Posts

    624
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Busti

  1. I got a way to solve that you can set the demage vslue of an ItemStack up to the maximum iterger value now i just need to pass that to the Block and save an integer in the NBT data.
  2. Thats not the point o.0
  3. Ok, let me ask that differently How would I make a Block which has more than 16 subtypes and which is spawnable by creating a new ItemStack (id, count, subID > 15) ?
  4. Yes but when you look up for the Block id's in NEI there is this little "id:dmg" behind the Block which should represent the demage value my question is how mods like Factorisation or redpower made these higher than 0-15
  5. EntityItemFrame frame = new EntityItemFrame(world, x, y, z, direction); frame.setDisplayedItem(ITEMSTACK TO DISPLAY); Should do what you want.
  6. Yeah there is a setDisplayedItem function in the Entity Class. I guess that should place an Item in there.
  7. I know what a NBTcompound is i've used it before very often. but I wanted to know if i can Extend the actual metadata/damage Value of a block with a Tileentity. Like the metadata wool uses of furnaces to remember their facing direction.
  8. new EntityItemFrame(world, x, y, z, direction)
  9. What do I need to add in the Tileentity to access the Metadata?
  10. As the Item Frame is an Entity you cant place it in the World by worldgen easily but it is still accessible in Item Form with the ItemHangingEntity.class so you should be able to place one of them in the World with the given parameters.
  11. Much of them are used by other Classes like the world section of minecraft during the rendering and gameplay process. They need to be public to be visible for these classes. You can find them by searching with eclipse for them. You can also override them to change their behaviour.
  12. Hello, when I want to make a Block with more than 16 subtypes do I have do do something with the Tileentity or can I just make one without anything in it? Busti
  13. I found a way to solve it. You can override the get function in the Block file and then Change it by the demage Value.
  14. Hello, you need to Look at the Renderer for the map which should be located in the rendering files of minecraft. Here is a good Tutorial by iChun (developer of the PortalgunMod) which should help you with your problem. Its all about ItemRendering in the Players hand.
  15. Hello, How can I make metadata based Subblocks with different Hardness levels? I'm looking forward for any Help. Busti
  16. Try to look how Redstone manages the instant power Transmission and then send Power Packages inatead of signal strengh.
  17. I got it... Thanks
  18. Ok, but how can I set the given slot unaccessible in there?
  19. Hello, I am currently working on my first container and I was wondering how I can set the Output slot unaccessible for the player to put Items in. I already managed to block the shift clicking ability for this slot but I am still able to drag the Item in there. I tried to look at the Furnaces tileentity but it is to complicated to find what I need. Please Help Busti
  20. Hello, after the Update to 1.6 I am getting this error when I try to open my custom gui: 2013-07-10 23:30:03 [WARNING] [ForgeModLoader] A mod tried to open a gui on the server without being a NetworkMod it was working first but after I moved the whole registration to preInt i got this. What did I do wrong? I'm looking forward for any help. Busti
  21. I've never made a potion effect but I think it would be possible to create a custom FireResistance potion effect which makes invisible particles. So that the Particles are still there but you can't see them.
  22. I think I just forgot to declare the Tileentity in the constructor.
  23. Here is the Code: it should be as in the Tutorial.
  24. Hello, i've tried to make a custom Gui with a Container and I followed the Tutorial in the Tutorials section of the MCForgeWiki (http://www.minecraftforge.net/wiki/Containers_and_GUIs) I've made everything as in the Tutorial and didn't changed anything but the Names to get started. But when I try to activate the Block I'm getting this Error: What did I do wrong? The only line of this Error that belongs to my mod is this: 2013-06-30 20:19:20 [iNFO] [sTDERR] at busti2000.technica.block.SoulTableBlock.onBlockActivated(SoulTableBlock.java:85) but my Code is the Same as in the Tutorial just with the Name of my mod: entityplayer.openGui(Technica.instance, 1, world, x, y, z); What can I do to fix this Error? Thanks for any Help Busti
  25. Thank you that would be really nice. I also found the one minecraft has but as it is a Protected inside RenderLiving i couldn't find a way to use it.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.