Everything posted by tlr38usd
-
World-gen help
Is there a better way to do it? I know villages spawn on top of the world and they're not decorations.
- World-gen help
-
World-gen help
So how do I generate after the land?
-
World-gen help
heu ... y coordinate of what ? because technicly yes 0 is a y coordinate. are you asking how to get the y coordinate of the first block starting from the sky ? aka the non-air block that has the highest Y for a given x, z ? Yes, like how villages spawn on the top of the world
-
World-gen help
I'm making world gen for my mod and I'm wondering how you get the y coordinate that is not underground. I have looked in the minecraft source and found this int y = world.getHeightValue(x, z); But that always returns 0, help!
-
How do you make a block emit a strong redstone signal?
I saw that but it doesn't work when I set it to 15, might there be something wrong with the side?
-
How do you make a block emit a strong redstone signal?
How do you make a block emit a strong redstone signal that travels through blocks like the repeater does?
-
How to make a throwable entity render its Icon like a snowball?
How do you make a throwable entity render like a snowball with its Icon?
-
Is it possible for an entity to emit a red stone signal?
Thanks that works!
-
Is it possible for an entity to emit a red stone signal?
Like this? public void onBlockAdded(World par1World, int par2, int par3, int par4) { par1World.scheduleBlockUpdate(par2, par3, par4, 5, 5); } There was an extra parameter I needed to add and I wasn't sure what it did. I set it really small so I could see it happening but it doesn't disappear.
-
Is it possible for an entity to emit a red stone signal?
I already had the first and the last one, thanks for the isBlockReplaceable though! =D My problem with updateTick though is that it does not update as much as I'd like it, is there a way to speed it up? I have tried tick handlers but I'm not sure how to get the block's coordinates.
-
Is it possible for an entity to emit a red stone signal?
Alright. Well currently the way I'm doing it is adding a transparent non-solid block to the world wherever I want the entity to emit a red stone signal. However it still has the black line around it when I hover my mouse over it and it still acts like a block. Is there a way to make it behave like air so players don't have to break it before placing another block and don't have to see the black border? Also what would be the onupdate for blocks? I'd like it to disappear it to air after x amount of ticks. edit: I got the border to disappear with. public MovingObjectPosition collisionRayTrace(World par1World, int par2, int par3, int par4, Vec3 par5Vec3, Vec3 par6Vec3) { float f = 0.15F; this.setBlockBounds(0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F); return super.collisionRayTrace(par1World, par2, par3, par4, par5Vec3, par6Vec3); } However I'm not sure this is the best way to do it because now there is no way to break it...
-
Is it possible for an entity to emit a red stone signal?
Could I make an entity that either powers the block it's on or the block underneath it with a red stone signal? I know that computercraft turtles can emit redstone signals and I'm pretty sure they are entities.
IPS spam blocked by CleanTalk.