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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. Not to contradict you, Lex, but 11.14.4.1577 is the most recent version of Forge for MC1.8 (not MC1.8..
  2. As I said, they render rotation based on age. A brand new entity item has a slightly random age. As for an example, https://github.com/Draco18s/Artifacts/blob/master/main/java/com/draco18s/artifacts/entity/TileEntityDisplayPedestal.java When there is an item in the inventory, it creates an EntityItem (which is rendered with the standard EntityRenderer when the TE's model renders, with some GL_rotates so that it lays flat) and sets its age and rotation to 0.
  3. Entity items have rotation applied based on their age. I suggest you create a static entity item rather than creating a new one every frame, and manually forcing its age to 0.
  4. MCAnimator. There's your problem. The animation system exported by MCAnimator is rife with problems. You will not be able to fix this on your own.
  5. Have you registered your item/block renderer?
  6. A hahaha. Hahaha. That's funny. Enjoy your banishment, diesieben07 is a mod and Lux isn't likely to override the decision, rather he'll agree with it. Your better off posting the files. No one is going to steal your code, if that's what you're worried about.
  7. Perfect. I spoke up about it as I know that other mods did something similar as you had done, checking "is overworld" rather than "is not nether, end"
  8. Oh, that's handy. How good is the (apparent) randomness? I went to a lot of work in a 1.7 mod to make it look random across all three dimensions (that is, make the pattern length longer than the players ability to find it). Obviously the number of unique textures plays an important part, I used nine.
  9. That should work, but it still won't generate in a Mystcraft dimension.
  10. Followed by: switch(world.provider.dimensionId) { //case 0 = Overworld case 0: generateSurface(world, random, chunkX*16,chunkZ*16); break; //case 0 = Nether case -1: generateSurface(world, random, chunkX*16,chunkZ*16); break; //case 0 = End case 1: generateSurface(world, random, chunkX*16,chunkZ*16); break; } } What happens when dimension 47 generates and is an overworld clone? The reason I mentioned the other dimensions was not so you would run your code on the nether and the end (which, by the way, is pointless as the savanna never shows up in either of those) but so that you would add a default case so that it could handle ANY mod-added dimension.
  11. The "7" is essentially a "magic number" that was compiled from an reference constant to its literal value (and thus lost during decompilation). It's the value that tells OpenGL to render quads: OpenGL.GL_QUADS
  12. See, it helps if you actually look at the BiomeGenBase class. public static final BiomeGenBase savanna = (new BiomeGenSavanna(35)).setColor(12431967).setBiomeName("Savanna").setTemperatureRainfall(1.2F, 0.0F).setDisableRain().setHeight(height_LowPlains); public static final BiomeGenBase savannaPlateau = (new BiomeGenSavanna(36)).setColor(10984804).setBiomeName("Savanna Plateau").setTemperatureRainfall(1.0F, 0.0F).setDisableRain().setHeight(height_HighPlateaus); "Savanna" will never equal "Savannah" Second, there's a public static reference right there you can compare to without having to do string comparison (which is expensive). Third, it is possible for the savanna biome to show up in dimensions other than the overworld, e.g. Mystcraft ages. You should let your ore generate in all dimensions as long as the biome check is valid.
  13. I think that would also cause farmland to never get wet either.
  14. Dude, the old mappings aren't yours to sell.
  15. Fuck if we know. You didn't give us any code.
  16. The colorization just means you need a white png that acts as the gradient, and then you use gl_Color to give it a color. And drawing a thin cuboid is going to be just as hard as drawing a single quad: you still need the 4 important corners. This might help with finding the quads.
  17. I think you can accomplish this with the onEntityUpdate method available in the item class. You'd have to proactively check for water, though.
  18. Well, you're still going to be drawing quads in all likelihood. Just that you need a texture on those quads to give you the gradient. You're not going to get the gradient effect without the texture (or a hell of a lot of work).
  19. Or use a TileEntity, if 16 unique states are insufficient.
  20. also, you check slot.stacksize > 1 which means that if you put one item in, it won't smelt.
  21. You never do anything with expGiven after setting its value.
  22. I misread something. Probably as a result of having zoomed in on my tablet screen.
  23. Hold on. If you have 6 states and TWO rotations, that's almost 100 total states.

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.