Everything posted by sequituri
-
[1.7.2] [UNSOLVED] How To Render A Semi-Transparent Projectile
That's too little information to help you. Please elaborate.
-
Complete Virtual Reality Minecraft experience
On the client side: Look at PlayerControllerMP#clickBlock(x,y,z,side) By the way; this is called by both: Minecraft#func_147115_a(boolean) [private] and Minecraft#func_147116_af() [private] - the Minecraft method runTick calls these on left click...
-
[1.7.2] Custom Music Discs
Look at ItemRecord.class as Diesieben suggests. It has methods to do what you want when overridden,
-
Removed an item. World refuses to load.
Try handling the FMLMissingMappingsEvent event.
-
[1.7.2]Best way to add an entity spawn
I'm pretty sure I said that.
-
[1.7.2] how do I create a custom crafting system
You have mixed up your Gui and Container classes badly. I suggest you study a tutorial or two on Gui's and Container's and which does what and on which side. Then, on the server return up your Container (not the Gui.) Also, look at any other vanilla TE with a gui. transfer stack in slot just can mostly be copied from the crafting table or furnace code with slight modifications for slot numbers.
-
Error: Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
IC2 is a different version, perhaps?
-
Mods won't load
Logs or it didn't happen.
-
[1.7.2/Forge 10.12.1] AccessTransformers
protected = freely accessible to class and any subclass of declaring class
-
How to check [and edit] mobs current health?
If you have an IDE, learn to use it.
-
[1.6.4] -=[Solved]=- Tileentity crash
You know hot to read this error message?
-
[1.6.4] -=[Solved]=- Bow crash
Ummm... nope. Why elsewould you be advised that you forgot to "register" them?
-
Structure Spawning in 1.7.2
You can use a higher number in your registerWorldGenerator so your structures generate after trees and such. I think that might help, but only if you destroy foliage and trees that are in your way.
-
[1.7.2] Adding enchanted books to chests?
Are you giving example code to help others, or are you having an error? What is the actual problem if there is one?
-
How to an item that has a second inventory, like a "pouch"?
You can do the hard thing and create a BigItemStack class which allows you to stack up to 32767 items, but that will require you to handle all of the data handling and nbt writing, crafting recipe handling, furnace recipes, container code, inventory gui, and other things specifically. It's a lot of code to write for one minor adjustment. However, it can be done.
-
[1.7.2] Persist TileEntity data when Block is broken
spawnEntityInWorld()
-
When is a block updated and random tick info
Have you tried using them and putting a put of logging to see what happens? If not, why not?
-
[UNSOLVED][1.7.2] 3D modeld block
In your code above, the struckout text does not match up. Why cast to a class and then assign the cast to a different class? That is just plain wrong! The underlined text also does not match. What method are you calling? Include that code so we can see what the problem is. The method renderBlockYour() does not seem to be called at all. Why did you include it?
-
Why can't i smelt my own Ore ?
You still shouldn't be putting it in the constructor. That was the first thing I said. The OP seems to want to ignore the sage advice about that, since it works so far. The fun will come when he has to play nice with other mods and the emails and complaints he will get!!! Well, live and learn.
-
[1.7.2] Custom blockrenderer not showing
As far as opening a GUI, the server side has to tell the client side to open the GUI while the server uses the Container. Packets... use them.
-
forge severe crash 1.6.4 forge 9.11.1.965 and 1.7.2 forge 10.12.0.1034
Is this a problem running on Java 8 then? Did you try the older Java?
-
[1.6.4] Cable Question
The video is decent as far as extreme slam-bang coding goes. However, he could have used half the code by utilizing ForgeDirection properly, creating submethods for partial rendering, using EnumSet for his connections, and decent looping techniques. All in all, it's pretty straightforward though.
-
Why can't i smelt my own Ore ?
You're overthinking it. Your mod's constuctor is not the place to register anything or create anything or add recipes for anything. Also, do not use your mod's static initializers for new blocks, or items. Learn about and use the FML events for your Mod preinitialization, initialization, and post-initialization. That is where your block, items, recipes, etc. are set up.
-
[SOLVED] Problem with block icon (block is model by techne)
Above is a spelling fail! The words are actually, "override that". Please read it again the proper way.
-
How to make a weapon [gun] fire faster than default speed?
Anytime you elect to remove an @Override annotation, you break your code. Seriously, is this not posted multiple times on these boards? If you have to remove that, it means you are no longer overriding any superclass method, and your method is likely never to be called or used at all. The superclass method will still be called in every case that you don't specifically call your method on an instance of your object. Overriding methods is basic java. If you do not understand how to override a method, learn java first. The IDE does not teach java and it will only offer to remove syntax errors, it cannot "fix" your code or even figure out what you want to do.
IPS spam blocked by CleanTalk.