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.

needoriginalname

Members
  • Joined

  • Last visited

Everything posted by needoriginalname

  1. I been working on a mod that allows you to teleport between the nether and the overworld without the use of a nether portal. However, while this seems to work with the nether, when going into the Overworld, the chunks don't appear to be loading and it resembles what mystcraft worlds look like before there chunks load. Anyone know what I am doing wrong. Here is my code: http://pastebin.com/mpxchyvj Note, I am making this mod for both 1.7.10 and 1.8, so I kinda backported the BlockPos from 1.8 to 1.7.10 for my own purposes, which is why its in the 1.7.10 code. Edit: Pastebin link changed, due to link expired. Also ignore the LoadChuck Method, I just put that in when testing out a few ideas.
  2. I am making a mod for 1.7.10 and 1.8, that acts like a player capture device, kind of like a safari net, but with players and it 'stores' them in a different dim. However, my problems is that how do I get that player out if that player is no longer online. My first thought would be to access the player save file, but forge doesn't seem to like that. Is there a better way to change an offline player's save file?
  3. I have a small server community that has expressed interest in adding several mods in the server, now we already have a list of mods that we want to use. However that server had a spigot plugin called LogBlock, which was very helpful when finding out who griefed our server a few times before. However, since LogBlock is a spigot plug-in, it will not work on Forge, so is there a good replacement mod for LogBlock for Minecraft Forge 1.8?
  4. I am making a mod that is a backport of another mod I made in 1.8, and hoping to back port to 1.7.10. My mod, had its item model done using the vanilla minecraft model def, which was initially created by a block modelling software from BDCraft. I just found out, that my block modeling program can't support exporting to OBJ correctly because it doesn't support rotations yet. I was suggested by the creator of the program to use the Tabula JSON and PNG format for Minecraft Forge, instead. However, I can't seem to find any information about the Tabula format or how to get Forge to use it. Anyone know about this. Googling around seems to come up dry besides a model program called Tabula, but that didn't use JSON nor PNG. BTW: The Mod is for 1.7.10
  5. I looked into using getItemInUseCount. Problem with that is that is that is @SideOnly(Side.CLIENT), which if I remember right. Means that function doesn't exist server side, and the server is where the actual time needed to charge the item is stored.
  6. I am making a mod in minecraft 1.8, and one thing it can do is that when you right click and hold it. It will 'charge' the item and do a different action then it would do if you just simply right clicked. I want the user to know when it is done charging, and I thought that a that little ding caused by a arrow hitting a player would be perfect. However, I can't figure out how to do this. I tried using NBT as a way to store how much time is left for charging and whether or not it has played a sound effect. But that way doesn't work, as it just resets the timer because a different NBT tag makes MC think its a different item. So any idea what I could? Note, the charge time is configurable. So the charge time in the client's configs might be different in the server's config.
  7. I am making a mod, and one of the items I have makes it so that it traps a player in another Dimension. The Dimension is pretty bare, only a few layers of blocks with bedrock level hardness and resistance. However, whenever I teleport in it, no blocks will show in there unless I exit the game and reenter, and I will move and fall very slowly unless in creative mode flight. Custom Biome: http://pastebin.com/TYyLG5fJ Custom Chunk Provider: http://pastebin.com/sp4bbHr4 Custom World Provider: http://pastebin.com/56qmBw91 Any ideas?
  8. Ah ok, I solved it. Turns out, I was putting the username and password options in the VM arguments instead of the program's arguments.
  9. I need to test to make sure it is capturing and using another player's data correctly, and I need to have another player in my forge environment to do so. When launching a second client, after having the first client had opend to lan. It says I have an invalid session. What exactly do I need to do to get it to work? Note: I am running MC verison 1.8.
  10. Alright, I tried adding the GLStateManager to scale it to 1.0 on all 3 parameters and used the other draw texture method directly from the mc.inGameGUI. Nothing seemed to change. Its still not rending all of the icon. Its a small picture that is 16x16 long, so the file is under 1kB.
  11. Hello, I am trying to make a button that uses a graphic instead of a textbox. Currently as a test I am using a white box with A single letter in it, and the graphic is a 16 by 16 pixels picture. However it seems whenever I try to render it on screen it is cropped to only show a small part of the topleft corner, increases the width and height can show the rest but the scaling is huge and takes up must of the screen. This is the code I am using. http://pastebin.com/inXauM79
  12. ..., when you said to get the GUI code, I thought I show my GUIHandler code too just in case. That is when I saw I forgot return the container for the serverside gui. It was previously returning null. (facepalm) I fixed that and it worked now.
  13. I am a new modder and I am developing on minecraft verison 1.8. I am trying to setup a gui for a custom tile entity, however putting the items in the tileentity just makes the items come out of my character when I close the gui and if the item actually shows in the gui, the items disappear when I click on them. Here is my Container code http://pastebin.com/CELp3WHy Here is what my Tile Entity inherits from to implement IInventory. http://pastebin.com/1pCKBWL6

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.