Skip to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Animefan8888

Forge Modder
  • Joined

  • Last visited

Everything posted by Animefan8888

  1. Now what do you mean by in?
  2. What do you mean by 3D model in the furnace?
  3. There are two ways. You can assign your own ID to each slot and handle the implementation your self or add internal methods that only your TE will use in a custom IItemHandlerModifiable.
  4. Oops I see that your hasCapability always returns true when they are looking for a IItemHandler one. You need to make the same checks and return false.
  5. return super.getCapability(capability, facing);
  6. You cannot return null.
  7. @SideOnly(Side.CLIENT) public boolean hasEffect(ItemStack stack) { return true; }
  8. EntityItem#getEntityItem().getCount();
  9. Look at the teleport command, you will need to do what it does to move the player.
  10. if (entityLiving instanceof EntityPlayer) { ((EntityPlayer) entityLiving).inventory.addItemStackToInventory(new ItemStack(...); }
  11. Do you know the definition of the word move? Look at the method you are using.
  12. Two things 1.7.10 is not supported on this forum, and you posted it in the wrong place anyways, you should have posted it is Support and Bugs
  13. Mojang has enforced all lowercase file names. The methods signature has changed these are the new ones. public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ){} public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack){} public void getSubBlocks(Item itemIn, CreativeTabs tab, NonNullList<ItemStack> list){} public void onNeighborChange(IBlockAccess world, BlockPos pos, BlockPos neighbor){}
  14. No I do not, you will also need to create custom models that render over the arms. And you may not have to create a new RenderLayer and add that to the player, my mistake if so.
  15. You need to use the "gradlew build" command instead of the IntelliJ gradle build.
  16. The idea behind the mod is for YouTuber's to nickname themselves on servers (when they are on alts) so they can record without targeting. So I have a question, what will happen if I run this on a server whilst I am playing on a server? I doubt that it will change my display name on the server. This is why I wish to avoid this method and just be shown to a Collection or something where the playerlist is stored. If the mod is on the server and you run the command it will indeed change your name. But if it is not on the server and you have it and run it, it will not change your name to others, why? Because other players do not have the information. This may be done only server side, but i do not know if that would work.
  17. "parent": "modid:block/fast_cooker"
  18. You will have to add your own render layer to the player and have it render when your items are in the armor slots.
  19. You add those slots the same way, but intead you need to use SlotItemHandler and your ItemHandler (ItemStackHandler) instead of InventoryPlayer.
  20. Alright! Got the whole GUI on, and the whole container is working! Now, new problem! Whenever I put an item into my chest, it puts it to ALL slots. http://gifmaker.cc/PlayGIFAnimation.php?folder=2016122007Qwb7lW4kOtkg67s24yWT82&file=output_bafjiL.gif I feel I made another stupid error Code...
  21. Then try returning null, and if that doesnt work return a new Container or if you have one a new CustomContainer.
  22. What interface, where is it stored?
  23. The full file is 256x256 What about the actual image you want to display. Ie most vanilla guis are only actually 176x166. And

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.