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.

Cadiboo

Members
  • Joined

  • Last visited

Everything posted by Cadiboo

  1. I assume you have to override getBoundingBox in Block
  2. Your probably going to want to use Capabilities, they are well documented. Here's the rundown https://gist.github.com/williewillus/c8dc2a1e7963b57ef436c699f25a710d
  3. Other events usually have a getHand() method
  4. whats wrong with Try it before saying it doesn't work You also didn't post your EntityUtil.getActiveItemStack method
  5. They're on MCPBot, you can even add & change them if you want
  6. Also, you probably want all your methods to be static unless you are registering your EventHandler (in preInit)
  7. I’ve got an Item that has an energy capability that writes its energy amount to not every time it updates (is this the way I should be doing it?) but when energy is added to it by other items in my inventory (Actually Additions Batteries) the energy only updates on the server, not the client. If I drop the item and pick it up again or put it into another inventory (chest, furnace, generator etc) the energy updates to the right amount. However moving it around in my own inventory or using the item doesn’t update the energy. My code: https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/item/ItemEnergy.java > https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/item/ItemGun.java > https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/item/ItemRailgun113.java Provider https://github.com/Cadiboo/WIPTech/tree/master/src/main/java/cadiboo/wiptech/provider (ModularWeaponProvider & ModularWeaponProvider113) neither works What am I doing wrong/ should I be doing differently?
  8. Hi, I'm currently trying to look at how 1.13 handles its' furnace recipes (JSON!) and need to know how to use MCP to deobfuscate the latest snapshot's source code. I have tried a number of tutorials to use MCP, but it seems that since forge's existence direct use of MCP has dwindled almost out of existence. If anybody has this knowledge, it would be greatly appreciated if you could share it. A number of other people @Exsolutus, @MDW01 have expressed interest in the source code, and jabelar, Draco18s & diesieben07 have expressed interest about the workings of 1.13. I am trying to understand how to use https://github.com/MinecraftForge/MCPConfig in conjunction with MCP. Here is my latest attempt if it helps anyone
  9. Thats the solution. A lot of code is apparently handled specifically if the entity extends arrow, so you pretty much have to extend it. My current code that works perfectly
  10. Fixed everything a long time ago. Here are my current classes if it helps anyone. Entity Class https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/entity/projectile/EntityParamagneticProjectile113.java Entity Init https://github.com/Cadiboo/WIPTech/blob/3e6764e8ad5e441971c25e5e01ca6e15cef91eef/src/main/java/cadiboo/wiptech/init/Entities.java#L1-L121 Entity Registration https://github.com/Cadiboo/WIPTech/blob/3e6764e8ad5e441971c25e5e01ca6e15cef91eef/src/main/java/cadiboo/wiptech/handler/EventSubscriber.java#L37-L41 Entity Renderer Registration https://github.com/Cadiboo/WIPTech/blob/daa1f8985122ad526231771ed97c9f3eda34423b/src/main/java/cadiboo/wiptech/client/EventSubscriber.java#L101-L104
  11. Can I recommend BlockBench? http://blockbench.net
  12. 1) Please post your log in a spoiler (click the eye icon when posting), not as an attachment 2) Thats a vanilla log, please make sure you posted the correct log & are running forge
  13. for (int i = 0; i < Blocks.BLOCKS.length; i++) { event.getRegistry().register(new ItemBlock(Blocks.BLOCKS).setRegistryName(Blocks.BLOCKS.getRegistryName())); } from my code so for your code it would be event.getRegistry().register(new ItemBlock(Blocks.testBlock).setRegistryName(Blocks.testBlock.getRegistryName()));
  14. please show your itemBlock registration code (and any creative tab registration code if you have it)
  15. Can you use /setblock to place it? If so, Are you registering an ItemBlock for your block?
  16. setRegistryName(name); setRegistryName(new ResourceLocation(Reference.MODID, name));
  17. And your testblock class
  18. Can you post your main mod class?
  19. Also a GitHub link is very helpful if you have one, it allows you and us to see errors that might jump out at you on another platform
  20. Try deleting then recreating your resources directory. DON'T JUST PASTE your files back in, recreate every file & folder from scratch, or copy minecraft's version inside and delete everything you don't need. I had an issue where I had some very small problem with my lang file and had to do this
  21. com.feed_the_beast.ftbutilities this mod is responsible. https://en.wikipedia.org/wiki/Stack_overflow#Infinite_recursion
  22. theres quite a few things wrong with your code, Im short on sleep so sorry for being blunt. 1) Proxies are for making sure that code is run only on one side. A common proxy doesn't make sense 2) ModelLoader has to be called in PreInit OR its Registry Event. 3) switch to using Registry Events instead of your initClient (why is it in your event subscriber class if it doesn't subscribe to anything?), as they allow for greater control over everything, knowing your code will be called at the right time, and many other important things. 4) the "assets" being prepended hints to me that something is not right with your file tree.

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.