#head indicators

1 messages · Page 1 of 1 (latest)

hybrid grove
#

@crisp cypress

#

ok so i have everything down

#

im on the last part

#

i already got the skin, and got all the colors of the pixels, i just need to somehow display unicode character squares in a grid and then assign each one a color

#

in tellraw i would do this

#

/tellraw @s [{"text":"\uE001"},{"translate":"space.-5"},{"text":"\uE001"}]

#

but i am not sure how to do it with plugins

crisp cypress
#

Okay so

#

You need to display unicode character squares in a grid

#

Are you creating like a custom character in the chat?

#

Or what are you doing with this feature

#

@hybrid grove

hybrid grove
#

yes

hybrid grove
#

And i need to color each one

crisp cypress
#

Okay in plugins you could just send a message like

#

Oh I see

#

Are you asking about the "translate"?

hybrid grove
#

Yes

crisp cypress
#

Where'd you get your negative space from?

hybrid grove
#

There is a resource pack containing language files for them

#

look it up

crisp cypress
#

Are you referring to this?

hybrid grove
#

Yes

crisp cypress
#

Ooh ew It does use languages for that

hybrid grove
#

yeah

crisp cypress
#

I'll tell you a simpler method that won't require you having a large negative space pack in there that you don't need

hybrid grove
#

Ok

crisp cypress
#

Wait

hybrid grove
#

Ok ill check it out

crisp cypress
#

Once you've set that up

#

Instead of "translate"

#

You can use it just like you use the other textures

#

Using a unicode you specify in the "chars" section

#

After that it's very simple, you just put the unicodes through any Java string

hybrid grove
#

Ok

crisp cypress
#

And they'll get converted to the actual unicode character

hybrid grove
#

Can i change the height of them this way too

crisp cypress
#

Ping me or dm if you need any more help

crisp cypress
#

Yeah oh

hybrid grove
#

Alright

crisp cypress
#

If you want a negative space that is for example -5 pixels

#

You can create another provider like this

#

But change the char and change the height

#

-3 = 1 pixel to the left

#

-4 = 2 pixels to the left

#

etc.

crisp cypress
#

You'd need a height of -7

hybrid grove
#

@crisp cypress

crisp cypress
#

You don't need to change how high a negative space is

#

It works either way

hybrid grove
#

no but i need it for the grid

#

because its an 8x8

crisp cypress
#

You only need 4 boxes with different ascents

#

The negative space works either way

hybrid grove
#

wdym

crisp cypress
#

If you're making a grid like this
☑️☑️☑️☑️
☑️☑️☑️☑️
☑️☑️☑️☑️
☑️☑️☑️☑️

#

Then you will only need one texture

#

Of this box

#

And define it four times in default.json

#

And change their ascent

#

OOOh wait

#

I get it

hybrid grove
#

☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️
☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️
☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️
☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️
☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️
☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️
☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️
☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️ ☑️

crisp cypress
#

You're thinking if you can use the negative space vertically

hybrid grove
#

yes

crisp cypress
#

The only way you can use them, unfortunately, is horizontally

#

The only way to move textures vertically, is using ascent

hybrid grove
#

ok

#

how do i use ascent

crisp cypress
#

The higher it is - the higher the texture

hybrid grove
#

same with lower?

crisp cypress
#

Yeah

#

0 is the origin point of the text

hybrid grove
#

i cant pass the height though right

crisp cypress
hybrid grove
#

yeah ik

crisp cypress
hybrid grove
#

yeah but if i am using negative space then you told me to adjust the height right

#

or do i have this all worng

crisp cypress
#

Yeah, adjusting the height of the negative space symbol increases how inverted it is, which in turn increases by how much it can shift your text to the left

#

So if you want to move it by 5 pixels to the left

#

You set the height of the negative space symbol to -7

#

Don't modify the negative space symbols ascent

#

It should be the weird big number

hybrid grove
crisp cypress
#

That means there's an error in the texture / definition

#

But does it work with -3?

hybrid grove
#

no

#

only works with 9

crisp cypress
#

You tested?

hybrid grove
#

yes

crisp cypress
#

Okay so you added the negative space just like in the guide, correct?

hybrid grove
#

my ascent was not that but yeah

crisp cypress
hybrid grove
#

it is that now and it just doesnt show up

crisp cypress
#

Then that means its working

#

If all is setup correctly

hybrid grove
#

its not what i am trying to do though

crisp cypress
#

You must use it like so:
A -> negative space
B -> the texture you want to offset

