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. The false here should do nothing.
  2. From within the gui class? That is never going to be called. You have to use the KeyInputEvent in order to do this.
  3. You can attach the source by going to where you installed your jdk and attaching the src.zip file.
  4. Where is this being called from?
  5. Did you try it? Did it work? If not what happened?
  6. Let's take a look at this section right here. If north is true add a sub-model called base and one called pillar. else if north is false do nothing If south is true add a sub-model called base and one called pillar. else if south is false do nothing. You are still overriding your models, instead of base call it north, south, east, and west. You also don't need to make pillar a sub-model, make that the main model.
  7. I wonder if there is a sub-class that has a similar name to this where one can to RayTracing to check for flowing water?
  8. No, use one of the PlayerInteractEvent sub classes. As an event.
  9. You will have to use the sub-model system to make proper fences with it. Otherwise you cant have multiple models like the multipart system allows. What is happening in that picture is that your blockstate doesnt say that it has the post or pillar model so there isnt one.
  10. Use Json and make custom IIngredientFactory or an IRecipeFactory.
  11. The mods listed in the picture should be the ones causing the problem removing one should solve it, but I cant really read them.
  12. I think this means that you have some mods that need to be loaded before mod a and after mod b, while mod a needs to be loaded after mod b.
  13. Instead of the World Load event you should just use the FMLPostInitializationEvent in your @Mod class.
  14. You never set... wait why are your fields named like that...?
  15. No, talk to the mod author.
  16. I believe they are static fields so it is kinda hard to tell when they are instantiated. ? So laike should use reflection just to secure that it happens.
  17. You can do this in the MissingMappingEvent.
  18. If I'm not mistaken, I don't believe the reflection you are using to modify the Block field is necessary. As its value is obtained by the value in the registry.
  19. Sorry I wasn't very clear about this, your Type needs to be your own class or another class not directly a primitive class. Because as you have witnessed you can't just instantiate a Byte or an Integer.
  20. This requires you to create your own capability and register it. To create your own Capability create a public static final Capability<Type> field and annotate it with @CababilityInject @CapabilityInject(value = Type.class) public static final Capability<Type> CAPABILITY; // Where type is a class that stores the information that you want. In your case probably a byte or a int. Then you will have to register it. Via CapabilityManager.INSTANCE.register The parameters are the Type class from above, an instance of IStorage which you will need to create, and a Callable that returns an instance of your Type from above. Then just override initCapabilities in your Items class, and return a new instance of ICapabilitySerializable and handle those methods.
  21. First lets establish some of the parameters of the situation. What are you wanting to store? Will it only be stored on one of your Items?
  22. @JimiIT92 All of your spoilers are empty.
  23. Oh, that's my bad when I read it I inserted an 'I' after the mod link.

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.