Everything posted by Animefan8888
-
[1.10.2] Ticking an inventory inside an item?
You csnt access the items container as a new onstance is created every time, same with the inventory h9wever you can access the nbt.
-
(1.10.2) What does on impact netherrack look like for a projectile?
Chunk coords are completely different that what you are looking for you can grab the position from the MovingObjectPosition.
-
(1.10.2) What does on impact netherrack look like for a projectile?
does tileX tileY tileZ ever get set to a number?
-
(1.10.2) What does on impact netherrack look like for a projectile?
Is EntityOrb your class?
-
AL lib: (EE) alc_cleanup: 1 device not closed
Dont use the deprecated version use the GameRegistry.register (item.setRegistryName (name) not unlocalized name I don't see the problem with the code I gave. I use it in my 1.10.2 mod and it works perfectly. The problem is that it will be removed in the next version of minecraft and you will need to change it anyway.
-
(1.10.2) What does on impact netherrack look like for a projectile?
Why not show the crash report in the spoiler.
-
[1.10.2] How to get World and make it compatible both server and client side?
I dont think you are going about this correctly. You create a class that implements IWorldGenerator that class handles what you are generating. You only need to put GameRegistry.registerWorldGenerator () in your init method.
-
AL lib: (EE) alc_cleanup: 1 device not closed
Dont use the deprecated version use the GameRegistry.register (item.setRegistryName (name) not unlocalized name
-
(1.10.2) What does on impact netherrack look like for a projectile?
Ifnit is a custom projectile there is an onImpact method, otherwise use the ThrowableImpactEvent
-
[1.10.2] How to get World and make it compatible both server and client side?
Where do you need the world variable?
-
(1.10.2) What does on impact netherrack look like for a projectile?
What are you asking exactly i dont quite understand.
-
[1.10.2] How to get World and make it compatible both server and client side?
First you could register a world generator or you could use the generation events
-
AL lib: (EE) alc_cleanup: 1 device not closed
Almost anything is an IForgeRegistryObject Items and Blocks are the mainly used one but Enchantments and PotionEffects(something to do with potions). You need to call setRegistryName on the object first or it will not work, but for blocks you need to register the item as well as the blocks themselves or there won't be any Item for the block.
-
[SOLVED][1.10.2] Render an item inside a block
You should be calling update in your TE's class not the TESR class move the EntityItem object to your TE's class.
-
[1.10.2] Container GUI slot calculation problem
Your Welcome have fun. :3
-
[SOLVED] Why aren't these two values equal?
Java uses objects for checking if something is equal instead you should check if pos.getX() = thispos.getX() etc.
-
[1.10.2] Container GUI slot calculation problem
Is it x + y * 9 or x + y * 11, change it to the other and see if that changes it.
-
[1.10.2] Container GUI slot calculation problem
No 99, the number of ItemStacks the TE should contain.
-
[SOLVED][1.10.2] Render an item inside a block
The render code doesn't handle the yaw/pitch changes or the motion changes it grabs those from the EntityItem. Create the EntityItem in your TileEntity and call EntityItem.update in your TE's update method.
-
[1.10.2] Container GUI slot calculation problem
getSizeInventory returns 9 kinda surprised you didn't get an Array out of Bounds Exception..
-
[1.10.2] Container GUI slot calculation problem
Can I see your TE class. * Edit shouldn't the 11 be a 9 for when you are calculating the index?
-
[1.10][Client Mod] Render a block model in the world
I want to say you might need to hard code the rendering, but if you can create and add a Model only client side you may be able to use BlockRendererDispatcher.renderBlock...
-
[1.10][Client Mod] Render a block model in the world
There is a world renderer, but why would you only want to render the block client side?
-
[SOLVED][1.10.2] Render an item inside a block
What are you trying to animate exactly the rotation or the up and down motion. Because the rotation is messing with the yaw/pitch, and the up and down can be handled using the motionY. And don't set the position every tick when you create it is when you should set it.
-
[1.10.2] FML Event Bus Deprecated?
Use the minecraft forge event bus they merged them.
IPS spam blocked by CleanTalk.