Everything posted by Animefan8888
-
[1.8] [Solved] methods #onEntityWalking #onEntityCollideWithBlock
Could you fix your post? I think you typed inside the quote.
-
[1.10.2] Render block at a different place
Im pretty sure it needs to be an entity or something that can store data and move
-
A way to add Mojang's new variants in the future, along with ours ?
I would say put your "Enums" first then Minecrafts, and hopefully MInecraft won't change the order.
-
1.10.2 seting up keybinding
Then you didn't do it right. Do you ever call load()?
-
1.10.2 seting up keybinding
What?! And What?! Sorry i am a bit sleepy i meant to say did i do this right. i am trying to register a keybinding The best way to check is does it work in the game? (Does it appear in the keybindings menu?)
-
1.10.2 seting up keybinding
What?! And What?!
-
[1.8] [Solved] methods #onEntityWalking #onEntityCollideWithBlock
That means you aren't overriding a method (method signature doesn't match anything). You need to go look at the parent class to determine what the new signature is. I don't see that method #onEntityWalking in 1.8 Why is the #onEntityCollidedWithBlock is not working for me in 1.8? in 1.7.10 instead of the BlockPos parameter, it was x, y, z but I did not change anything else? Sry to bother you but I'm sure this is something pitifully simple I'm just f---ing missing it Block#onEntityWalk(World worldIn, BlockPos pos, Entity entityIn) and Block#public void onEntityCollidedWithBlock(World worldIn, BlockPos pos, IBlockState state, Entity entityIn) (Which is only called when the entity is within the collision bounds).
-
[1.9] Spawn a custom mob in villages
Call VillageRegistry#addExtraVillageComponents(...) Which takes in a list of StructureVillagePieces#PieceWeight which takes in a StructureVillagePieces#Village which has a spawnVillagers method inside of it. This will allow you to add to the structure of villages and spawn in your Entity.
-
[1.10.2] ItemBlock not working in game
Do you use ModelLoader.setCustomModelResourceLocation(...) in preInit?
-
[1.10.2] Getting entities within area
So you have a MovingObjectPosition? Then it is as simple as MovingObjectPosition#.entity(Hit) != null then you have an entity. If not you should get one from rayTracing
-
[1.10.2] Getting entities within area
I think what you are looking for is a MovingObjectPosition which is basically a vector that holds the hit Block or Entity. World#getEntitiesWithinAABB...() is for splash damage (splash potions or AOE sword swings).
-
Player Capability field allowEdit
If it is placing a block you should otherwise you do not need to.
-
Why would forge source disappear from all my Eclipse projects simultaneously?
Your computer only holds one forge source per version (for obvious reasons), but I don't know what would have caused this error. That at least explains why it would mess up all of them.
-
[1.8.9] What is the 1.8.x equivalent of IChunkGenerator from 1.9/1.10?
If you implement IWorldGenerator it will show you what the method should be assuming you are using an IDE like eclipse.
-
Projectile entity floats in the air when it hits a block
Try rendering your spear instead of the arrow because I am assuming that your spear is bigger than the arrow.
-
What am I supposed to name my texture files?
Well did the textures load? Were there any errors in the log? warnings in the log?
-
Player Capability field allowEdit
I know it is used to see if the player can edit Blocks in Adventure mode I don't know about what draco18s said.
-
Minecraft [1.10.2] Cusome Menu Need Help
I would make a int that determines which one is selected and render it based on that.
-
Mob attack all other mobs but not itself.
You will have to create a new AI similar to AINearestAttackableEntity.
-
[1.8.9] Armor Equipted shows no Texture ... -_-(path finding is wrong)
The first string is just the name the second string is the path. It would be like this "modid:test_armor" and the actual files need to be lower case.
-
Minecraft [1.10.2] Cusome Menu Need Help
Could you give us a little more information? What do you mean animate? How will the user interact with the UI? Will it be via the scroll wheel or arrow keys? Will they click to activate the action or press a button on the keyboard?
-
[1.8.9] Armor Equipted shows no Texture ... -_-(path finding is wrong)
The second string is what determines the name and the modid. When dealing with ArmorMaterials
-
Capability are not saving
You only ever save your upgrade slots if anything.
-
[1.10.2] Event not working at all.
You never initialize network.
-
[1.10.2] Event not working at all.
On line 64 in your MouseEventHandler class there is a null field.
IPS spam blocked by CleanTalk.