-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
[1.12] Recipe that accepts any level of damage on items
Animefan8888 replied to quantumapples's topic in Modder Support
Try putting a data value of 32,767 for your ingredient. -
Huh, I wonder how one might solve this problem you have here. It not working is a big one. If only we new what not working meant.
-
This is called literally once. There are multiple render methods in GuiScreen that are not a constructor.
-
Help with TileEntity/Container communication?
Animefan8888 replied to Big_Bad_E's topic in Modder Support
Use SlotItemHandler instead of Slot. -
Minecraft 1.12.2 Forge Server Crashes
Animefan8888 replied to Nakoma1227's topic in Support & Bug Reports
How are you connected to your internet? Is it a ethernet or normal wireless connection to a router or are you using some other method such as tethering? -
This is a ridiculous statement. Why not just make your own way of scaling the entities that is possible in the recent versions of Minecraft and is more stable. What if there was a modded entity that was bigger than the Ender Dragon and the shadow size represented that, and a scale size of .1 did not successfully shrink the entity enough.
-
[1.12.2] Item data + Gui screen slots without container
Animefan8888 replied to DoctorLOGiQ's topic in Modder Support
Expose your capability of choice either custom or one of the provided ones. Via Item#initCapabilities or AttachCapabilitiesEvent Update the client when the capabilities data changes via a custom packet. Do what ever you want with the data from the capability via an ItemStack instance. ItemStack#getCapability/ItemStack#hasCapability -
[1.12.2] Item data + Gui screen slots without container
Animefan8888 replied to DoctorLOGiQ's topic in Modder Support
Well then what exactly is the problem you are having? Not being able to display the Capabilities data on the client? Is it there on the server? If so you just need to sync it with a packet. -
[1.12.2] Item data + Gui screen slots without container
Animefan8888 replied to DoctorLOGiQ's topic in Modder Support
It is pretty simple if it is your own Item you wish to add capabilities to it. Override the method initCapabilities in your Item class and handle it exactly like you would a TE. And in your case it sounds like you could just use the IItemHandler capability you do not need to create your own. -
ItemBlock extends from Item ItemStack is something that holds an item and all the various other information like stack size and metadata. ItemStack also has a method called getItem() which will return the item it is holding.
-
Help with TileEntity/Container communication?
Animefan8888 replied to Big_Bad_E's topic in Modder Support
Lol Dont do this use the IItenHandler capability instead. -
Yup. That is how all scroll wheels work. But you will also want to stop drawing objects at a certain point so they dont go off of your gui.
-
Don't implement ITileEntityProvider instead override hasTileEntity(IBlockState) and createTileEntity(World, IBlockState). Post your TileEntity.
-
[Solved][1.12.2]How to get a model for a block
Animefan8888 replied to _Cruelar_'s topic in Modder Support
He switched over to not using PropertyDirection and instead using BlockHorizontal.FACING instead. So this isn't the problem. -
[Solved][1.12.2]How to get a model for a block
Animefan8888 replied to _Cruelar_'s topic in Modder Support
Minecraft declared a lot of Block metadata and state methods deprecated and some IDEs yell at you about using deprecated methods so you suppress the warning so you can't see the notification. @_Cruelar_ I am not sure what is causing your problem to be honest have you tried refreshing your workspace and restarting your IDE? -
[Solved][1.12.2]How to get a model for a block
Animefan8888 replied to _Cruelar_'s topic in Modder Support
Post the newest log, and remove everything else that is also causing a texture/model error. -
I don't quite understand what you are saying.
-
[Solved][1.12.2]How to get a model for a block
Animefan8888 replied to _Cruelar_'s topic in Modder Support
EnumFacing#getHorizontalIndex() and EnumFacing.HORIZONTALS -
It depends, do you want the top to be animated?
-
Unable to set item in main hand when item breaks
Animefan8888 replied to Geenium's topic in Modder Support
@Override public ActionResult<ItemStack> onItemRightClick(World worldIn, EntityPlayer player, EnumHand handIn) { ItemStack stack = player.getHeldItemMainhand(); damageTrinketInHand(stack, player); if (stack.isEmpty()) { stack = new ItemStack(ModItems.BROKEN_TRINKET); } return new ActionResult<>(EnumActionResult.SUCCESS, stack); } private void damageTrinketInHand(ItemStack stack, EntityLivingBase entityLiving) { stack.damageItem(1, entityLiving); } -
[Solved][1.12.2]How to get a model for a block
Animefan8888 replied to _Cruelar_'s topic in Modder Support
@_Cruelar_ The problem is with your getMetaFromState and getStateFromMeta. You need to change these to only use the horizontal values. -
The Chest is rendered in a TESR, which is called TileEntityChestRenderer.
-
[Solved][1.12.2]How to get a model for a block
Animefan8888 replied to _Cruelar_'s topic in Modder Support
Post the error instead of adding extra unused variants. -
The Chest is rendered in a TESR not a normal block model.
-
[Solved][1.12.2]How to get a model for a block
Animefan8888 replied to _Cruelar_'s topic in Modder Support
This also has a UP and DOWN variant. Also post a picture of your file paths for your textures.