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.

MrJake

Members
  • Joined

  • Last visited

  1. After 2 years I found a solution in the Beacon code. Here, If someone would still need it(Override it on a SpecialRenderer): public boolean isGlobalRenderer(TileEntityBeacon te) { return true; }
  2. Sorry, I've updated my master branch. https://github.com/MrJake222/AUNIS/blob/98f04c1373c63c6f15bd69aa259c14c9d7eed478/src/main/java/mrjake/aunis/tileentity/StargateBaseTile.java
  3. Hi, I'm trying to make my mod OpenComputers-compatible, but only as a soft-dependency. But the game keeps crashing when I try to place the block with this TileEntity: https://github.com/MrJake222/AUNIS/blob/master/src/main/java/mrjake/aunis/tileentity/StargateBaseTile.java What am I doing wrong here? EDIT: Crash: https://pastebin.com/qkcYTeri
  4. ~ Wiki. I missed that, sorry.
  5. You cannot reference client code from common code(i.e. loaded from both sides). You need to use proxies. Show your code.
  6. MrJake changed their profile photo
  7. Hi, I've overridden these two methods(according to TileEntity docs? @Override public NBTTagCompound getUpdateTag() { NBTTagCompound compound = new NBTTagCompound(); getStargateRendererState().toNBT(compound); getUpgradeRendererState().toNBT(compound); return compound; } @Override public void handleUpdateTag(NBTTagCompound compound) { getRendererState().fromNBT(compound); getUpgradeRendererState().fromNBT(compound); } The problem is, the first method is called and returns correct compound but the second is never ever called I'm trying to sync the data on world's load. Reloading the world, flying beyond render distance, nothing helps. Any help appreciated!
  8. Hi, I want to achieve effect simillar to holding a map. I want to know how to enable player's hand rendering. I've only stumbled across old threads about it... Any help appreciated
  9. Hi, I'm trying to add blockless fluid to my mod. I don't want for it to be placeable in world. Since "canPlaceInWorld" is final, the only way to do it will be not registering a block for it. But then, the texture in machines and buckets go missing... Do I need a blockstate or what? Do I need to load the textures somehow? Please help. Log doesn't show any errors... https://gist.github.com/MrJake222/79f71576c151d4fe6ea7d508f0712390
  10. So I did a little digging and updated the mappings to the last stable for 1.12 from http://export.mcpbot.bspk.rs and it works! My build.gradle now(fragment): Thanks for suggestions!
  11. Here you are: https://gist.github.com/MrJake222/01ff760421b2d2d07831736508e6d9a7 Also attached full latest.log.
  12. I guess these map obfuscated names to their human-readable form. Frankly, I haven't heard of them so, default?
  13. Hi, I'm trying to get latest Mekanism API to work, but I cannot cope with this exception... https://github.com/mekanism/Mekanism/blob/1.12/src/main/java/mekanism/api/util/BlockInfo.java Older versions of this API use getUnlocalizedName() in this place. I found out that this is 1.13 thing(getTranslationKey) but I'm not sure how standalone Mekanism works then... Am I missing something or implementing APIs wrong? Same method, older API works perfectly...
  14. Yes, It kind of made sense to me, after thinking a bit longer. References also matter... I'm trying to find a reasonable solution. Why not use @SideOnly after all? I have an interface to synchronize my Tileentity states(and opening GUIs) setup like this: @Override @SideOnly(Side.CLIENT) public void setState(EnumStateType stateType, State state) { switch (stateType) { case GUI_STATE: openGui = new RingsGUI(pos, (RingsGuiState) state); Minecraft.getMinecraft().displayGuiScreen(openGui); break; default: break; } }
  15. Nice explanation, thanks. I'll probably stick to the simple channel.
  16. So, what's the diffrence between these two? Are there some docs regarding EventDrivenChannel?

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.