Everything posted by Abastro
-
[Updating] 1.7 IConnectionHandler equivalent
I think this post will help you with the problem: http://www.minecraftforge.net/forum/index.php?topic=15641.0
-
World generation help?
What is your exact symptom? Crash? Or the ores not generating?
-
[1.6.4]CCTV/ Track the sight of an entity
Change Minecraft.renderViewEntity to the RC quadcopter or wireless camera entity. It would work!
-
[1.7.2] Entity Spawns another Entity when interacted with
You are spawning the entity on the client side, as you're doing it when the worldObj.isRemote is true You have to change it to !worldObj.isRemote (check for Server side). Also you have to specify the entity's position to the exact position of the eating entity.
-
[1.7.2] Custom Inventory Slot Icon
Then I think you have to register an icon via registerIcons. I think it is similar with the item textures...
-
[1.7.2] Custom dimension NullPointerException
Then where the PFGenLayerBiomes.makeTheWorld() is called? The overall code about that part would be needed i think.
-
How to make the player do something when the held item breaks
Oh then edit the Item#setDamage method. It would be called any time when the damage is changed. You may check if the damage is 0.
-
[1.7.2] Custom Inventory Slot Icon
Ah then you can use the Slot#setBackgroundIconTexture Method
-
[Fixed] EnderTeleportEvent - TY diesieben07!
I think you have to make a pullrequest about that. Or post it to the Suggestion thread.
-
How to make the player do something when the held item breaks
It is easy. Just add setContainerItem(THE_ITEM_TO_CHANGE) in the constructor of your item.
-
[1.7.2] Custom Inventory Slot Icon
To the existing container? I think the Container#addSlotToContainer will work. For texture, use Slot#setBackgroundIcon.
-
[1.7.2] Custom dimension NullPointerException
I think this problem is related with the PFBiomeBase.init() is called after the PFGenLayerBiomes is constructed. Where is the "new PFGenLayerBiomes()"? and where was the init() method and how did you call it?
-
[1.7.2] Custom dimension NullPointerException
Then please show your current code.
-
[1.7.2] Custom dimension NullPointerException
I think your static init() method is colliding with the another init() which is not static.. Try change the name of the method.
-
[1.6.4]How to store data in a file
I think this tutorial might be help: http://www.minecraftforum.net/topic/1952901-172164-eventhandler-and-iextendedentityproperties/
-
[1.7.2] Custom dimension NullPointerException
I think you should call the PFBiome.init() method in the main class, not in the constructor of the biome. It seems that the method is not called when the PFGenLayerBiomes is initialized. * Be careful when you just uses static reference of a class. it might be null, especially when its methods are till not called. Instead, static method would be better.
-
[1.7.2] Help: Adding parameters to commands
The var2 String array paramter in the processCommand method is the parameters you want. You can investigate the parameter, and find the player and ID from it.
-
[1.7.2] Custom dimension NullPointerException
Did you see that: PFBiomeBase.magicalforest, PFBiomeBase.mountains, PFBiomeBase.pineForest, PFBiomeBase.primevalforest, PFBiomeBase.silverwood is whether null or not when the getInts function called?
-
[1.7.2] Recipe Question
I think net.minecraftforge.oredict.ShapedOreRecipe will work that way.
-
[1.7.2] Custom Entity Model Damage Flash
Then why you are trying to scale the each model, not just scale up the whole model?
-
[1.7.2] Custom Entity Model Damage Flash
You can use glScalef before rendering to change overall model size.
-
[1.6.4] Setting Player Inventory Slot Contents on Server Side
I already tried that, and had duplication issues which might be related with the syncing.
-
[1.6.4] Setting Player Inventory Slot Contents on Server Side
I was already manipulating things only on the server side, but the problem is the most part of the player inventory is controlled from the client side in the minecraft.
-
MFR And extra utilities mid integration
You should see the code of their api first, and post the problems in this forum if needed.
-
[1.6.4] Setting Player Inventory Slot Contents on Server Side
Any Ideas?
IPS spam blocked by CleanTalk.