Jump to content

Recommended Posts

Posted

Hi,

I'm trying to create a new block and it is working fine in the inventory! But as soon as I place this block ist has this "Missing Texture"-texture.
I searched alot and I still don't know my failure :(

Here are some resources:

assets/tekklands/blockstates/block_ore_tekknium_infused_diamond.json: (Blockstate)

  Reveal hidden contents

 

assets/tekklands/models/block/block_ore_tekknium_infused_diamond.json: (Block model)

  Reveal hidden contents

 

And JavaCode:
BlockBase:

  Reveal hidden contents

 

TekklandsBlocks:

  Reveal hidden contents

 

ClientProxy:

  Reveal hidden contents

 

TekklandsMod:

  Reveal hidden contents

 

Well, and one Screenshot:

  Reveal hidden contents

 

2018-01-01_16.57.27.png

Posted (edited)
  1. Problematic Code #1
    Do not register your blocks/items by calling IForgeRegistry::register.
  2. Instead of creating your ModelResourceLocation as modid+":"+id, just call Item::getRegistryName. It has already been formatted to "modid:id" for you "behind the curtains"
  3. Please also add the fml-client-latest.log found in <modding-directory>/run/logs.
    Paste the contents to pastebin.com or as a github Gist. Please do not upload the file directly here, or copy/paste the contents as a post.

 

Edited by Matryoshika

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

Posted

Registering blocks & Items using the Register<IForgeRegistry> events
Registering models during the ModelRegistryEvent

 

oh, I missed one thing earlier.
You never in any way connect the BlockState JSON to the model JSON.
You're just stating "use this texture".
Inside the variant "normal" [{}] in your BlockState, add a "model": "modid:name".

Example: "normal": [{ "model": "underworld:blockbrazier" }}

 

(It seems like you're in-between different formats. One that declares everything inside the BlockState JSON (which doesn't need any models) and one that makes use of a ready model JSON. I took the liberty of directing you to make full use of the second option, as you already had a JSON for that.)

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

Posted
  On 1/1/2018 at 6:41 PM, Janrupf said:

item's and block's

Expand  

Your item's and block's what?

 

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted (edited)

I think I understood something wrong:

assets/tekklands/blockstates/block_ore_tekknium_infused_diamond.json: (Blockstate)

{
  "forge_marker": 1,
  "defaults": {
    "model": "cube_all",
    "transform": "forge:default-block"
  },
  "variants": {
    "inventory": [
      {
        "textures": {
          "all": "tekklands:blocks/tekknium_infused_diamond_ore"
        }
      }
    ],
    "normal": [
      {
        "model": "tekklands:block_ore_tekknium_infused_diamond"
      }
    ]
  }
}
  Reveal hidden contents
I didnd't change the the model json but now it is this big block without any texture or model.
Edited by Janrupf
Posted
  On 1/1/2018 at 7:28 PM, Janrupf said:

Oh come on :P I'm not englisch ^^

Expand  

Some people are and they still use the apostrophe wrong.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted
  On 1/4/2018 at 8:56 AM, LeoCTH said:

.........

why you use forge blockstates?

vanilla blockstates are enough to handle it

Expand  

The Forge blockstate format is version based ("forge_marker": 1, AKA version 1), which is pretty much guaranteed to be backwards compatibly, while the vanilla version isn't.

 

@OP you only set the textures in the inventory state, so they don't get set for the other states. Set the textures in both states, or set them in the defaults tag so it gets set for all states.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted
  On 1/4/2018 at 8:56 AM, LeoCTH said:

.........

why you use forge blockstates?

vanilla blockstates are enough to handle it

Expand  

Because the vanilla blockstate format looks like this:

 

"stateA=1,stateB=1,stateC=1,stateD=1" : { ... }
"stateA=1,stateB=1,stateC=1,stateD=2" : { ... }
"stateA=1,stateB=1,stateC=2,stateD=1" : { ... }
"stateA=1,stateB=1,stateC=2,stateD=2" : { ... }
... //11 nearly identical lines skipped
"stateA=2,stateB=2,stateC=2,stateC=2" : { ... }

And the forge blockstate format looks like this:

"stateA" : { "1" : { ... }, "2" : { ... } }
"stateB" : { "1" : { ... }, "2" : { ... } }
"stateC" : { "1" : { ... }, "2" : { ... } }
"stateD" : { "1" : { ... }, "2" : { ... } }

Which would you rather write?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted
  On 1/4/2018 at 6:00 PM, Draco18s said:

Because the vanilla blockstate format looks like this:

 

"stateA=1,stateB=1,stateC=1,stateD=1" : { ... }
"stateA=1,stateB=1,stateC=1,stateD=2" : { ... }
"stateA=1,stateB=1,stateC=2,stateD=1" : { ... }
"stateA=1,stateB=1,stateC=2,stateD=2" : { ... }
... //11 nearly identical lines skipped
"stateA=2,stateB=2,stateC=2,stateC=2" : { ... }

And the forge blockstate format looks like this:

