Everything posted by Draco18s
-
Textures change in hand but not in world?
Or you could do that.
-
Textures change in hand but not in world?
Use metadata instead. Every random updateTick, increase the metadata by 1, then display an icon based on the metadata. What you're doing now is not going to work, as the Block class is a singleton.
-
Find suitable spawn point
EntityLivingBase#canSpawnHere(...) ?
-
Reduce but not nullify fall damage.
if(event.distance > 1) { event.distance -= 1; } Seriously. Math. Use it.
-
[Unsolved] Where are the grass block texture overlays rendered? [1.6.4]
Look for a case statement. There's one main one that takes the block ID and passes off the rendering for certain blocks in various ways. Grass may have its own, if not it falls into a standard cube renderer.
-
[Unsolved] Where are the grass block texture overlays rendered? [1.6.4]
Ok i don't exactly know how to do this, so where is the grass block rendered? Giant class called RenderBlocks.java, if I recall correctly. I don't recommend looking through it, it's not organized in a fashion that will help you.
-
[Unsolved] Where are the grass block texture overlays rendered? [1.6.4]
Render in multiple passes. In the second pass render the overlay texture with the color multiplier.
-
General Proxy Question
Also watch out for Client-side only constructors. EntityFireball has one and has caused a headache or two.
-
setBounds help
I don't think blocks like having bounds outside a full cube.
-
Disappearing Container Items
You don't need to implement or use any packets to synch inventories. My guess is that somewhere along the line you've improperly set up your gui / container / tileentity classes, but I wouldn't know where to look.
-
[solved] Can't install forge (src)?
1) Gradle subforum. 2) Are you downloading the right thing? I just checked the Forge-latest source link and it contained gradlew.bat, as expected.
-
missing textures block
Why don't you look at the source for the vanilla blocks that do what you want and figure it out.
-
missing textures block
Fuck, you really can't look at vanilla to see how it handles it? Open BlockLeavesBase, BlockBreakable, BlockGlass, BlockPortal, BlockLeaves, or BlockIce and see how that block does it. It's really simple, really obvious, and has a freaking javadoc about transparency and rendering.
-
missing textures block
As it happens, I cannot read minds or remote view your screen.
-
Useless code? (ItemPickaxe)
Like the item function isMap() that is used by nothing (there's actually one reference, fairly obscure). Maps rendering in item frames is handled by if(containedItem == Item.Map) which makes extending ItemMapBase for any reason a real annoyance.
-
missing textures block
What does this mean
-
Useless code? (ItemPickaxe)
Mojang code. Learn to deal with it. In time you will come to love it.
-
missing textures block
Define "does not work"
-
can't find out why it isnt loading my texture.
And without the crash log, we can't help you.
-
missing textures block
You didn't set the leaf block to be transparent. Look at BlockIce
-
missing textures block
The file name does not match the string that you're telling minecraft to look for.
-
missing textures block
I know what the problem is. "log_redstone.png.png" doesn't match "log_redstone" (file name you specified) + ".png" (implied file extension).
-
Unknown Texture Crash
Air. Block ID 0 is null in vanilla.
-
Timer not working...
Block#updateTick()? World#scheduleUpdateTick()?
-
can't find out why it isnt loading my texture.
And the material variable is going unused. Either pass it to super, or get rid of it.
IPS spam blocked by CleanTalk.