I'm trying to make new mushrooms, but it says: "The constructor BlockMushroom(int) is not visable" The code for my mushroom is: public static BlockFlower mushroomBlue = (BlockFlower) (new BlockMushroom(204)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setLightValue(0.125F).setUnlocalizedName("mushroom").func_111022_d("mushroom_blue");
Did I do anything wrong?
The constructor block mushroom isnt visible. And is this in modloader or forge? You shouldnt need to cast BlockFlower onto BlockMushroom. Just make a class that extends block mushroom, and just do new(BlockMushroom2(204). Whatever
Also, i recommend doing .setLightValue in the blocks constructor. It makes it easier to read and less crowded.
I'm using forge, I copied it from Block.java, it worked in modloader.
Yeah you call new BlockMushroom(204) but with forge most constructors are protected, so you cant call it. Thats why you make a class that extends BlockMushroom and in the constructor for that class put super(par1).
oh then i don't think u can have any plugins or anything... i used to use hamachi and i never found a way to have add-ons... so then i port forwarded and got bukkit.
oh then i don't think u can have any plugins or anything... i used to use hamachi and i never found a way to have add-ons... so then i port forwarded and got bukkit.
is it possible to use hamichi instead of port forwarding because its just me and like 2-3 freinds
it's not possible to use hamachi with bukkit, just enable white list in the server.proporties and add their named to the list. then only ppls on that list can join
it's not possible to use hamachi with bukkit, just enable white list in the server.proporties and add their named to the list. then only ppls on that list can join
It actually is possible to use hamachi with bukkit, I do it all the time
Eclipse has no errors, but when I run my mod, Minecraft crashes.
It said : "2013-08-22 10:29:25 [INFO] [STDERR] at java.lang.Thread.run(Unknown Source)"
Can someone help me, because I don't now what I could have done wrong?
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumbukkit or the normal one?
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumyes.
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
never mind i just got it yesterday but thanks for asking
also if you know how to add more ram or make the server faster please tell me
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumif ur using bukkit, i suggest having the "Lagg clear" plugin... clears any dropped items on the ground, it's very helpful.
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
The constructor block mushroom isnt visible. And is this in modloader or forge? You shouldnt need to cast BlockFlower onto BlockMushroom. Just make a class that extends block mushroom, and just do new(BlockMushroom2(204). Whatever
Also, i recommend doing .setLightValue in the blocks constructor. It makes it easier to read and less crowded.
Yeah you call new BlockMushroom(204) but with forge most constructors are protected, so you cant call it. Thats why you make a class that extends BlockMushroom and in the constructor for that class put super(par1).
You have to register everything in your mod class...
its a hamachi server
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumoh then i don't think u can have any plugins or anything... i used to use hamachi and i never found a way to have add-ons... so then i port forwarded and got bukkit.
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumi port forwarded, and completely removed hamachi... there's probably stuff on how to port-forward in the server section of this site..
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumit's not possible to use hamachi with bukkit, just enable white list in the server.proporties and add their named to the list. then only ppls on that list can join
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumIt actually is possible to use hamachi with bukkit, I do it all the time
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumYeah, but 1.6 basically messed up all mods, however not as much as the 1.3 update of doom that made everyone go like a
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumare you trying to make an ore?
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist