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.

GotoLink

Members
  • Joined

  • Last visited

Everything posted by GotoLink

  1. I hope you removed the "final" keyword then.
  2. So, there are three possible null arguments: -ObsidianSword -CondensedObsidian -blazerod All those should be initialized before the addRecipe(args) line. You can also try with GameRegistry.addRecipe(new ItemStack(ObsidianSword), new Object[]{" O "," O "," R ",'O', ashtonsmod.CondensedObsidian,'R',blazerod});
  3. Did you fix both parts of your code I showed previously ?
  4. public class RenderRocket extends RenderLiving { public static final ResourceLocation Texture = new ResourceLocation(BattleOfTheBeastsMod.modid, "textures/entity/Rocket.png"); public RenderRocket(RocketModel par1RocketModel, float par2) { super(par1RocketModel, par2); } @Override public void doRender(Entity entity, double d0, double d1, double d2, float f, float f1) { GL11.glPushMatrix(); GL11.glPopMatrix(); GL11.glRotatef(90F, 0F, 1.0F, 0.0F); } protected ResourceLocation func_110775_a(Entity par1Entity) { return Texture; } } This would be better. By the way, your doRender method doesn't render your model or anything. You should probably call model.render(...);
  5. Well sorry if am not a leader. MinecraftServer.getServer.worldServers[id].loadedTileEntityList
  6. Server blocks illegal movement ? a.k.a -no fly ?
  7. MinecraftServer.getServer()...?
  8. private final ItemStack inputStack; private final... Consider this part of your code with more attention.
  9. I think there is a color setting due to biome specific coloration over blocks. Like "color multiplier"...
  10. GotoLink replied to ss7's topic in Modder Support
    Only two possible destinations for packets: server and players (=clients)
  11. All you have to do is build that thing like you would a portal. The "doors" you think of, are also custom teleporters.
  12. Under this comment: /*Set static values (Items/Blocks)*/ static { //items initialization here } You have a static body with items initialization. Move those into your "myNewPreloadMethod". Then learn some Java. "static" is a really common keyword, you should know what it is doing.
  13. Why would you check that ? you don't have to place the block... Not convenient at all. Plus, i can tell who is breaking the block with reflection.
  14. "Nope" what ? Any comments on my code ?
  15. What do you mean by ? An event won't stop because you put if(condition) somewhere...
  16. The static body will get executed first. Move the items declaration in "myNewPreLoad" method.
  17. Where do you use/render that model ? The answer is: in your renderer
  18. You have the face of the click, it isn't so hard to move to the neighbouring block... At worst, 6 cases in a switch Ouch. But do what you must lol. I'd be glad to hear more convenient strategies
  19. Then maybe it is time to show what your addRecipe method does ?
  20. Put the texture info in your entity renderer. Like RenderMob or such.
  21. Well...maybe a wrong Eclipse installation...or...did you touch mcp/bin folder ?
  22. Yes, this is a conflict: two of the items you are registering have an item id of 0.
  23. Always check for server side before spawning something. if(!world.isRemote) { world.spawnEntityInWorld(... }
  24. Looks like a codec error. Can you try with a .wav file ?
  25. Man, the abstract code is useless to us. Your implementation is what is important. public class CraftingManager { public static IBrewingManager brewery; } This looks a bit...empty, don't you think ? By the way...interfaces are always abstract.

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.