• 0

    posted a message on Minecraft Modding Forge textures
    In the blockstates folder you put a .json file with the name of the block record.
    name_block.json
    {	"variants": {
        "": {
          "model": "Your_modid:block/name_block"
        }
      }
    }
    In the folder "models / block" you put a file with the same name file.json.
    name_block.json
    {
    	"parent": "block/cube_all",
    		"textures": 
    		{
    			"all": "your_modid:blocks/name_block"
    		}
    }
    And finally the texture with the same name File.png in the "textures / blocks" folder.
    name_block.png
    
    Remember in the models folder the folder is singular block and in the textures folder it is plural blocks.

    Posted in: Modification Development
  • 0

    posted a message on How to make two parts of one block render separately? Lighting problem.

    What shader are you using? What type of model is obj or json? uses the Seus-v11.0 shader.

    Posted in: Modification Development
  • 0

    posted a message on How do you find the vanilla armor jsons

    Hello, to make a custom armor you have to do it with Blockbench creating a model as an entity, install the Bedrock Entity Generator plugin, when you activate it, the toolbar above appears in Filter / Bedrock Entity Generator, and you create a Zombie Entity this almost at the bottom of the lists and you leave the generate entity box checked, and make your armor by parts, I leave you a photo of mine, to export it as a .java entity and in the outliner boxes to export it, an icon of a camera appears in each group of Model boxes, if you deactivate it, it is not exported to without you can export it by parts the groups, the helmet, the body with the arms, the legs and the boots.

    Photo

    Posted in: Modification Development
  • 0

    posted a message on Change rain color in forge 1.12.2

    Hello, I already accessed the rain particles but they are not seen, it is as if they were canceled, I leave the code to see if it can be solved, thank you.

    public class ParticlesColorRubyRain {
    
       @SubscribeEvent
       public void onRenderRain(RenderWorldLastEvent event) {
          World world = Minecraft.getMinecraft().world;
          world.provider.setWeatherRenderer (new WeatherRenderHandler());
    
    
       }
    
       public static class WeatherRenderHandler extends IRenderHandler{
    
          @Override
          public void render(float partialTicks, WorldClient world, Minecraft mc) {
    
             mc.getTextureManager ().bindTexture(new ResourceLocation ( Reference.MOD_ID, "textures/sprites/rain.png" ));
             world.provider.updateWeather ();
          }
       }
    
    }
    Posted in: Modification Development
  • 0

    posted a message on Change rain color in forge 1.12.2

    ok thanks, but I saw it only that there are a couple of classes that I miss and I have not published them so I do not think it will work for me, if someone else knows how to access the particle tell me, if you can not then continue understanding it.

    Posted in: Modification Development
  • 0

    posted a message on Problem when setup workspace

    Delete the folders ".gradle", ".idea" and "build", the gradle does not have an important file that if you are in IntelliJ IDEA, you open again and it begins to configure itself and then in the right corner the gradle tab , you go to Tasks / fg_runs / genIntellijRuns and click on genIntellijRuns, close the IntelliJ IDEA and open it and it will be ready.

    Posted in: Modification Development
  • 0

    posted a message on Change rain color in forge 1.12.2

    Hello good, I would like to know how I can access the particles of the rain to change the color, I am making a red biome and I have already changed everything except the rain, does anyone know how?

    Posted in: Modification Development
  • To post a comment, please .