Everything posted by Busti
-
Extended metadata with TileEntity
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.
-
Extended metadata with TileEntity
Thats not the point o.0
-
Extended metadata with TileEntity
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) ?
-
Extended metadata with TileEntity
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
-
Place Item Frames in World Gen
EntityItemFrame frame = new EntityItemFrame(world, x, y, z, direction); frame.setDisplayedItem(ITEMSTACK TO DISPLAY); Should do what you want.
-
Place Item Frames in World Gen
Yeah there is a setDisplayedItem function in the Entity Class. I guess that should place an Item in there.
-
Extended metadata with TileEntity
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.
-
Place Item Frames in World Gen
new EntityItemFrame(world, x, y, z, direction)
-
Extended metadata with TileEntity
What do I need to add in the Tileentity to access the Metadata?
-
Place Item Frames in World Gen
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.
-
Block/Item true public layer
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.
-
Extended metadata with TileEntity
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
-
[Solved]Subblock with Hardness?
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.
-
Look down like a map but with a different texture
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.
-
[Solved]Subblock with Hardness?
Hello, How can I make metadata based Subblocks with different Hardness levels? I'm looking forward for any Help. Busti
-
Minecraft power system
Try to look how Redstone manages the instant power Transmission and then send Power Packages inatead of signal strengh.
-
[SOLVED]Set solt unaccessible for player?
I got it... Thanks
-
[SOLVED]Set solt unaccessible for player?
Ok, but how can I set the given slot unaccessible in there?
-
[SOLVED]Set solt unaccessible for player?
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
-
Not a network mod?
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
-
How do you give the player a potion effect without the potion particles?
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.
-
[SOLVED]Custom Gui Error
I think I just forgot to declare the Tileentity in the constructor.
-
[SOLVED]Custom Gui Error
Here is the Code: it should be as in the Tutorial.
-
[SOLVED]Custom Gui Error
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
-
How to Render a PlayerName above a Block?
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.
IPS spam blocked by CleanTalk.