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.

GreatWolf

Members
  • Joined

  • Last visited

Everything posted by GreatWolf

  1. I saw that in older versions some people used #ServerLevel.getChunkSource().chunkMap.getChunks(), but it is currently protected.
  2. Creating a completely new world without standard biomes. For example, create greenery after an atomic strike (that is, generate a world with new blocks and possibly buildings)
  3. I want to generate a completely new world that is not like the standard one.
  4. I want to generate a completely new world that is not like the standard one.
  5. Hello everyone, please tell me whether it is really possible to make NPC in this mod with a model of stone, wood (or other blocks). I saw on some servers something like this, you kill NPC (stone) and the cobblestone falls out.
  6. Here is my model: { "credit": "Made with Blockbench", "parent": "item/generated", "textures": { "0": "gwmod:items/1", "1": "gwmod:items/2", "2": "gwmod:items/3", "3": "gwmod:items/4", "4": "gwmod:items/5", "7": "gwmod:items/6", "8": "gwmod:items/7", "9": "gwmod:items/8", "11": "gwmod:items/10", "12": "gwmod:items/11", "particle": "gwmod:items/1" }, "elements": [ { "from": [4, 0.5, 3.75], "to": [12.5, 1, 12.25], "faces": { "north": {"uv": [0, 0, 8.5, 0.5], "texture": "#4"}, "east": {"uv": [0, 0, 8.5, 0.5], "texture": "#4"}, "south": {"uv": [0, 0, 8.5, 0.5], "texture": "#4"}, "west": {"uv": [0, 0, 8.5, 0.5], "texture": "#4"}, "up": {"uv": [0, 0, 8.5, 8.5], "texture": "#missing"}, "down": {"uv": [0, 0, 8.5, 8.5], "texture": "#4"} } }, { "from": [4, 1, 3.75], "to": [12.5, 15, 12.25], "rotation": {"angle": 0, "axis": "y", "origin": [8, 9, 8]}, "faces": { "north": {"uv": [0, 0, 0.5, 15.25], "texture": "#11"}, "east": {"uv": [0, 0, 0.5, 15.25], "texture": "#11"}, "south": {"uv": [0, 0, 0.5, 15.25], "texture": "#11"}, "west": {"uv": [0, 0, 0.5, 15.25], "texture": "#11"}, "up": {"uv": [0, 0, 16, 16], "texture": "#12"}, "down": {"uv": [0, 0, 0.5, 15.25], "texture": "#missing"} } }, { "from": [3.75, 0.75, 4], "to": [4, 1, 12], "faces": { "north": {"uv": [0, 0, 0.25, 0.25], "texture": "#4"}, "east": {"uv": [0, 0, 8, 0.25], "texture": "#missing"}, "south": {"uv": [0, 0, 0.25, 0.25], "texture": "#4"}, "west": {"uv": [0, 0, 8, 0.25], "texture": "#4"}, "up": {"uv": [0, 0, 0.25, 8], "texture": "#missing"}, "down": {"uv": [0, 0, 0.25, 8], "texture": "#4"} } }, { "from": [3.5, 1, 4], "to": [4, 15.5, 12], "rotation": {"angle": 0, "axis": "y", "origin": [8, 9, 8]}, "faces": { "north": {"uv": [0, 0, 0.75, 14], "texture": "#8"}, "east": {"uv": [0, 0, 8, 15], "texture": "#12"}, "south": {"uv": [0, 0, 0.5, 14.5], "texture": "#2"}, "west": {"uv": [0, 0, 7.5, 14], "texture": "#8"}, "up": {"uv": [0, 0, 1, 8], "texture": "#12"}, "down": {"uv": [0, 0, 1, 8], "texture": "#4"} } }, { "from": [3.25, 1.25, 4.25], "to": [3.5, 15.25, 11.75], "rotation": {"angle": 0, "axis": "y", "origin": [8, 9, 8]}, "faces": { "north": {"uv": [0, 0, 1, 14], "texture": "#0"}, "east": {"uv": [0, 0, 8, 15], "texture": "#missing"}, "south": {"uv": [0, 0, 1, 16], "texture": "#1"}, "west": {"uv": [0, 0, 7.5, 14], "texture": "#0"}, "up": {"uv": [0, 0, 1, 8], "texture": "#3"}, "down": {"uv": [0, 0, 1, 8], "texture": "#4"} } }, { "from": [4.25, 0.75, 12.25], "to": [12.25, 1, 12.5], "faces": { "north": {"uv": [0, 0, 8, 0.25], "texture": "#missing"}, "east": {"uv": [0, 0, 0.25, 0.25], "texture": "#4"}, "south": {"uv": [0, 0, 8, 0.25], "texture": "#4"}, "west": {"uv": [0, 0, 0.25, 0.25], "texture": "#4"}, "up": {"uv": [0, 0, 8, 0.25], "texture": "#missing"}, "down": {"uv": [0, 0, 8, 0.25], "texture": "#4"} } }, { "from": [4.25, 1, 12.25], "to": [12.25, 15.5, 12.75], "rotation": {"angle": 0, "axis": "y", "origin": [8, 9, 8]}, "faces": { "north": {"uv": [0, 0, 8, 14.5], "texture": "#12"}, "east": {"uv": [0, 0, 0.5, 14.5], "texture": "#2"}, "south": {"uv": [0, 0, 7.5, 14], "texture": "#8"}, "west": {"uv": [0, 0, 0.5, 14], "texture": "#8"}, "up": {"uv": [0, 0, 8, 0.5], "texture": "#12"}, "down": {"uv": [0, 0, 8, 0.5], "texture": "#4"} } }, { "from": [4.5, 1.25, 12.75], "to": [12, 15.25, 13], "rotation": {"angle": 0, "axis": "y", "origin": [8, 9, 8]}, "faces": { "north": {"uv": [0, 0, 7.5, 14], "texture": "#missing"}, "east": {"uv": [0, 0, 0.25, 15.75], "texture": "#1"}, "south": {"uv": [0, 0, 7.5, 14], "texture": "#0"}, "west": {"uv": [0, 0, 0.25, 14], "texture": "#0"}, "up": {"uv": [0, 0, 7.5, 0.25], "texture": "#3"}, "down": {"uv": [0, 0, 7.5, 0.25], "texture": "#4"} } }, { "from": [12.5, 0.75, 4], "to": [12.75, 1, 12], "faces": { "north": {"uv": [0, 0, 0.25, 0.25], "texture": "#4"}, "east": {"uv": [0, 0, 8, 0.25], "texture": "#4"}, "south": {"uv": [0, 0, 0.25, 0.25], "texture": "#4"}, "west": {"uv": [0, 0, 8, 0.25], "texture": "#missing"}, "up": {"uv": [0, 0, 0.25, 8], "texture": "#missing"}, "down": {"uv": [0, 0, 0.25, 8], "texture": "#4"} } }, { "from": [12.5, 1, 4], "to": [13, 15.5, 12], "rotation": {"angle": 0, "axis": "y", "origin": [8, 9, 8]}, "faces": { "north": {"uv": [0, 0, 0, 14.5], "texture": "#2"}, "east": {"uv": [0, 0, 7.5, 14], "texture": "#8"}, "south": {"uv": [0, 0, 0.75, 14], "texture": "#8"}, "west": {"uv": [0, 0, 8, 14.5], "texture": "#12"}, "up": {"uv": [0, 0, 0.5, 8], "texture": "#12"}, "down": {"uv": [0, 0, 0.5, 8], "texture": "#4"} } }, { "from": [13, 1.25, 4.25], "to": [13.25, 15.25, 11.75], "rotation": {"angle": 0, "axis": "y", "origin": [8, 9, 8]}, "faces": { "north": {"uv": [0, 0, 0.25, 15.75], "texture": "#1"}, "east": {"uv": [0, 0, 7.5, 14], "texture": "#0"}, "south": {"uv": [0, 0, 0.25, 14], "texture": "#0"}, "west": {"uv": [0, 0, 7.5, 14], "texture": "#missing"}, "up": {"uv": [0, 0, 0.25, 7.5], "texture": "#3"}, "down": {"uv": [0, 0, 0.25, 7.5], "texture": "#4"} } }, { "from": [4.25, 0.75, 3.5], "to": [12.25, 1, 3.75], "faces": { "north": {"uv": [0, 0, 8, 0.25], "texture": "#4"}, "east": {"uv": [0, 0, 0.25, 0.25], "texture": "#4"}, "south": {"uv": [0, 0, 8, 0.25], "texture": "#missing"}, "west": {"uv": [0, 0, 0.25, 0.25], "texture": "#4"}, "up": {"uv": [0, 0, 8, 0.25], "texture": "#missing"}, "down": {"uv": [0, 0, 8, 0.25], "texture": "#4"} } }, { "from": [4.25, 1, 3.25], "to": [12.25, 15.5, 3.75], "rotation": {"angle": 0, "axis": "y", "origin": [8, 9, 8]}, "faces": { "north": {"uv": [0, 0, 7.5, 14], "texture": "#8"}, "east": {"uv": [0, 0, 0.5, 14], "texture": "#8"}, "south": {"uv": [0, 0, 8, 14.5], "texture": "#12"}, "west": {"uv": [0, 0, 0.5, 14.5], "texture": "#2"}, "up": {"uv": [0, 0, 8, 0.5], "texture": "#12"}, "down": {"uv": [0, 0, 8, 0.5], "texture": "#4"} } }, { "from": [4.5, 1.25, 3], "to": [12, 15.25, 3.25], "rotation": {"angle": 0, "axis": "y", "origin": [8, 9, 8]}, "faces": { "north": {"uv": [0, 0, 7.5, 14], "texture": "#0"}, "east": {"uv": [0, 0, 0.25, 14], "texture": "#0"}, "south": {"uv": [0, 0, 7.5, 14], "texture": "#missing"}, "west": {"uv": [0, 0, 0.25, 15.75], "texture": "#1"}, "up": {"uv": [0, 0, 7.5, 0.25], "texture": "#3"}, "down": {"uv": [0, 0, 7.5, 0.25], "texture": "#4"} } }, { "from": [4, 15, 12], "to": [4.25, 15.5, 12.25], "faces": { "north": {"uv": [0, 0, 0.25, 0.5], "texture": "#12"}, "east": {"uv": [0, 0, 0.25, 0.5], "texture": "#12"}, "south": {"uv": [0, 0, 0.25, 0.5], "texture": "#9"}, "west": {"uv": [0, 0, 0.25, 0.5], "texture": "#9"}, "up": {"uv": [0, 0, 0.25, 0.25], "texture": "#12"}, "down": {"uv": [0, 0, 0.25, 0.25], "texture": "#missing"} } }, { "from": [4, 15, 3.75], "to": [4.25, 15.5, 4], "faces": { "north": {"uv": [0, 0, 0.25, 0.5], "texture": "#9"}, "east": {"uv": [0, 0, 0.25, 0.5], "texture": "#12"}, "south": {"uv": [0, 0, 0.25, 0.5], "texture": "#12"}, "west": {"uv": [0, 0, 0.25, 0.5], "texture": "#9"}, "up": {"uv": [0, 0, 0.25, 0.25], "texture": "#12"}, "down": {"uv": [0, 0, 0.25, 0.25], "texture": "#missing"} } }, { "from": [12.25, 15, 3.75], "to": [12.5, 15.5, 4], "faces": { "north": {"uv": [0, 0, 0.25, 0.5], "texture": "#9"}, "east": {"uv": [0, 0, 0.25, 0.5], "texture": "#9"}, "south": {"uv": [0, 0, 0.25, 0.5], "texture": "#12"}, "west": {"uv": [0, 0, 0.25, 0.5], "texture": "#12"}, "up": {"uv": [0, 0, 0.25, 0.25], "texture": "#12"}, "down": {"uv": [0, 0, 0.25, 0.25], "texture": "#missing"} } }, { "from": [12.25, 15, 12], "to": [12.5, 15.5, 12.25], "faces": { "north": {"uv": [0, 0, 0.25, 0.5], "texture": "#12"}, "east": {"uv": [0, 0, 0.25, 0.5], "texture": "#9"}, "south": {"uv": [0, 0, 0.25, 0.5], "texture": "#9"}, "west": {"uv": [0, 0, 0.25, 0.5], "texture": "#12"}, "up": {"uv": [0, 0, 0.25, 0.25], "texture": "#12"}, "down": {"uv": [0, 0, 0.25, 0.25], "texture": "#missing"} } }, { "from": [5, 15, 5.75], "to": [6, 15.25, 7.25], "faces": { "north": {"uv": [0, 0, 1, 0.25], "texture": "#7"}, "east": {"uv": [0, 0, 1.5, 0.25], "texture": "#7"}, "south": {"uv": [0, 0, 1, 0.25], "texture": "#7"}, "west": {"uv": [0, 0, 1.5, 0.25], "texture": "#7"}, "up": {"uv": [0, 0, 1, 1.5], "texture": "#7"}, "down": {"uv": [0, 0, 1, 1.5], "texture": "#missing"} } } ], "display": { "thirdperson_righthand": { "translation": [-0.25, 0, 0.75], "scale": [0.28, 0.28, 0.28] }, "thirdperson_lefthand": { "translation": [0.25, 0, 0.75], "scale": [0.28, 0.28, 0.28] }, "firstperson_righthand": { "scale": [0.28, 0.28, 0.28] }, "firstperson_lefthand": { "scale": [0.28, 0.28, 0.28] }, "ground": { "rotation": [90, 0, 0], "scale": [0.28, 0.28, 0.28] }, "gui": { "scale": [0.8, 0.8, 0.8] }, "head": { "translation": [0, 8.5, 0], "scale": [0.28, 0.28, 0.28] } } } and i have error [13:54:09] [Client thread/ERROR] [FML]: Exception loading model for variant gwmod:pepsi#inventory for item "gwmod:pepsi", normal location exception: net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model gwmod:item/pepsi with loader VanillaLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:161) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:302) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:175) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:151) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:560) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:422) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:25) [start/:?] Caused by: java.io.FileNotFoundException: gwmod:models/item/pepsi.json at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:69) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:65) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:334) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.access$1400(ModelLoader.java:115) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:861) ~[ModelLoader$VanillaLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:157) ~[ModelLoaderRegistry.class:?] ... 20 more [13:54:09] [Client thread/ERROR] [FML]: Exception loading model for variant gwmod:pepsi#inventory for item "gwmod:pepsi", blockstate location exception: net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model gwmod:pepsi#inventory with loader VariantLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:161) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:296) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:175) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:151) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:560) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:422) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:25) [start/:?] Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:83) ~[ModelBlockDefinition.class:?] at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1175) ~[ModelLoader$VariantLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:157) ~[ModelLoaderRegistry.class:?] ... 20 more
  7. And you do not know how to specify the damage from sword
  8. Very large model, please tell me how to reduce it.
  9. Sorry, I didn’t want to cluck you, I wanted to quote another person.
  10. Thank you, everything works but a very large model, please tell me how to reduce it.
  11. [14:40:02] [main/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= [14:40:02] [main/ERROR] [TEXTURE ERRORS]: The following texture errors were found. [14:40:02] [main/ERROR] [TEXTURE ERRORS]: ================================================== [14:40:02] [main/ERROR] [TEXTURE ERRORS]: DOMAIN zm [14:40:02] [main/ERROR] [TEXTURE ERRORS]: -------------------------------------------------- [14:40:02] [main/ERROR] [TEXTURE ERRORS]: domain zm is missing 1 texture [14:40:02] [main/ERROR] [TEXTURE ERRORS]: domain zm has 1 location: [14:40:02] [main/ERROR] [TEXTURE ERRORS]: mod zm resources at E:\ZombiMod\bin [14:40:02] [main/ERROR] [TEXTURE ERRORS]: ------------------------- [14:40:02] [main/ERROR] [TEXTURE ERRORS]: The missing resources for domain zm are: [14:40:02] [main/ERROR] [TEXTURE ERRORS]: textures/items\fryingpan.png [14:40:02] [main/ERROR] [TEXTURE ERRORS]: ------------------------- [14:40:02] [main/ERROR] [TEXTURE ERRORS]: No other errors exist for domain zm [14:40:02] [main/ERROR] [TEXTURE ERRORS]: ================================================== [14:40:02] [main/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  12. Oh sure, thanks, I somehow did not pay attention to this line
  13. 13:01:21] [main/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= [13:01:21] [main/ERROR] [TEXTURE ERRORS]: The following texture errors were found. [13:01:21] [main/ERROR] [TEXTURE ERRORS]: ================================================== [13:01:21] [main/ERROR] [TEXTURE ERRORS]: DOMAIN zm [13:01:21] [main/ERROR] [TEXTURE ERRORS]: -------------------------------------------------- [13:01:21] [main/ERROR] [TEXTURE ERRORS]: domain zm is missing 0 textures [13:01:21] [main/ERROR] [TEXTURE ERRORS]: domain zm has 1 location: [13:01:21] [main/ERROR] [TEXTURE ERRORS]: mod zm resources at E:\ZombiMod\bin [13:01:21] [main/ERROR] [TEXTURE ERRORS]: ------------------------- [13:01:21] [main/ERROR] [TEXTURE ERRORS]: The following other errors were reported for domain zm: [13:01:21] [main/ERROR] [TEXTURE ERRORS]: ------------------------- [13:01:21] [main/ERROR] [TEXTURE ERRORS]: Problem: broken aspect ratio and not an animation [13:01:21] [main/ERROR] [TEXTURE ERRORS]: textures/items/fryingpan.png [13:01:21] [main/ERROR] [TEXTURE ERRORS]: ================================================== [13:01:21] [main/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  14. YES, it turns out there is a model Only problems with texture and size.
  15. If I try to create a file in the models folder, then the object is transparent, and if in the blockstates folder, then the texture is pink and black #inventory File fyringpan.json { "forge_marker": 1, "defaults": { "textures": { "all": "zm:items/fyringpan.png" } }, "variants": { "normal": { "model": "zm:items/fyringpan.obj" }, "inventory": { "model": "zm:items/fyringpan.obj" } } } File ClientProxy public class ClientProxy extends CommonProxy { @Override public void registerItemRenderer(Item item, int meta, String id) { ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id)); } @Override public void preInit(FMLPreInitializationEvent event) { super.preInit(event); OBJLoader.INSTANCE.addDomain (Reference.MODID); } @Override public void init(FMLInitializationEvent event) { super.init(event); } @Override public void postInit(FMLPostInitializationEvent event) { super.postInit(event); } }
  16. Hello, I'm new to Forge and I want to create an item that would have a 3D model with an extension .obj, I managed to make an object with a regular flat texture, but I can't understand how to do it. I know that it is necessary to use OBJLoader.INSTANCE.addDomain(); , but where I need to enter it and what next I do not know

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.