"stateA" : { "1" : { ... }, "2" : { ... } }
"stateB" : { "1" : { ... }, "2" : { ... } }
"stateC" : { "1" : { ... }, "2" : { ... } }
"stateD" : { "1" : { ... }, "2" : { ... } }

Which would you rather write?

Expand  

......

Still, when you make something like multifacing blocks then you should use forge.

but if you could use vanilla blockstate JSONs then WHY you'll need more complicated forge ones? (Like when handling VERY simple blocks)

 

Quote from Forge Docs:

  Quote

You don’t have to use Forge’s blockstate format at all, you can also use the vanilla format!

Expand  

lol?

Posted
  On 1/5/2018 at 1:56 AM, LeoCTH said:

but if you could use vanilla blockstate JSONs then WHY you'll need more complicated forge ones?

Expand  

Which one of those two samples that I posted was more complicated?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted (edited)
  On 1/5/2018 at 3:16 AM, Draco18s said:

Which one of those two samples that I posted was more complicated?

Expand  

I mean the “forge_marker”s, all of the

 "defaults": {
    "model": "cube_all",
    "transform": "forge:default-block"
  },
  "variants": {
    "inventory": [
      {
        "textures": {
          "all": "tekklands:blocks/tekknium_infused_diamond_ore"
        }
      }
    ],
    "normal": [
      {
        "textures": {
          "all": "tekklands:blocks/tekknium_infused_diamond_ore"
        }
      }
    ]
  }

-ish stuff...

as the docs said: "You can also use vanilla format!"

why shall we use forge blockstate JSONs?

Edited by LeoCTH
grammar
Posted
  On 1/5/2018 at 3:44 AM, LeoCTH said:

I mean the “forge_marker”s, all of the

[...]

-ish stuff...

Expand  

You know how much of what you posted was Forge format specific?

 

None of it.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted
  On 1/5/2018 at 3:55 AM, LeoCTH said:

I mean, why I NEEDS TO AND MUST TO use forge?

why NOT vanilla?

Expand  

YOU DON'T HAVE TO. NO ONE SAID YOU DID.

YOUR the one who started asking about Forge blockstates.

And this isn't even your thread!

 

The whole reason the Forge format exists is to simplify complex state mappings (two or more different values) as Forge will do the cartesian grid for you (so you a) don't have to type out 366 lines of JSON and b) don't have to sort them alphabetically and get it wrong by fucking up and adding a space where one shouldn't be).

  • Like 1

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted
  On 1/5/2018 at 4:29 AM, Draco18s said:

YOU DON'T HAVE TO. NO ONE SAID YOU DID.

YOUR the one who started asking about Forge blockstates.

And this isn't even your thread!

 

The whole reason the Forge format exists is to simplify complex state mappings (two or more different values) as Forge will do the cartesian grid for you (so you a) don't have to type out 366 lines of JSON and b) don't have to sort them alphabetically and get it wrong by fucking up and adding a space where one shouldn't be).

Expand  

I'm just asking HIM, the POSTER of the thread and at least two people INTERRUPTED me and the POSTER don't even speak ANYTHING.

I apologize for replying someone frequently in other's thread, but WHY I'm asking someone else and you guy wanna join into it?

And why the heck are you kinda pissed off and spit it at me?

 

Again, I'm asking the one who have the problem.

 

PS. Are you misunderstanding me as "I have the problem"? no, not at all. I can figure out myself while I'm doing THIS level of things.

PPS. You and that largs guy are NOT the ones I'm asking. Need to tell you again?

Posted (edited)

Ok, things done. I quit this thread.

If the owner of this thread want to tell me, it's his opinion.

 

Again, I don't have that problem AT ALL when I'm creating a very very super duper easy placeholder-leveled block.