AAB

crisp cypress
hybrid grove
#

wait

#

OHHH

crisp cypress
#

;D

hybrid grove
#

negative space is supposed to be a seperate texture

#

i thought

crisp cypress
#

Yeah

hybrid grove
#

ohhhhhhhhhhhh

crisp cypress
#

It is in the Ambers pack as well

hybrid grove
#

yeah but that uses lang

crisp cypress
#

Just that they've made tons of use cases

#

and a lot of different offsets

#

But you may not need all of the huge ones like -8096 pixels

#

So you can just yoink that one negative space image for yourself

#

and define your own chars

hybrid grove
#

ok but the negative space now just doesnt do anything

#

like it doesnt push anything back

crisp cypress
#

Can you show how you define it in default.json please?

hybrid grove
#
    "providers": [
        {
            "type": "bitmap",
            "file": "minecraft:custom/fire7.png",
            "ascent": -32768,
            "height": -7,
            "chars": ["\uE000"]
        },
        {
            "type": "bitmap",
            "file": "minecraft:custom/fire.png",
            "ascent": 9,
            "height": 9,
            "chars": ["\uE001"]
        }
      
    ]
}```
crisp cypress
#

You named your negative space fire7.png?

hybrid grove
#

yeah

#

idk why

crisp cypress
#

Are you sure it is the correct texture

hybrid grove
#

yes

#

its not empty though

crisp cypress
#

?

hybrid grove
#

its a copy of the other one

#

i guess im not supposed to do that right

crisp cypress
#

Has to be a specific kind ;D

hybrid grove
#

ah

crisp cypress
#

Try it with that

hybrid grove
#

works now

crisp cypress
#

Great job!

#

Ask if you need any more help

hybrid grove
#

ok but now i need to make a grid

#

i have the line

crisp cypress
#

Is "fire" your grid cube?

hybrid grove
#

ye

crisp cypress
#

Alright

#

Then you'll need to define the same texture four times

#

Because you need it at four different vertical heights

hybrid grove
#

nah i need it at 7

crisp cypress
#

Oh

#

xd

crisp cypress
#

Well then you need 7

#

a lot of work

hybrid grove
#

alright

#

so

crisp cypress
#

Where are you wanting to display that?

hybrid grove
#

scoreboard bossbar text anywhere

crisp cypress
#

Because 7 is a lot

#

Unless they're small

#

Alright well that will be up to you

hybrid grove
#

they are

crisp cypress
#

So what you'll wanna do

hybrid grove
#

i need like a list

crisp cypress
#

Is define it 7 times:

{
            "type": "bitmap",
            "file": "minecraft:custom/fire.png",
            "ascent": 9,
            "height": 9,
            "chars": ["\uE001"]
},
{
            "type": "bitmap",
            "file": "minecraft:custom/fire.png",
            "ascent": 18,
            "height": 9,
            "chars": ["\uE002"]
},
etc...
#

Every time changing the ascent to be higher

#

and the char to be different

#

You'll have to play around with the ascent values

#

To see how high apart you want them to be

hybrid grove
#

same with negative space?

crisp cypress
#

No you just keep the same negative space

hybrid grove
#

alright

crisp cypress
#

Although depending

#

You may want to change how much pixels your negative space offsets

#

Like if its a pixel off

#

You may want to tweak it to for example be -6 pixels yk

#

So how it'll work is

#

(On a smaller example)
A B C D - are all cubes with different ascents

A A A A
B B B B
C C C C
D D D D

#

So basically towers that are on the same line

#

You'll first want to use negative space to create a single tower
A
B
C
D

#

Which you can do by typing them all out one by one and adding the negative space

#

AXBXCXD

#

So that they're always getting pushed back to the same spot of a single character

#

Like this
(character is typed)
->
(negative space pushes it back)
<-

hybrid grove
#

Yeah but dont you want to push it down?

crisp cypress
#

Push what down

hybrid grove
#

The bcd

crisp cypress
#

Because they're different ascents, they're already on different levels

#

all you have to do is just move them on top of eachother with the negative space

hybrid grove
#

right

crisp cypress
#

You best just implement this in the game and see it for yourself

#

You may even actually use chars like A B C D ... while you're developing the pakc

#

And change them later

hybrid grove
#

its causing problems

#

all of them are [] now

#

@crisp cypress

crisp cypress
#

Okay that may be a problem

hybrid grove
#

do i need to make new images for each

crisp cypress
#

Looks like you have aseprite so you're already better off than hundres of ppl that i've helped

#

No not really

#

The problem is most likely in the restriction

hybrid grove
crisp cypress
#

That ascent can only be as high as the texture is

hybrid grove
#

ah

crisp cypress
#

So what you do to overcome that

#

Is uhh sec

#

I'll show with an example

#

MCC Island has their inventory titles like this:

#

Having transparent pixels underneath

hybrid grove
#

how did u

#

wait

#

thats what i am trying to replicate

crisp cypress
#

Oh

hybrid grove
#

how did u get the texture pack for what it is

crisp cypress
#

Do you want the pack?

hybrid grove
#

YES

crisp cypress
crisp cypress
hybrid grove
#

yeah i was trying to make the head indicators from battle box

#

no way

crisp cypress
#

;D

#

If you need, there's also Mineclub & Origin realms

hybrid grove
#

do you know how origin realms does its custom blocks

crisp cypress
#

Yeah it's described a little in my Notion page, there are a few resources attached

#

and github pages with source code to plugins that do custom blocks

hybrid grove
#

is it like the item frame method or is it actually like

crisp cypress
hybrid grove
#

so im gonna assume they used block states

crisp cypress
#

There was one dude

#

Who recorded Origin Realms without the resource packs

#

Half way through the vid

#

You can see its all note blocks & item frames with barriers

hybrid grove
#

wait but then

#

when you use noteblocks

#

does it just skip over that one

crisp cypress
#

Yeah it blocks the interaction

#

One sec

hybrid grove
#

how many blocks can you mmake with this

crisp cypress
hybrid grove
#

wait but arent instruments decided by whats under them

crisp cypress
#

And overridden

#

There are a few downsides, like slight flickering

#

Which ccannot be fixed, but these downsides are small for ppl to notice

hybrid grove
#

well 25 custom blocks is still a lot

#

can you assign custom materials

crisp cypress
#

Ikr

crisp cypress
crisp cypress
#

You can use mushroom blocks

hybrid grove
#

mushroom blocks?

#

like the ones from the trees

crisp cypress
#

Yeah

#

They have tons of states

#

because lots of different directions

hybrid grove
crisp cypress
#

Yeah you can override their sounds

hybrid grove
crisp cypress
#

And break speed

#

And everything

crisp cypress
#

Way more

hybrid grove
#

the stems or the block

crisp cypress
#

Uhh

#

The block

#

So how you can figure out that is

hybrid grove
#

how do they block block updates

crisp cypress
#

For each

#

There can be two values

#

The total combinations are

#

2^6

#

64

hybrid grove
#

dang

crisp cypress
#

Then times three, because there are three different mushroom block types

hybrid grove
#

wiw

hybrid grove
#

woah

crisp cypress
#

Yeah it's pretty straightforward once you figure it out

hybrid grove
#

how would u change the tool used to break it and stuff though

crisp cypress
#

Except for the breaking

crisp cypress
hybrid grove
#

you just opened so many doors for me that i never knew existed

crisp cypress
#

;D

#

That's what I want to do

#

Looks like you're already in the MC commands discord

#

So you kinda knew what those datapackers can do in the #projects channel 😅

hybrid grove
#

I was only in there for shader questions though lol

crisp cypress
#

All that can be more efficiently, and much better recreated with plugins

#

Ahh

#

Well, shaders too are op

#

I haven't learned them yet

#

Too smol brain

hybrid grove
#

Thats why I wanted the mcc island pack

crisp cypress
#

Ohh

#

Yeah I was wondering what they using the shaders for

#

Do you know?

hybrid grove
#

u know when u jump down the pits to join the games

#

or do /hub

#

and there is the fade out

#

I think thats shaders

crisp cypress
#

Oh no

#

The fade out is a large black texture in a title

#

You know how the titles can fade in and out

hybrid grove
#

u can adjust opacity with that stuff

crisp cypress
#

That's how

hybrid grove
#

OH YEAH

#

thats so smart

crisp cypress
#

I think the shaders they use are for the highlight of players, but I may be wrong

hybrid grove
#

do you know how i would find how they did the head things for mcc

crisp cypress
#

Which ones

#

In the player profile?

hybrid grove
hybrid grove
crisp cypress
#

Do you have a screenshot?

hybrid grove
#

yeah

#

ill dm

crisp cypress
#

If some fellow finds this thread while looking for resource pack stuff and didn't find an answer, hit me up to get answers to all yer questions.