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.

FLUFFY2

Forge Modder
  • Joined

  • Last visited

Everything posted by FLUFFY2

  1. He probably mean how did you exported it? It has to be trianglulated, otherwise crash! The error you showing is a realy simple error. Did you just copy and paste the tutorial, huh? Sigh..... You have to use ResourceLocation in order to open you .obj!
  2. @drok: Sorry, my bad! @Kwibble: Well i can't say it other way. Im not gonna give anyone a copy&paste.
  3. Why don't you just look up how wolves are working?! It will save you much time.
  4. @dork: It is posibble without editing the light engine! You have to place an EnumSkyBlock(with .setLightValue) around the block you want to be brighter. Minecraft gonna check for the incorrect light sometimes so you have to keep the light updated. If you remove the block use .updateLightByType at the created EnumSkyBlocks to delete the light! If you not realy understand this stay at 1.0F!
  5. Hello everyone, I made a model in Blender and exported it in .obj! It triangulated, no quad faces! But i get this error message: net.minecraftforge.client.model.ModelFormatException: Error parsing entry ('o shell.lantern.smd.mesh_0.007', line 4) in file 'fluffy:models/Lantern.obj' - Incorrect format I'm new to modelling, but i spent so much time making this. Thanks!
  6. Im just trying to write that for modders who don't understand it. It not what i don't understand its for others You probably getting sick by seeing how everyone use @SideOnly even if they dont know what it is for. Well they can know it now.
  7. Hello everyone, I tought i make this simple info because i saw a lot of people using @SideOnly to make their code only run on one side. Thats a bad idea! @SideOnly is for making a code only VISIBLE for one side. Feel the difference? Its good for registration purposes, but you have your Common and ClientProxy, right? You might ask now, than what can we use??? If in your code you have a World as argument or instance you can use: if(world.isRemote) -world.isRemote = CLIENT -!world.isRemote = SERVER Its that simple! Or if you cannot get world for some reason use SIDE checking: Side side = FMLCommonHandler.instance().getEffectiveSide(); if(side == Side.CLIENT) { System.out.println("CLIENT"); }else{ System.out.println("SERVER"); } Hope you now not gonna mess up your code and be suprised why is it not working!
  8. public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float tick) should be: public void renderTileEntityAt(TileEntityMyModel tileEntity, double x, double y, double z, float tick) That way you don't have to use instances and create an instace of you tile entity.
  9. Um........... Sorry guys for wasting your times. I tought RecipeSorter.register replaces .addRecipe() in case of custom recipes. Problem sloved, thank you very much guys!
  10. W-W-W...WAIT? WHAT? GameRegistry.addRecipe(RecipeSorter.register("Amnesia:lantern", LanternRefuelRecipe.class, Category.SHAPELESS, "after:minecraft:shapeless")); That throws an error.
  11. Okey just checked out! If im using the RecipeSorter registration my custom Recipe class never runs. With the bad register way it runs. I checked out the list and it matches how it should look like.
  12. Delete the number! Only random.eat.
  13. You should extend EntityMob and add the AI tasks you want!
  14. I have a custom recipe that WORKS while useing: GameRegistry.addRecipe(new LanternRefuelRecipe()); But that throws me an error: Unknown recipe class! com.fluffy.amnesia.handler.LanternRefuelRecipe Modder please refer to net.minecraftforge.oredict.RecipeSorter So i just updated my code: RecipeSorter.register("Amnesia:lantern", LanternRefuelRecipe.class, Category.SHAPELESS, "after:minecraft:shapeless"); Its now STOPPED working. No error, crash, just there is no crafting resoults. My Recipe class: http://pastebin.com/3VkyTC1F In the modder forum nobody has clue why is that. It mayebe a bug or it just not that simple how i tought it is. Useing forge .1159! Thanks!
  15. You are lack of knowlage even in the basics. I don't know you are actually learnt java or not but you must watch some basic tutorials! If you not understand the TileEntity tutorial you are probably has to learn java first. Don't do what i did because i never learnt java, but i can still make mods. After 2 years of modding i understands Minecraft, Forge and Java! If you learn java first and than modding you probably save 1,5 year!
  16. Fresh install latest Forge for 1.7.10. Your code must work!
  17. In .1159 i also have this problem but only when i generation a new world. The error is not the same its something like "Chunk generation took: ~130ms". And i can see a lot of missing chunk while thats happening. But your main class should have the Proxies and the inits!
  18. Why are you want to get a TileEntity in your TileEntity class? Thats stupid! Your tile entity is already defined with "this."!!! Your case: this.blockMetadata; If you create a new TE for your block the cordinates are already "connected" together! BUT be careful TE can be null and crash the game!
  19. No problem! Thanks for helping anyway.
  20. Yes its worked with GameRegistry.addRecipe(new LanternRefuelRecipe()); I tryed what you have said but no luck.
  21. Oh its simple. There is no crafting resoults with this RecipeSorter registration. If you need here is my Recipe class file: http://pastebin.com/tfLDjHBS Thanks for the helping!
  22. Updated, still not working: RecipeSorter.register("Amneisa:lantern", LanternRefuelRecipe.class, Category.SHAPELESS, "after:minecraft:shapeless"); I think im just stick with: GameRegistry.addRecipe(new LanternRefuelRecipe()); Its working after all. Even if is drops an error!
  23. Okey error gone now. Now my recipes also STOPPED working. No crash or a single error, nothing! Code: RecipeSorter.register("Lantern Refuel", LanternRefuelRecipe.class, Category.SHAPELESS, ""); Also what dependancies stands for? If i put anything into the last string it crashes.
  24. I have an error message when MC starts up with my mod! Unknown recipe class! com.fluffy.amnesia.handler.LanternRefuelRecipe Modder please refer to net.minecraftforge.oredict.RecipeSorter My custom recipe is still working both side, but im just interested what this means?
  25. Im not mean dont make mods for 1.7.2! I mean dont make mods below version 1.7.2! I know its supported and recommended! (English is not my main language, sorry for mistakes)

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.