Everything posted by Animefan8888
-
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.
-
[1.8.9] Technical Blocks as Items
Try registering an ItemBlock for it.
-
[1.10] renderItemIntoGUI enchanted glint effect
Why not look into what renderItemAndEffectIntoGui does and look at other methods
-
Item with multiple textures for different metadata values only renders first one
Post your code please
-
[1.8.9] Instanly growing trees
You should also do a check if bonemeal works on it. Otherwise it might error. Or be considered very broken lol.
-
[1.8.9] Recolouring a 3D item model
I stand corrected. Thanks Choonster added to my knowledge on Minecraft JSONs and bookmarked.
-
[1.8.9] Instanly growing trees
Yes, because you need to get the new blockstate not the one when you clicked.
-
[1.8.9] Instanly growing trees
Actually instead you should call worldIn.getBlockState(pos).getBlock() instnceof IGrowable
IPS spam blocked by CleanTalk.