HEX Blocks 图标

HEX Blocks

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 3
本资源为搬运资源,原资源地址: https://modrinth.com/mod/hex-blocks
资源信息

Minecraft 版本: 26.3-snapshot-1 26.3-snapshot-2

平台: datapack

标签: utility

资源介绍

this is a copy of the README.txt

Hex Blocks by PALKIP

if you find bugs tell me on reddit, comments or dm

known bugs:

Culling not working properly on some blocks: glass, etc..

Placing and breaking sometimes flashes holes

how to use:

In the quick actions [G] you can configure it
choose an atlas, or a player using the name

For color you can write the minecraft chat codes or an hex code

Example of minecraft colors:

  • red red
  • dark_red dark_red
  • blue blue
  • light_purple light_purple

I have also added bedrock edition and custom colors:

  • brown brown
  • amethyst amethyst
  • pink pink

Example of hex codes:

  • hex red #FF0000
  • hex green #00FF00
  • hex blue #0000FF
  • hex magenta #FF00FF
  • hex aqua marina #87ebc3

white #FFFFFF or white resets the color to the default

Atlases are not too difficult to use

  1. first you select the atlas: blocks, items, etc.
  2. then based on what you selected you write the sprite, these are textures found in the minecraft jar

For example stone is:
atlas: blocks sprite: block/stone

You can likely just keep using it like this, remember to always write block/ before the texture

You will find that tnt does not exist, this is because tnt has 3 textures, tnt_side, tnt_top, tnt_bottom.
Same for many other blocks such as the crafting table, the crafter alone has 14 textures!

You can extract the Minecraft jar using the terminal:

jar xvf minecraft.jar

The file won't be named minecraft.jar, just write minecraft and [TAB] to autocomplete.
You need to open the terminal in a folder containing the minecraft.jar to do this

Useful locations:

  • assets/minecraft/textures
    • the names in here correspond with what you need for atlases
  • assets/minecraft/atlases
    • here you can take a closer look on your options, what comes before the name of the texture

Useful commands:

  • /function hex_blocks:repair
    • fixes culling and sometimes performance
  • /function hex_blocks:hex_block/inventory/clear
    • fills hex blocks inventory with white wool
  • /function hex_blocks:hex_block/item/give
    • give the player a hex block placer item
  • /function hex_blocks:help
    • displays in chat a simple tutorial

how the datapack works:
the placer summons 6 text displays and 1 marker, then culling is applied
the marker contains data about the custom hex block, so culling can be undone
right now hex blocks can only use 1 texture for all faces
if you have advanced questions, dm me

if you want to use this code on a custom map, other datapack, or any other project, message me on reddit

my reddit
https://www.reddit.com/user/PALKIP/

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Fabulously Unified

价格:0 墨喵币
下载量:0

查看详情
Survival Economy Plugin

价格:0 墨喵币
下载量:0

查看详情
Evolved Sculk Apocalypse

价格:0 墨喵币
下载量:0

查看详情
Better than Adventure! Русификатор

价格:0 墨喵币
下载量:0

查看详情