Jump to content

Umpaz

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by Umpaz

  1. In a project I'm working on I'm trying to replace some data and assets from another mod. The data (recipe) replacement worked just fine but the assets seem to not take effect. I know replacing stuff from other mods is frowned upon but this is a small private project so don't worry about compatibility.

  2. I'm trying to add Rose Quartz to the game. When I do the pillar the block shows up in game but with no textures.

     

    This is what I have in BlockInit

    @SubscribeEvent
        public static void registerBlocks(final RegistryEvent.Register<Block> event)
        {
            event.getRegistry().register(new Block(Properties.from(Blocks.QUARTZ_PILLAR)).setRegistryName("rose_quartz_pillar_block"));
        }

     

    My Blockstate

    {
        "variants": {
            "axis=y": { "model": "block/rose_quartz_pillar_block" },
            "axis=z": { "model": "block/rose_quartz_pillar_block", "x": 90 },
            "axis=x": { "model": "block/rose_quartz_pillar_block", "x": 90, "y": 90 },
        }
    }

    And my model

    {
        "parent": "block/cube_column",
        "textures": {
            "end": "block/rose_quartz_pillar_top",
            "side": "block/rose_quartz_pillar"
        }
    }
     

    Any idea what I'm doing wrong?

  3. I'm trying to learn more about coding and to get some bases down I downloaded some mods from curseforge. When I try to load them into eclipse and view anything but assets it gives me the error source not found. Is there some kind of decompile I have to do to view the code?

  4. Anything wrong with this code?

     

    {
        "type": "miencraft:crafting_shaped",

        "pattern":
        [
            "AAA",
            "AAA",
            "AAA"
        ],
        
        "key":
        {
            "A": { "item": "betterbasicsgemstones:amethyst"}
        },    
        
        "result": { "item": "betterbasicsgemstones:amethyst_block"}
    }

×
×
  • Create New...

Important Information

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