.setHardness(10F) (i think that's what obsidian is set to, haven't looked it up)
also make sure resistence is set high too... that will now that i think about it affect whether or not you can punch it with your hand.
(50F) is bedrock i think.
set your resistance around 6,000, that's the same for obsidian as well.
Obsidian's hardness is 50F and it's resistence is at 2,000. Resistence only affects how hard it is to make it explode. Bedrock's resistence is at 6,000,000F. Making a house out of bedrock is quite useful against Creepers . Anyways, for unbreakable blocks, replace '.setHardness' by '.setBlockUnbreakable'.
I seem to have successfully made a Human-like Bandit Monster, it spawns all good and everything. But with the drops, how do I make it drop certain items on chance? What if I don't want it to drop an iron ingot every time? Zombies don't drop rotten flesh every time. How do I apply this to my created monster?
Hello! I'm having a bit of trouble with the items that I can make a mob drop. I have used your HumanNPC code, but for some reason whenever I choose what item for the mob to drop, I get an error message saying that "blockTNT is not a type". I can only make a mob drop the following items:
Iron Ingot, Gold Ingot, and a Diamond Sword.(these are the only ones that I have experimented with an worked, I have also tried a wooden pickaxe, but it didn't work.)
I am new to modding, so am I using the wrong format? (blockXxx) or can a mob only drop items?
Also how do you make a mob drop more than one thing? Like exp, leather, and steak for instance?
Thanks in advance, and I love your tutorials
Hey tech guy I went to those tutorials you told me to try out for making a block with a custom model and I got errors and he wouldn't help me so I was wondering whether you would be able to understand any of it please help
src\minecraft\net\minecraft\src\mod_PygmyEgg.java:23: illegal start of type
ModLoader.registerTileEntity(TileEntityPygmyEgg.class, "PygmyEgg
", tileent1);
^
Couldn't you just use the bedrock code? If I understand correctly the admins can go into and out of creative, so they could still break it
I could however, the regular members who place the blocks won't be able to do that. What i want is for the person who placed it to have permissions to break the block after placing it and admins. Much like Sengir's mailbox for forestry. Honestly thinking about asking him for the code help lol.
Anyone know how to make a mobs drops have multiple possibilities with chance? I would like a miner to probably drop iron ore, sometimes drop iron ingot, rarely drop gold ore, raaarely drop gold ingot, and sometimes almost never tiniest chance drop a diamond. How do I do this?
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
You could teach how to make objects or loose mobs like smoke from the explosion?
Also teach how to create a new liquid.
And also to create weapons with ammunition.
You could teach how to make objects or loose mobs like smoke from the explosion?
Also teach how to create a new liquid.
And also to create weapons with ammunition.
He is planning to do guns or at least it said so in his thread.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Obsidian's hardness is 50F and it's resistence is at 2,000. Resistence only affects how hard it is to make it explode. Bedrock's resistence is at 6,000,000F. Making a house out of bedrock is quite useful against Creepers
-
View User Profile
-
View Posts
-
Send Message
Retired Staff-
View User Profile
-
View Posts
-
Send Message
Curse Premium-
View User Profile
-
View Posts
-
Send Message
Retired Staffanyone?
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCouldn't you just use the bedrock code? If I understand correctly the admins can go into and out of creative, so they could still break it
Iron Ingot, Gold Ingot, and a Diamond Sword.(these are the only ones that I have experimented with an worked, I have also tried a wooden pickaxe, but it didn't work.)
I am new to modding, so am I using the wrong format? (blockXxx) or can a mob only drop items?
Also how do you make a mob drop more than one thing? Like exp, leather, and steak for instance?
Thanks in advance, and I love your tutorials
== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==
# found jad, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs, pa
ram csvs, astyle, astyle config
== Recompiling client ==
> Cleaning bin
> Recompiling
'"C:\Program Files\Java\jdk1.6.0_24\bin\javac" -Xlint:-options -deprecation -g -
source 1.6 -target 1....' failed : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_PygmyEgg.java:21: <identifier> expected
ModLoader.registerBlock(blockPygmyEgg);
^
src\minecraft\net\minecraft\src\mod_PygmyEgg.java:21: <identifier> expected
ModLoader.registerBlock(blockPygmyEgg);
^
src\minecraft\net\minecraft\src\mod_PygmyEgg.java:23: <identifier> expected
ModLoader.registerTileEntity(TileEntityPygmyEgg.class, "PygmyEgg
", tileent1);
^
src\minecraft\net\minecraft\src\mod_PygmyEgg.java:23: <identifier> expected
ModLoader.registerTileEntity(TileEntityPygmyEgg.class, "PygmyEgg
", tileent1);
^
src\minecraft\net\minecraft\src\mod_PygmyEgg.java:23: illegal start of type
ModLoader.registerTileEntity(TileEntityPygmyEgg.class, "PygmyEgg
", tileent1);
^
src\minecraft\net\minecraft\src\mod_PygmyEgg.java:23: <identifier> expected
ModLoader.registerTileEntity(TileEntityPygmyEgg.class, "PygmyEgg
", tileent1);
^
src\minecraft\net\minecraft\src\mod_PygmyEgg.java:26: class, interface, or enum
expected
public String getVersion()
^
src\minecraft\net\minecraft\src\mod_PygmyEgg.java:29: class, interface, or enum
expected
}
^
src\minecraft\net\minecraft\src\TileEntityPygmyEggRenderer.java:50: illegal star
t of expression
[left]i = tile.getBlockMetadata();[left];
^
src\minecraft\net\minecraft\src\TileEntityPygmyEggRenderer.java:50: not a statem
ent
[left]i = tile.getBlockMetadata();[left];
^
src\minecraft\net\minecraft\src\TileEntityPygmyEggRenderer.java:50: ';' expected
[left]i = tile.getBlockMetadata();[left];
^
src\minecraft\net\minecraft\src\TileEntityPygmyEggRenderer.java:50: illegal star
t of expression
[left]i = tile.getBlockMetadata();[left];
^
src\minecraft\net\minecraft\src\TileEntityPygmyEggRenderer.java:50: not a statem
ent
[left]i = tile.getBlockMetadata();[left];
^
src\minecraft\net\minecraft\src\TileEntityPygmyEggRenderer.java:50: ';' expected
[left]i = tile.getBlockMetadata();[left];
^
14 errors
==================
!! Can not find server sources, try decompiling !!
Press any key to continue . . .
sorry I didn't put it in a spoiler but I don't know how
nvm this I wittled it down to two errors so you fon't have to worry about most of this stuff
mod_pencilflower cannot cast to BlockFlower bla bla bla
can help me?
-
View User Profile
-
View Posts
-
Send Message
Retired StaffI could however, the regular members who place the blocks won't be able to do that. What i want is for the person who placed it to have permissions to break the block after placing it and admins. Much like Sengir's mailbox for forestry. Honestly thinking about asking him for the code help lol.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThe problem is that you aren't using Techguys tutorial
public void addrecipes() {method, so to fix this, look at Techguys item tutorial, I know for a fact that that tutorial works
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumSoon to be made!
There really is hardly anyone doing bows.
Here is a bow tutorial.
together they are powerful beyond imagination."
Thanks a lot you are awesome.
Also teach how to create a new liquid.
And also to create weapons with ammunition.
He is planning to do guns or at least it said so in his thread.