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.

MrPablo2000

Members
  • Joined

  • Last visited

Everything posted by MrPablo2000

  1. Friend Musicgun47 help me, rescaled my model and now my model is loading correctly Thanks!. But now i have an erro with eclipse/forge src - eclipse doesn't compile new classes and when I run my Client i haven't got new classes..
  2. I deleted "-" and changed it, that all coordinates are in 0-1 range. But is still too big. What I can do ?
  3. How is the size of normal block in minecraft ? For how size I must scale down my model ?
  4. Thanks - now ist rendering on placed - but the model is too big ?
  5. I make all as your solution, but it stil isn't working.. Eclipse log: https://pastebin.com/9RcceyEE ModelORO.obj: https://pastebin.com/wTTej896 modeloro.mtl https://pastebin.com/Gf7twXN8 Texture modeloro.png is in the same folder as modeloro.mtl and modeloro.png
  6. *Bump* I had now this error https://pastebin.com/amFm81vy I hate it...
  7. Yea...I make all as toturial "OBJ without animation", but i think there is a problem with blokstate .json file. I copied it from link, changed modid to my, and to my obj model name, but i have this error in eclipse log: https://pastebin.com/QRZmnSsk This is my blockstate json, where i defited the location of OBJ model { "forge_marker": 1, "defaults": { "custom": { "flip-v": true }, "model": "modtut: model.obj" }, "variants": { "normal": [{}], "inventory": [{}] } } I don't know, why the "model.obj" it understand as "model.obj.json"..
  8. Are you thinking about this? package com.mrpablo2000.lanterns.blocks; import com.mrpablo2000.lanterns.Lanterns; import com.mrpablo2000.lanterns.items.ModItems; import com.mrpablo2000.lanterns.util.IHasModel; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemBlock; public class BlockORZ1 extends Block implements IHasModel { public static boolean isActive; public BlockORZ1(String name, boolean isActive ) { super(Material.IRON); this.isActive=isActive; this.setUnlocalizedName(name); this.setRegistryName(name); this.setCreativeTab(CreativeTabs.REDSTONE); ModBlocks.BLOCKS.add(this); ModItems.ITEMS.add(new ItemBlock(this).setRegistryName(this.getRegistryName())); } public void registerModels() { Lanterns.proxy.registerItemRenderers(Item.getItemFromBlock(this), 0, "inventory"); } }
  9. I wrote it to my mod, but it still doesn't work: package com.mrpablo2000.lanterns.network; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.client.model.ModelLoader; public class ClientProxy extends CommonProxy{ public static void registerItemRenderers(Item item, int meta, String id) { ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id)); } }
  10. Oh, I forgot about this...Where I must call it ?
  11. Yes, in RegistryHandler: https://pastebin.com/rhwEmsWg
  12. Thanks - now works the block texture, but in hand block still is purple-black squares...
  13. JSON in assets.lanterns.blockstates: https://pastebin.com/VCc8VMu4 JSON in assets.lanterns.models.block: https://pastebin.com/5c8DyEjU JSON in assets.lanterns.models.item: https://pastebin.com/VCJwenGE
  14. Hi, I want to make my block in 1.12.2, I'm doing all as in this film: But it doesn't working... That's my eclipse log: https://pastebin.com/1VuggbGC Thanks for help..
  15. Thanks I have got second question - my OBJ model is from sketchup and it have only .obj file and .mtl . It hasn't got texture in .png. How use the .mtl? Paweł
  16. Hi, I want use in my mod OBJ models for block(block are street lamps). But I don't know how make this Have you got any toturial about this ? Paweł
  17. Maybe i should download gradle? Manually?
  18. No, I want to play with friends on 1.8.9 because we don't like the 1.9's combat update. Please, this one you can help the user. And please, don't write 1.8.9 is don't supported by forge
  19. I copy files from MDK zip to my folder, next i open cmd (SHIFT+Right mouse button), I write gradlew.bat setupDecompWorkspace and i have got the error: Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain That's all.
  20. Hi, the same as in the title, I have got an error when i try any command in gradle Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain My MDK version is 1.8.9-11.15.1.1722. Please, help me!

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.