coolboy4531
-
Posts
584 -
Joined
-
Last visited
Posts posted by coolboy4531
-
-
par2, par3, and par4 are the X, Y, and Z coords.
You can get those coords by getting the players position - use casting if required.
player.posX, player.posY, player.posZ
-
Can I see your entire main class - as of now?
-
I don't know but don't you have to run your proxy's RenderInformation() in your PreInit? (might be wrong)
-
Don't know. Maybe you have to override the method that checks if the metadata is 7 when you break it - then drops the item.
-
Add this in your class constructor.
.setTickRandomly(true);
Then add this - runs per tick.
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
-
Have you applied in your proxy - I don't think so :[
proxy.initRenderes()
-
Maybe - because the item has a metadata when its damaged?
Try using OreDictionary.WILDCARD_VALUE as the metadata (item damage)
-
I don't think hes using 1.6.
-
A good place to start is in BlockRedstoneOre.
-
If you are using 1.7.x, you also need to use lang files as LanguageRegistry is no longer supported.
-
You could however get the block the player is standing on and ONLY affecting the block that the player is standing on - setting it back [to the original slipperiness] if the player is not on it.
-
anyone know what the problem could be
...
-1 means "don't render anything"
-
Packets are the easiest things I've used.
-
Give us your main class - AND - your crash report.
-
I hope you know - if getRenderType() returns -1, it will render as BlockSign.
getRenderType() - render types
- K, let's get on topic (well more on topic) -
Have you registered your block - with your render stuff?
-
And again we have someone posting code
Yeah, I hoped people would actually use their IDE for sources.
Seriously, people need to start learning on their own instead of people giving them answers (code, in this case).
-
We need some real verification from Forge.
From what I think (in my perspective) I don't think Forge checks for (GameRegistry.#) in custom classes - they only check for it in the PreInit method like I said below.
And for the .setCreativeTab(#) - I really don't know.
Like said, above, could be something with your CryTabs class (please show us it).
-
From what I remember I don't think (hitEntity) is a valid method in whatever item you are using.
Try putting @Override on the method - to ensure that method exists (and works).
-
Give the player a movement speed (speed buff) of 127 - it completely removes movement because its beyond fast.
-
y u haz to b so lazy
- from what I remember I don't think Forge checks for that crap (idk really) but what I think is that GameRegistry is only read during preInit.
-
Is there a way to draw on the Minecraft main-menu (home screen) where it says mods loaded - and others?
I have recently started to work with GUIs and events that can help me, but I'm completely stumped.
- Don't have any code to put in, tried looking at how forge does it, but didn't really find it.
What I'm trying to do:
> Kind of like a MOTD -ish type of thing that changes each day with a text file.
Any help would be greatly appreciated
-
We need to see your BlockExtender class - to make sure you are applying correct and functional code.
-
You show us your main class, and hope that (dear god) we don't explode.
-
They aren't called by their specific name - they have metadata.
The way to get the item (for example, bonemeal) is to get it by its metadata. (Items.dye, int metadata)
Bonemeal is Dye (metadata: 15)
Items.dye, 15.
Adding Parameters
in Modder Support
Posted
Why did you input posX for all fields?