Jump 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.

crashtua

Members
  • Joined

  • Last visited

  1. Hello everyone. I am trying to make villagers accept underground doors as proper house door for my cave world. I found what i need to change in VillageCollection.java.addDoorToNewListIfAppropriate. So I need somehow to patch this file. But seems like latest forge dont allow to modify minecraft original files directrly and we need to create. I saw on wiki http://www.minecraftforge.net/wiki/Class_Transformer , and seems like it is what I need, but this page is blank. So, can someone help me pls with some links or source examples?
  2. Thanks a lot. It is good material to learn.
  3. Is there some example, how to render Redpower like cables?
  4. I want to bring some general functions of my mods in one separate mod (create something like API). How I can do this? Every mod in forge is singleton, so, can I call required API methods from API. instance? If I can, and how I will know if mod named API was already initialized? It must be initialized before any dependent mod use it. Is there a way to set mod load order?
  5. TY, i have read about IPacketHandler, it is the thing, that will help client to communicate with server. So, i can do something like this: 1) register KeyBinding to handle key pressed 2) on our registered KeyBinding send packet to server with some request 3) process packet on server and send response to client 4) change GUI state respectively to response ?
  6. How to handle client GUI/keys on serverside, and get result from server?
  7. How to make smooth moving \ player\items iteraction on block? Like in mod Dynamic Elevators( )?

Important Information

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

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.