Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

TheSunCat

Forge Modder
  • Posts

    451
  • Joined

  • Last visited

Everything posted by TheSunCat

  1. Ok. So I copied all the fence code for the class and the json's, just changed the names and references. Now I just get purple and black boxes. The collision is right and connects tough. I guess the proble is with my blockstates json? Blockstates json: <spoiler> { "multipart": [ { "apply": { "model": "bony_diamond_wall_post" }}, { "when": { "north": "true" }, "apply": { "model": "bony_diamond_wall_side", "uvlock": true } }, { "when": { "east": "true" }, "apply": { "model": "bony_diamond_wall_side", "y": 90, "uvlock": true } }, { "when": { "south": "true" }, "apply": { "model": "bony_diamond_wall_side", "y": 180, "uvlock": true } }, { "when": { "west": "true" }, "apply": { "model": "bony_diamond_wall_side", "y": 270, "uvlock": true } } ] } </spoiler> Block json: <spoiler> bony_diamond_wall_invetory.json: <spoiler> { "parent": "block/fence_inventory", "textures": { "texture": "momod:blocks/bony_diamond" } } </spoiler> bony_diamond_wall_post.json: <spoiler> { "parent": "block/fence_post", "textures": { "texture": "momod:blocks/bony_diamond_block" } } </spoiler> bony_diamond_wall_side.json: <spoiler> { "parent": "block/fence_side", "textures": { "texture": "momod:blocks/bony_diamond" } } </spoiler> bony_diamond_wall.json: <spoiler> { "parent": "block/wall_post", "textures": { "all": "momod:blocks/bony_diamond_block" } } </spoiler> </spoiler> And my Item bony_diamond_wall.json: <spoiler> { "parent": "block/bony_diamond_wall_inventory" } </spoiler> The log returns the same problem as before. Also I was trying to render my tables right in the inventory (because they too showed the "missing texture boxes", but only in the GUI and when held. Also, in third person the "missing texture" was the size a placed block would be, not a held block (it looks the same as when a resourcepack is missing a model)) and the Tables now have the same problem as the wall. The code I added to the block model json (wooden_table.json, stone_table.json, cobblestone_table.json, etc) is as follows: <spoiler> "display": { "gui": { "rotation": [ 30, 225, 0 ], "translation": [ 0, 0, 0], "scale":[ 0.625, 0.625, 0.625 ] }, "ground": { "rotation": [ 0, 0, 0 ], "translation": [ 0, 3, 0], "scale":[ 0.25, 0.25, 0.25 ] }, "fixed": { "rotation": [ 0, 0, 0 ], "translation": [ 0, 0, 0], "scale":[ 0.5, 0.5, 0.5 ] }, "thirdperson_righthand": { "rotation": [ 75, 45, 0 ], "translation": [ 0, 2.5, 0], "scale": [ 0.375, 0.375, 0.375 ] }, "firstperson_righthand": { "rotation": [ 0, 45, 0 ], "translation": [ 0, 0, 0 ], "scale": [ 0.40, 0.40, 0.40 ] }, "firstperson_lefthand": { "rotation": [ 0, 225, 0 ], "translation": [ 0, 0, 0 ], "scale": [ 0.40, 0.40, 0.40 ] } }, </spoiler> The whole block model json for the stone_table.json is as follows: <spoiler> { "parent": "block/block", "textures": { "particle": "blocks/stone", "0": "blocks/stone" }, "display": { "gui": { "rotation": [ 30, 225, 0 ], "translation": [ 0, 0, 0], "scale":[ 0.625, 0.625, 0.625 ] }, "ground": { "rotation": [ 0, 0, 0 ], "translation": [ 0, 3, 0], "scale":[ 0.25, 0.25, 0.25 ] }, "fixed": { "rotation": [ 0, 0, 0 ], "translation": [ 0, 0, 0], "scale":[ 0.5, 0.5, 0.5 ] }, "thirdperson_righthand": { "rotation": [ 75, 45, 0 ], "translation": [ 0, 2.5, 0], "scale": [ 0.375, 0.375, 0.375 ] }, "firstperson_righthand": { "rotation": [ 0, 45, 0 ], "translation": [ 0, 0, 0 ], "scale": [ 0.40, 0.40, 0.40 ] }, "firstperson_lefthand": { "rotation": [ 0, 225, 0 ], "translation": [ 0, 0, 0 ], "scale": [ 0.40, 0.40, 0.40 ] } }, "elements": [ { "name": "Leg1", "from": [ 1.0, 0.0, 1.0 ], "to": [ 2.0, 8.0, 2.0 ], "faces": { "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Leg2", "from": [ 14.0, 0.0, 1.0 ], "to": [ 15.0, 8.0, 2.0 ], "faces": { "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Leg3", "from": [ 14.0, 0.0, 14.0 ], "to": [ 15.0, 8.0, 15.0 ], "faces": { "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Leg4", "from": [ 1.0, 0.0, 14.0 ], "to": [ 2.0, 8.0, 15.0 ], "faces": { "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }, "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Top", "from": [ 0.0, 8.0, 0.0 ], "to": [ 16.0, 9.0, 16.0 ], "faces": { "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] }, "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] }, "south": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] }, "west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] }, "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] } } } ] } </spoiler>
  2. Thanks, draco18s. Just one thing: My block is a custom rendered fence, that I had in 1.7.10, but since now we need blockstates, I have no idea how to do it. It's supposed to connect to other fences and stuff. Right now it's just a purple and black cube when you place it. I have modified my blockstates a little so that it has the parts that the error mentions, and I will post it in a minute. It still does not work tough.
  3. Could you please provide a example? I am not really sure what you mean by a blockstate file? Don't I already have one?!? I am very confused...
  4. Uhhh... Help? I was trying to add my Bony Diamond Wall into 1.10.2. My ModBlockConnected class (this is my "walls" class): My ModBlocks class (where I add and register all the blocks): My json's (I mostly copy-pasted these from vanilla): bony_diamond_wall.json: My bony_diamond_wall_inventory.json: My bony_diamond_wall_post.json: My bony_diamond_wall_side.json: My bony_diamond_wall.json: My bony_diamond_wall.json: The different bony_diamond_wall.json's are for the blockstates, block, and item folders. Sorry if the spoilers didn't work, this is my first time on forums... ;-P (How do you insert a smiley?!?)
  5. OK. I am recreating one of my items from scratch and then basing the rest off of that one. I am following the quite recent tutorials of Them Derpy Gamers (This is the one I'm on: ). How would you update oregen, mobs, custom rendered blocks, custom furnaces and crafting tables, and metadata? Also, in 1.7, I was having a problem with "missing texture" particles for my custom rendered furniture. Did that get fixed in 1.10? I know other mods have working particles for blocks that don't have the shape of a cube... Sorry, I am pretty new to modding :-P.
  6. Thanks so much!! Looking into it...
  7. OK. I just looked at the files you sent me. I have no idea what they do!! I guess it has something to do with OreGen, but now I am just plain lost!! Help!
  8. Thanks, looking into it . Do I still have to delete my mod and start over? I am kind of confused...
  9. Thanks, but do I HAVE to start over? I took me a bit of time to get my 1.7.10 mod working properly, and it would be sad to start over. :-(
  10. It can be very frustrating for new modders like me to follow a tutorial series for two months and then realize no one can really help you with such an old version of forge. Then you make a copy of your code and you try to update it to a newer version, like 1.8. Then you end up with a bunch of errors related to rendering that you have no idea how to fix. You look them up and there is absolutely no information about your problem. This topic is to prevent those situations. Anyone that has knowledge about updating a mod to 1.8, please post it below. I have currently been working on a 1.7.10 mod but I realized that it was a pretty old version. I have been trying to update my mod to 1.8, but I am having a lot (I mean, a LOT) of trouble! For example, all of my items and blocks gave errors in the console saying that the model file was not found (something like "The model file for thesuncat_momod:blue_berry#inventory was not found). I made a bunch of models and replaced a bunch of names and ended up reducing the errors to one("The model file for thesuncat_momod:bony_diamond_block#inventory was not found."). Also none of my sounds play, my mobs (I only have one) crash the game, and opening the Creative inventory and pressing the right-facing arrow to cycle to my mod's tabs crashes. Any help? I can post my code, if needed.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.