• 0

    posted a message on Help with block break particles!

    4x4, wonderful! That partially answers my question. The "grid question" is this:


    Those 4x4 pixels, which are random, right? But here's what I'm getting at: Are there 16 different possibilities for the 4x4s (since 4x4= 16, divided by the total pixel count of the image, 256, equals 16..) , or are there 256 different ones (one possibility for each upper-left pixel of the 4x4 section)?

    Posted in: Resource Pack Help
  • 0

    posted a message on Help with block break particles!

    No, I don't mean to say that these "chunks" are 3-D. When I say chunks, I mean the textured particles themselves. I'm asking whether the particles are truly random, or if there are specific parts of the texture it draws from, possibly within an imaginary "grid". That is, perhaps the texture is divided into quadrants, and each particle is a random choice among each quadrant. Does that make sense?

    Posted in: Resource Pack Help
  • 0

    posted a message on Help with block break particles!

    I have tried to test this myself, and also asked the minecraft subreddit, but to no avail. Here goes:


    As we all know, when you break a block in minecraft, particles are emitted that look like smaller "pieces" of the original texture of said block.


    My question is this: how are these pieces created? Is it random, or are the pieces selected from a grid?


    What I'm trying to do is.. say you break a stone block. I want my particles to instead be custom-drawn chunks of rock. If it IS in fact a grid, I should be able to create an array of rock-like pieces, with each rock taking up a single cell of said grid.


    Is this possible?


    I can provide visuals that explain what I'm trying to do if needed.

    Posted in: Resource Pack Help
  • 0

    posted a message on Moisture Setting on Farmland Blockstate?

    Oh, somehow I missed that. Thanks!!

    Posted in: Resource Pack Help
  • 0

    posted a message on Moisture Setting on Farmland Blockstate?

    So, i just used what you posted. The randomization now works, but the varying amounts of wetness do not. Does the game not actually support this?

    Posted in: Resource Pack Help
  • 0

    posted a message on Moisture Setting on Farmland Blockstate?

    Thank you SO much! I knew all of these things, but forgot to consider them when typing this stuff out! :D

    Also, the weights are there because I copy and pasted from a different file and forgot to remove it, haha. Thanks again!

    Posted in: Resource Pack Help
  • 0

    posted a message on Moisture Setting on Farmland Blockstate?

    I created four textures with different levels of moisture. The idea is that the more moisture the farmland block has, the more "wet" it looks. This seems to be supported by the game, as the default blockstate for the farmland block looks like this:

    {
    "variants": {
    "moisture=0": { "model": "block/farmland" },
    "moisture=1": { "model": "block/farmland" },
    "moisture=2": { "model": "block/farmland" },
    "moisture=3": { "model": "block/farmland" },
    "moisture=4": { "model": "block/farmland" },
    "moisture=5": { "model": "block/farmland" },
    "moisture=6": { "model": "block/farmland" },
    "moisture=7": { "model": "block/farmland_moist" }
    }
    }




    I have correctly created models with the relevant textures, and put them into that blockstate file accordingly, but the "wetness" of the block still changes from 100% dry to 100% wet in-game. I also made three different textures for each of the wetness levels to randomize the texture a little. Neither of these implementations are showing in-game.

    Does anyone here know why this is happening? I have a lot of experience doing this with other blocks, but for some reason it isn't working with this one.


    Here's my blockstate file:


    {
        "variants": {
            "moisture=0": { "model": "block/farmland/1","weight": 6 },
    		"moisture=0": { "model": "block/farmland/2","weight": 6 },
    		"moisture=0": { "model": "block/farmland/3","weight": 6 },
    		"moisture=1": { "model": "block/farmland/1","weight": 6 },
    		"moisture=1": { "model": "block/farmland/2","weight": 6 },
    		"moisture=1": { "model": "block/farmland/3","weight": 6 },
            "moisture=2": { "model": "block/farmland/1-1","weight": 6 },
    		"moisture=2": { "model": "block/farmland/2-1","weight": 6 },
    		"moisture=2": { "model": "block/farmland/3-1","weight": 6 },
    		"moisture=3": { "model": "block/farmland/1-1","weight": 6 },
    		"moisture=3": { "model": "block/farmland/2-1","weight": 6 },
    		"moisture=3": { "model": "block/farmland/3-1","weight": 6 },
            "moisture=4": { "model": "block/farmland/1-2","weight": 6 },
    		"moisture=4": { "model": "block/farmland/2-2","weight": 6 },
    		"moisture=4": { "model": "block/farmland/3-2","weight": 6 },
    		"moisture=5": { "model": "block/farmland/1-2","weight": 6 },
    		"moisture=5": { "model": "block/farmland/2-2","weight": 6 },
    		"moisture=5": { "model": "block/farmland/3-2","weight": 6 },
            "moisture=6": { "model": "block/farmland/1-3","weight": 6 },
    		"moisture=6": { "model": "block/farmland/2-3","weight": 6 },
    		"moisture=6": { "model": "block/farmland/3-3","weight": 6 },
    		"moisture=7": { "model": "block/farmland/1-3","weight": 6 },
    		"moisture=7": { "model": "block/farmland/2-3","weight": 6 },
    		"moisture=7": { "model": "block/farmland/3-3","weight": 6 }
        }
    }


    And here's an example of one of my farmland models:


    {
        "parent": "block/template_farmland",
        "textures": {
            "particle": "block/farmland/1-1",
            "dirt": "block/dirt/1",
            "top": "block/farmland/1-1"
        }
    }
    
    Posted in: Resource Pack Help
  • To post a comment, please .