Everything posted by sequituri
-
[1.7.2]Custom furnace recipes
public TileEntityCampfire(){ ..... cookingTime1 = CampfireRecipes.cooking().getCookingTime(inventoryContents[iNPUT_1]); <--- NULL cookingTime2 = CampfireRecipes.cooking().getCookingTime(inventoryContents[iNPUT_2]); <--- also null }
-
[SOLVED] [1.6.4] ASM transformer for skins
I'd look to find why the "bic" class is not found.
-
[1.7.2][SOLVED]Projectile Rendering
field_94151_a != item
-
Two GUI's
You can try what NEI and TMI do.
-
1.7.2 Problem with opening gui
Yes. Try to comprehend what you are being told.
-
Combination Tool [Help]
In a perfect minecraft world, you write something like this: class MySpadePick extends Tool implements Pickaxe, Spade { @Override pickaxe methods... @Override spade methods... } But, you cannot. Minecraft isn't written that way.
-
I can't build/compile my mod.
Your source packages should be anchored at: <gradlew location>/src/main/java/ So, you main is .../src/main/java/com/sigurd4/bioshock/Bioshock.java is an example main class location.
-
[SOLVED] How to fix Netty Packet Handling with SimpleChannelInboundHandler?
There is a PR to fix that bug. but it was never pulled.
-
[1.7.2] Add Recipes to Special Guis!
@Xcox123, That code is completely worthless code for a cut&paster working on a 1.7.2 mod. Please, try not to confuse people with worthless or incorrect gratutitous code.
-
How to get a mob to spawn only when it's more than 500 blocks from x=0,z=0
Rather than invoking library code to compute limits, just use: boolean farEnough(int entityX, int entityY, int spawnX, int spawnY) { int dx = spawnX - entityX, dy = spawnY - entityY; return (dx*dx + dy*dy > 500*500); }
-
[1.6.4] Steam MP3 to player serverside?
It will be interesting to see how well your audio keeps sync. Minecraft servers tend to get bogged down quite a bit, and a nice continuous audio stream seems like a pipedream. But, hey. You figured it out. Share when you get it working, please.
-
[1.6.4] Steam MP3 to player serverside?
So, you are saying you want to create a streaming server for radio mod with minecraft engine? I hope you know java well, and have lots of netty experience and knowledge of time-sensitive transmission.
-
[1.7.2] loading perfectly in eclipse, but after export it crashes in normal mc
You don't export your mod. You build it (with gradlew build.) Then grab it out of build/libs and publish it.
-
Creating a stamina system of sorts
In case you missed it, Minecraft has that. It's called hunger system.
-
[1.7.2][SOLVED] Custom Rendered Blocks - Transparency
For one thing, fix your modid: lowercase letters and numbers only (spaces are iffy, so leave those out for safety). Another, you don't use new Block/Item/TE in the main class section. Put those inside your Preinitialization event method.
-
Bucket for Custom Fluid Support [SOLVED]
It's a matter of case in FLuid names. They are internally converted to lower case. That cannot be found by GetFluidStack except in lower case. So, you get a null for the fuild. There should be some documentation about that, as it is a very common crash.
-
[SOLVED] [1.7.2]Forge fails to initialize the game
rock is a static class variable of the Material class. It has to be references with it's class name: Material.rock Not just rock.
-
[1.7.2][unsolved]Generating custom "vines"?
More gratuitous cut&paste... Will this nonsense ever end?
-
Allow tile-entities to share the same energy storage(Dynamic based on #of Tiles)
Every method used is different, and almost every mod designs there own power system. Unless you want to make an addon for BC2 or UE or something. Start putting together ideas and trying them out.
-
How to override a vanilla harvest level OR set speed to EXTREMLY slow [SOLVED]
Diesieben's method works for all blocks.
-
[1.7.2]Disable Controls
Yes, we often call that massive input lag. Not something we usually want though.
-
Custom Fuel
Not really. It's always better to create an extra class implementing an interface just to make your whole project look neatly arranged. However, if you're merging multiple functionalities of the same type to one big compound of methods, then you could also make some kind of handler which handles all events of the same type. Speaking of that, wouldn't it be a good idea to implement the IFuelHandler interface directly into the item to which it belongs to? Utter bull-feces! Nothing about adding useless classes makes a project look neatly arraigned. It just makes the programmer look retarded, as they have no idea that an interface is for class mix-ins. Any class can implement any number of interfaces and a superclass if desired. This line of reasoning indicates a lack of experience in Java programming.
-
[1.6.4] [UNSOLVED] Gui Game crash!
Which line in your code is in the error traceback?
-
Missing Block and Items prompt manual fix?
It seems from what you explain that Block/Item names with spaces and / or underscores do not get properly remapped. That does sort of make sense. I wonder if there is a FML fix in the works for such a thing. It may not be possible as naming by modders is so all over the place.
-
[Solved][1.7.2]Fluid Container Registry Null Pointer Exception
Nothing wrong with doing it that way. Whatever works.
IPS spam blocked by CleanTalk.