I have tried Block.flowerred, Block.flowerRed, Block.FlowerRed, Block.redflower, Block.Redflower, Block.redFlower, Block.RedFlower, Block.flower, and Block.Flower.
Any ideas?
Rollback Post to RevisionRollBack
Quote from The Great Radio »
Quote from Crysis »
Quote from Hafk »
Fixed
Fixed.
Fixed.
Gosh guys, it was fine the way it was.
Quote from Awsomedude101101 »
Hey I'm am 11 plz ignore laungue THATS SO ****ING AWESOME AGHHHHHHHHHH I want but I am totally broke
P.S no homo but r u a girl?
I have tried Block.flowerred, Block.flowerRed, Block.FlowerRed, Block.redflower, Block.Redflower, Block.redFlower, Block.RedFlower, Block.flower, and Block.Flower.
Any ideas?
plantRed
Next time you have an issue with not knowing the block name, look through the Block.java file first. Okay? Doing that will usually help you and waste anyones time.
I looked at the BlockCactus code and can find where it makes the height, can I have no clue how to extend it from 3 blocks max to 5 or 6.
And is it possible to make it sometimes drop an item, along with the cactus block?
I have not looked at the cactus coding yet, so I wouldn't know how to lengthen the natural height limit for it. Although, I do have an idea of how to make it sometimes drop another item. Try using this
protected void dropFewItems()
{
int i = rand.nextInt(3);
for(int j = 0; j < i; j++)
{
dropItem(Block.NameHere.blockID, 1);
}
i = rand.nextInt(3);
for(int k = 0; k < i; k++) {
dropItem(Block.NameHere.blockID, 1);
}
Also, add this to the top of your coding
protected void dropFewItems()
{
int i = rand.nextInt(3);
for(int j = 0; j < i; j++)
{
dropItem(mod_KNExplorercraft.copperore.blockID, 1);
}
i = rand.nextInt(3);
for(int k = 0; k < i; k++) {
dropItem(mod_KNExplorercraft.tinore.blockID, 1);
}
I don't think that would make it always drop cactus though. It would be more like a skeleton. Sometimes dropping bones, sometimes arrows, sometimes both, and sometimes nothing.
Also, plantRed does not work, neither does plantred or plant.Red.
Oh, then I apologize for being rude earlier. It frustrates me when people do not look through the coding to try and solve an issue, and it seems a lot of people are doing that now.
Hmmm, your issue might be caused by it sharing file with other blocks. I doubt this will work, but try using "BlockFlower.plantRed"
I don't think that would make it always drop cactus though. It would be more like a skeleton. Sometimes dropping bones, sometimes arrows, sometimes both, and sometimes nothing.
But I'll give it a try.
Yea, I apologize for that. I took it from my mobs file, so it might not work. If it doesn't, try taking off the bottom of the coding and just adding in the rest of the coding to the main file for the Cactus.
Yea, I apologize for that. I took it from my mobs file, so it might not work. If it doesn't, try taking off the bottom of the coding and just adding in the rest of the coding to the main file for the Cactus.
I changed my mind. I'm just going to add a new flower for the item I wanted to drop from the cactus :tongue.gif:
Oh, then I apologize for being rude earlier. It frustrates me when people do not look through the coding to try and solve an issue, and it seems a lot of people are doing that now.
Hmmm, your issue might be caused by it sharing file with other blocks. I doubt this will work, but try using "BlockFlower.plantRed"
Ah, I understand. I'll try that. Thanks!
Rollback Post to RevisionRollBack
Quote from The Great Radio »
Quote from Crysis »
Quote from Hafk »
Fixed
Fixed.
Fixed.
Gosh guys, it was fine the way it was.
Quote from Awsomedude101101 »
Hey I'm am 11 plz ignore laungue THATS SO ****ING AWESOME AGHHHHHHHHHH I want but I am totally broke
P.S no homo but r u a girl?
I just looked at the coding to make dye, and it uses Block.plantRed for it. You might be getting errors because you haven't made a static for the Rosebush? Or did you not register it?
Hmmm, finally a tutorial on adding a overlay, I was trying to get my boomer mob to create a temporary puke overlay on the player if they are within distance.... would I need to make a new mod_Overlay type class, or could I just call the overlay() method in the entity file of the said mob?
I just looked at the coding to make dye, and it uses Block.plantRed for it. You might be getting errors because you haven't made a static for the Rosebush? Or did you not register it?
The code was BlockFlower.plantRed.
Sadly, there is still an error where it does not recognize
(soundGrassFootstep)
Here is my code:
public static final Block rosebush = new BlockRoseBush(97,0).setHardness(0.2F).setLightOpacity(1).setStepSound(soundGrassFootstep).setBlockName("rosebush").disableStats().disableNeighborNotifyOnMetadataChange();
Rollback Post to RevisionRollBack
Quote from The Great Radio »
Quote from Crysis »
Quote from Hafk »
Fixed
Fixed.
Fixed.
Gosh guys, it was fine the way it was.
Quote from Awsomedude101101 »
Hey I'm am 11 plz ignore laungue THATS SO ****ING AWESOME AGHHHHHHHHHH I want but I am totally broke
P.S no homo but r u a girl?
how would you make it so when you right click a cow with an empty bowl, it fills the bowl with milk?
Rollback Post to RevisionRollBack
This is a signature. You are reading it. I am controlling your mind. You will not stop reading it until I tell you too....
.....
You will stop reading this signature.
Sadly, there is still an error where it does not recognize
(soundGrassFootstep)
Here is my code:
public static final Block rosebush = new BlockRoseBush(97,0).setHardness(0.2F).setLightOpacity(1).setStepSound(soundGrassFootstep).setBlockName("rosebush").disableStats().disableNeighborNotifyOnMetadataChange();
Easy fix. Just replace soundGrassFootstep with Block.soundGrassFootstep
Error:
I do not know what the block. is for a red flower.
I have tried Block.flowerred, Block.flowerRed, Block.FlowerRed, Block.redflower, Block.Redflower, Block.redFlower, Block.RedFlower, Block.flower, and Block.Flower.
Any ideas?
Gosh guys, it was fine the way it was.
plantRed
Next time you have an issue with not knowing the block name, look through the Block.java file first. Okay? Doing that will usually help you and waste anyones time.
I assumed it meant plant.red.
Also, plantRed does not work, neither does plantred or plant.Red.
Gosh guys, it was fine the way it was.
And is it possible to make it sometimes drop an item, along with the cactus block?
I have not looked at the cactus coding yet, so I wouldn't know how to lengthen the natural height limit for it. Although, I do have an idea of how to make it sometimes drop another item. Try using this
Also, add this to the top of your coding
But I'll give it a try.
Oh, then I apologize for being rude earlier. It frustrates me when people do not look through the coding to try and solve an issue, and it seems a lot of people are doing that now.
Hmmm, your issue might be caused by it sharing file with other blocks. I doubt this will work, but try using "BlockFlower.plantRed"
Yea, I apologize for that. I took it from my mobs file, so it might not work. If it doesn't, try taking off the bottom of the coding and just adding in the rest of the coding to the main file for the Cactus.
I changed my mind. I'm just going to add a new flower for the item I wanted to drop from the cactus :tongue.gif:
Ah, I understand. I'll try that. Thanks!
Gosh guys, it was fine the way it was.
No problem
Alright
I just looked at the coding to make dye, and it uses Block.plantRed for it. You might be getting errors because you haven't made a static for the Rosebush? Or did you not register it?
The code was BlockFlower.plantRed.
Sadly, there is still an error where it does not recognize
Here is my code:
Gosh guys, it was fine the way it was.
I'm going to add more to dimension tut now.
Gosh guys, it was fine the way it was.
.....
You will stop reading this signature.
Easy fix. Just replace soundGrassFootstep with Block.soundGrassFootstep
Thanks, i'll try that!
PS:
Thanks for being so helpful! I could finally finish my rosebush!
Gosh guys, it was fine the way it was.