Giter Site home page Giter Site logo

Comments (3)

SuperMartijn642 avatar SuperMartijn642 commented on September 28, 2024

You can add the datagenerators just like you would regular datagenerators, for example like with vanilla recipes or block models.

also its not clear where to put the the images for simple layout and aslo the full layout

You just put them in your resources like regular textures 🤔

when i run data gen in intelij non fusion files or additions are added do i need to call the fusion Model Provider somewhere

I have no clue what that sentence means

from fusion.

gamingoninsulin avatar gamingoninsulin commented on September 28, 2024

Oh silly me i was forgetting to add the file to my data generators

And its working now (half) the textures are not connecting i added all the file the data generator made json files for my block 02 to 15 (i made a typo while editing images o forgot 01 and 00 is my default image)

Maybe i chaged thing arround:

I got this

class MyModsModelProvider extends FusionModelProvider {
   ...
   @Override
   protected void generate() {
      var modelData = ConnectingModelDataBuilder.builder()
            .parent(new ResourceLocation("minecraft", "block/cube_all"))
            .texture("all", new ResourceLocation("mymod", "block/oak_tiles"))
            .connection(DefaultConnectionPredicates.isSameBlock())
            .build();
      var modelInstance = ModelInstance.of(DefaultModelTypes.CONNECTING, modelData);
      this.addModel(new ResourceLocation("mymod", "block/oak_tiles"), modelInstance);// <- i duplicated this line a couple of times
   }
}

If i am right .texture "all" is the default texture right or how shoud i read this?

from fusion.

gamingoninsulin avatar gamingoninsulin commented on September 28, 2024

i did found out what i was missing by lokking at other issues and this one helped me you siad to him/her that ther was a texturepack and i found out that i was missing .png.mcmeta file now its working like a charm and i had all the images seperate and needed to be 1 image multiple bombination woops

i checked this issue (it has notting to do wtih this btw) [Question] Fusion ignores Forge's render_type model property
and you said someting about transparant texutres and gave this link this was my solution.
the link thextuepack link he quoted

as for this

when i run data gen in intelij non fusion files or additions are added do i need to call the fusion Model Provider somewhere

i was trying to explain that at that time no files where generated for fusion (example the models) and did found out later to call it in my DataGeneratior class with (packedOutput) non the less its woking 100%

btw thank you for your time
kind regard GamingOnInsulin (aka Jordy)

from fusion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.