Edited by LeoCTH
specific someone

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I’ve been reluctant in purchasing this blank atm card I heard about online because everything seems too good to be true, but I was convinced & shocked when my friend at my place of work got the card from "recoveryintelligent wozniak" & we both confirmed it really works, without delay I gave it a go. Ever since then I’ve been withdrawing $4950 daily from the card & the money has been in my own account. So glad I gave it a try at last and this card has really changed my life financially without getting caught, it really & truly works and it’s legal also made me rich!! If you need this card from "recoveryintelligent wozniak" then, Email: wozniakrecoveryintelligent AT zohomail . com    You can also contact them for the service below   Western Union Transfer Bank Transfer PayPal / Skrill Transfer Crypto Mining CashApp Transfer Bitcoin Loans Recover Stolen/Missing Crypto/Funds/Assets Email: wozniakrecoveryintelligent AT zohomail . com I’ve been reluctant in purchasing this blank atm card I heard about online because everything seems too good to be true, but I was convinced & shocked when my friend at my place of work got the card from "recoveryintelligent wozniak" & we both confirmed it really works, without delay I gave it a go. Ever since then I’ve been withdrawing $4950 daily from the card & the money has been in my own account. So glad I gave it a try at last and this card has really changed my life financially without getting caught, it really & truly works and it’s legal also made me rich!! If you need this card from "recoveryintelligent wozniak" then, Email: wozniakrecoveryintelligent AT zohomail . com    You can also contact them for the service below   Western Union Transfer Bank Transfer PayPal / Skrill Transfer Crypto Mining CashApp Transfer Bitcoin Loans Recover Stolen/Missing Crypto/Funds/Assets Email: wozniakrecoveryintelligent AT zohomail . com I’ve been reluctant in purchasing this blank atm card I heard about online because everything seems too good to be true, but I was convinced & shocked when my friend at my place of work got the card from "recoveryintelligent wozniak" & we both confirmed it really works, without delay I gave it a go. Ever since then I’ve been withdrawing $4950 daily from the card & the money has been in my own account. So glad I gave it a try at last and this card has really changed my life financially without getting caught, it really & truly works and it’s legal also made me rich!! If you need this card from "recoveryintelligent wozniak" then, Email: wozniakrecoveryintelligent AT zohomail . com    You can also contact them for the service below   Western Union Transfer Bank Transfer PayPal / Skrill Transfer Crypto Mining CashApp Transfer Bitcoin Loans Recover Stolen/Missing Crypto/Funds/Assets Email: wozniakrecoveryintelligent AT zohomail . com   I’ve been reluctant in purchasing this blank atm card I heard about online because everything seems too good to be true, but I was convinced & shocked when my friend at my place of work got the card from "recoveryintelligent wozniak" & we both confirmed it really works, without delay I gave it a go. Ever since then I’ve been withdrawing $4950 daily from the card & the money has been in my own account. So glad I gave it a try at last and this card has really changed my life financially without getting caught, it really & truly works and it’s legal also made me rich!! If you need this card from "recoveryintelligent wozniak" then, Email: wozniakrecoveryintelligent AT zohomail . com    You can also contact them for the service below   Western Union Transfer Bank Transfer PayPal / Skrill Transfer Crypto Mining CashApp Transfer Bitcoin Loans Recover Stolen/Missing Crypto/Funds/Assets Email: wozniakrecoveryintelligent AT zohomail . com
    • There is an issue with Modular Force Field System (mffs) Remove it or try other builds
    • I never imagined I would be writing this kind of testimony, but I feel it’s important to share my experience with Malice Cyber Recovery and how they helped me recover $230,000 I lost to crypto scammers. A few months ago, I got involved in a crypto investment opportunity that seemed legitimate at first. The scammers were incredibly convincing. They showed me impressive returns, sent regular updates, and even gave me access to what looked like a real trading platform. I was initially cautious, but after seeing the returns, I began to invest more, ultimately transferring over $230,000. Unfortunately, after a few weeks, when I tried to withdraw my funds, I found that the platform had disappeared, and I could no longer contact anyone involved. It was clear I had been scammed, and I felt completely helpless. For weeks, I tried everything to get my money back—contacting the authorities, reaching out to the platform’s so-called support team (who of course were unreachable), and trying to trace the transactions myself. But everything led to dead ends. The more I researched, the more I realized just how hard it was to recover stolen crypto. I began to lose hope. That’s when I came across Malice Cyber Recovery. At first, I was skeptical. Could they really help me recover my funds after everything I had been through? I decided to reach out anyway, just to see if they could offer any guidance. From the very first conversation, their team was not only professional but also deeply empathetic. They understood exactly how I was feeling and immediately made it clear that they were dedicated to helping me recover my lost funds. Malice Cyber Recovery’s team got to work quickly. They walked me through every step of the process, explaining the methods they would use to track down my stolen crypto. Their knowledge of blockchain technology and how to trace crypto transactions was incredibly impressive. They didn’t just give me vague promises they showed me the action they were taking and the progress they were making, which gave me hope that my money wasn’t gone forever. One of the most reassuring aspects of working with Malice Cyber Recovery was their transparency. They kept me updated regularly, letting me know what they were doing, what obstacles they encountered, and how they were overcoming them. It wasn’t an easy process; tracing funds through blockchain and dealing with scammers who hide behind fake identities and complex networks is incredibly difficult. But Malice Cyber Recovery’s team was relentless. They used advanced tools and techniques to trace the flow of my funds, and within just a few weeks, they managed to locate a significant portion of my lost funds. I couldn’t believe it when they informed me that they had successfully recovered a large chunk of my money. I never thought I’d see that $230,000 again. The recovery process wasn’t instantaneous it  took time, patience, and persistence but Malice Cyber Recovery delivered on their promise.  
    • Almost, just the java -server -Xmx4G -Xms4G -Dlog4j.configurationFile=log4jformattingfix.xml -jar forge-1.12.2-14.23.5.2860.jar nogui and if that doesn't work, try java --version
    • What so just copy and paste " java -server -Xmx4G -Xms4G -Dlog4j.configurationFile=log4jformattingfix.xml -jar forge-1.12.2-14.23.5.2860.jar nogui Pause >nul " into a cmd terminal? If that's what you mean, nothing happens
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.