Everything posted by GotoLink
-
My crafting manager "addRecipe" returns a Null Pointer Exception
I hope you removed the "final" keyword then.
-
Crafting recipe error when using custom items
So, there are three possible null arguments: -ObsidianSword -CondensedObsidian -blazerod All those should be initialized before the addRecipe(args) line. You can also try with GameRegistry.addRecipe(new ItemStack(ObsidianSword), new Object[]{" O "," O "," R ",'O', ashtonsmod.CondensedObsidian,'R',blazerod});
-
My crafting manager "addRecipe" returns a Null Pointer Exception
Did you fix both parts of your code I showed previously ?
-
[1.6.2]Entity not Rendering?
public class RenderRocket extends RenderLiving { public static final ResourceLocation Texture = new ResourceLocation(BattleOfTheBeastsMod.modid, "textures/entity/Rocket.png"); public RenderRocket(RocketModel par1RocketModel, float par2) { super(par1RocketModel, par2); } @Override public void doRender(Entity entity, double d0, double d1, double d2, float f, float f1) { GL11.glPushMatrix(); GL11.glPopMatrix(); GL11.glRotatef(90F, 0F, 1.0F, 0.0F); } protected ResourceLocation func_110775_a(Entity par1Entity) { return Texture; } } This would be better. By the way, your doRender method doesn't render your model or anything. You should probably call model.render(...);
-
how to get loadedTileEntities on server
Well sorry if am not a leader. MinecraftServer.getServer.worldServers[id].loadedTileEntityList
-
NBT's are not saving or saving too soon when the game is quit
Server blocks illegal movement ? a.k.a -no fly ?
-
how to get loadedTileEntities on server
MinecraftServer.getServer()...?
-
My crafting manager "addRecipe" returns a Null Pointer Exception
private final ItemStack inputStack; private final... Consider this part of your code with more attention.
-
[SOLVED] Tessellator Troubles
I think there is a color setting due to biome specific coloration over blocks. Like "color multiplier"...
-
Electricity Mod
Only two possible destinations for packets: server and players (=clients)
-
Dimension Help
All you have to do is build that thing like you would a portal. The "doors" you think of, are also custom teleporters.
-
Config ID's not being used
Under this comment: /*Set static values (Items/Blocks)*/ static { //items initialization here } You have a static body with items initialization. Move those into your "myNewPreloadMethod". Then learn some Java. "static" is a really common keyword, you should know what it is doing.
-
Block Break Event/api for 1.6.2?
Why would you check that ? you don't have to place the block... Not convenient at all. Plus, i can tell who is breaking the block with reflection.
-
Saving data w/ items [Solved]
"Nope" what ? Any comments on my code ?
-
EntityLiving in events
What do you mean by ? An event won't stop because you put if(condition) somewhere...
-
Config ID's not being used
The static body will get executed first. Move the items declaration in "myNewPreLoad" method.
-
Trying to make a mob, what am I missing?
Where do you use/render that model ? The answer is: in your renderer
-
Block Break Event/api for 1.6.2?
You have the face of the click, it isn't so hard to move to the neighbouring block... At worst, 6 cases in a switch Ouch. But do what you must lol. I'd be glad to hear more convenient strategies
-
My crafting manager "addRecipe" returns a Null Pointer Exception
Then maybe it is time to show what your addRecipe method does ?
-
Trying to make a mob, what am I missing?
Put the texture info in your entity renderer. Like RenderMob or such.
-
Adding and playing custom sounds
Well...maybe a wrong Eclipse installation...or...did you touch mcp/bin folder ?
-
My crafting manager "addRecipe" returns a Null Pointer Exception
Yes, this is a conflict: two of the items you are registering have an item id of 0.
-
onItemRightClick called twice - Duplicate entities as result
Always check for server side before spawning something. if(!world.isRemote) { world.spawnEntityInWorld(... }
-
Adding and playing custom sounds
Looks like a codec error. Can you try with a .wav file ?
-
My crafting manager "addRecipe" returns a Null Pointer Exception
Man, the abstract code is useless to us. Your implementation is what is important. public class CraftingManager { public static IBrewingManager brewery; } This looks a bit...empty, don't you think ? By the way...interfaces are always abstract.
IPS spam blocked by CleanTalk.