方块2018w 发表于 2020-12-21 03:10:50

Square材质模板使用教程&下载资源

本帖最后由 方块2018w 于 2020-12-21 03:36 编辑

Square材质模板使用教程开源&简介
       Square材质模板生成器是一个Java 版Minecraft 资源包制作模板。改帖包含Minecraft原版资源包、OptiFine 资源包的技术细节,并给出生成模板,适当扩充相关知识。


       在开始学习Square材质模板生成器之前,你需要获取一个Square材质模板生成器。本帖提供两种获取方式。


1.加入楼主的Q群:460550548,在群文件内获取。(楼主的小破群需要你们来捧场a~)
2.在线使用github下载,或者你不想麻烦,可以直接点我下载。


安装&教程
安装模板教程可以参考我小破站(B站)的视频。BV1jX4y1u7wn
      现在你可能需要了解文字食用(使用)教程;安装部分


中文(简体)
       Square材质模板生成器开始1运行时按你选择的数字会打开一个窗口,然后会接着弹出几个窗口,这时请关闭其他窗口,保留第一个窗口开始生成即可。
生成完成后文件会保存在这个文件夹内。(如图)
https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/a161beb603f75be297030b9d1c24aa41_w993_h519_s12.jpg

https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/f7a362657fe9a33393c31b09b506c353_w993_h519_s13.jpg

完成之后,你将会得到一个或者多个安装窗口
https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/669c971e06a73e7cce25db496d34d981_w527_h365_s31.jpg

由于cmd的原因,改BUG目前无法修复,如有大佬研究出解决方案欢迎回复+@
https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/c15b8fdde4bdc6efbe9c6fe5221edce7_w231_h40_s7.jpg

      如果你无法确认那个是第一个打开的窗口,你可以尝试在窗口输入“6”,之后在“pack.mcmeta”(可以使用自带记事本打开,Windows用户可以使用 记事本 打开,Mac用户可以使用 文本编辑 打开。或你拥有其他编辑软件也可以使用你的编辑软件打开,但需要确认使用Java编码,如果你不能确定的话,可以使用默认的 UTF-8-BOM)文件里面的;

{
"pack": {
    "pack_format": 6,
    "description": "Pack for Minecraft By Sqvolo Team"}
}其中"pack_format"代表MC材质包版本;
这里代表你材质包的版本,
*Java版1.6.1至Java版1.8.9为1
*Java版1.9至Java版1.10.2为2
*Java版1.11至Java版1.12为3
*Java版1.13至Java版1.14.4为4
*Java版1.15至Java版1.16.1为5
*Java版1.16.2及更高为6
如果你想要以上都通用请写“1”

{
"pack": {
    "pack_format": 1,
    "description": "Pack for Minecraft By Sqvolo Team"}
}其中"description"表示材质包的简介,你可以自由编辑,但不能超过36个字符,那样显示的时候会被打上“... ...”。

{
"pack": {
    "pack_format": 1,
    "description": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
}这里“x”代表字符,而“x”的个数(36个)代表简介长度的(展开)显示极限。


更新时间
Updated: 20日十二月 2020 23:58
Updated: 20dayDecember 2020 23:58
现在你已经配置好了你需要的对应版本的模板,你可以继续下一步了。

开源&修改开源部分


本软件生成的文件仅供参考研究,请勿用于商业用途!
安装后你将得到以下文件
https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/bacbc2ffa3fdb29799b2dd38bd4f393a_w935_h485_s39.jpg
点击“Square材质模板生成.cmd”运行程序
https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/acafac458ed299d61bf67acf48ad6a58_w527_h365_s31.jpg
完成后得到“Square材质模板”文件夹
https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/3a99bc844eae03fd8cdb927c96cb0b29_w935_h485_s42.jpg
双击打开此文件夹
https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/3f0c93512645fe7efcb6241f4ca43bf9_w935_h485_s55.jpg
我相信图片应该比文字好理解吧... ...
https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/84406b39544b91eb2d4494ee2aef89c6_w935_h485_s24.jpg
下面我们打开“minecraft”的命名空间
https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/86f0e1d42aebf9ca06bd8f4ae8e36b10_w935_h485_s43.jpg
接着打开“textures”文件夹
https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/fd4259809940a5477bfc0b667b2992d6_w935_h485_s56.jpg
修改部分
根据个人喜好可自定义!
现在你基本了解了材质包的文件夹含义,已经完成50%现在,我们要修改的任意贴图只有放在对应的文件夹里面,这应该很简单吧。不放心我还是做一下示范。
这里对于整个材质来说还算比较重要的吧,我就不隐藏了。
现在我们看到这几张工具贴图贴图&动画我们在itme命名空间里面新建贴图https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/53eda0ec923b907593fa8719c0a1f92b_w1366_h736_s48.jpg

然后我们来了解一下这里的文件吧!https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/ea06c62d80bbfbad131b8ccae686025e_w1366_h736_s130.jpg{
"animation": {
    "interpolate": true,
    "frametime": 10
}
}


再复杂一点?
https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/4390aa9d948dbc48bf769cce29a68f25_w1366_h728_s161.jpghttps://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/9bae570c3de7f2669d7c0b92a946acfe_w955_h599_s87.jpg
现在你了解动画文件了吗?{
"animation":{
"interpolate": true,
"frames":
[{"index":0,"time":200},{"index":1,"time":200},{"index":2,"time":200},{"index":3,"time":200},
{"index":4,"time":200},{"index":5,"time":200},{"index":6,"time":200},{"index":7,"time":200},
{"index":8,"time":200},{"index":9,"time":200},{"index":10,"time":200},{"index":11,"time":200},
{"index":12,"time":200},{"index":13,"time":200},{"index":14,"time":200},{"index":15,"time":200},
{"index":16,"time":200},{"index":17,"time":200},{"index":18,"time":200},{"index":19,"time":200},
{"index":20,"time":200},{"index":21,"time":200},{"index":22,"time":200},{"index":23,"time":200},
{"index":24,"time":200},{"index":25,"time":200},{"index":26,"time":200},{"index":27,"time":100},
{"index":28,"time":100}, {"index":29,"time":1200}]
}
}

这里要特别注意动画文件后缀(“.png.mcmeta”*)https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/702190b632317e9a867b3d49a9fbfe2f_w935_h485_s64.jpg
无论多少动画文件,只要你电脑性能够,想加多少加多少;但是要注意适量,不一定动画多的材质就是好材质。学会了这个同理,block命名空间下的方块贴图同样适用。顺便给大家参考一下我的设计,正好运用一下各个学习的知识这个设计原本是我一个名为“透明之梦-TMZM”项目的,但是今天写学习贴就给大家参考设计吧。https://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/adb1afabdf0fbffd10cf36068e2ca1f5_w512_h1164_s73.jpghttps://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/3e834f6c87854bdbfa788926165d7a1e_w512_h1169_s61.jpghttps://pic1.afdiancdn.com/user/4714733cd64b11eabbd952540025c377/common/e8d54a3ab22a632a7c12296ae71f4b30_w512_h893_s45.jpgGUI的设计也可以参考的这款简洁风格的设计,后期你吗会慢慢发现,其实材质包重要在于灵感。由于学业繁忙,未完待续(保证1个月内继续更新教程)!欢迎加Q:9997200 Q群:460550548材质问题交流解答,有用的资源群(楼主的小破群需要你们来捧场a~)(啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊)“这个格式我快要被整疯了!”(小声BB)给个金粒 人气吧 +1 (厚脸无耻)==============================================================留言墙==============================================================金粒 +1                                 人气+1人气+1                                           金粒 +1                                                                                       金粒 +1                              人气+1                                                         金粒 +1                                                                        金粒 +1                                                             金粒 +1                                                                      人气+1金粒 +1                                 人气+1人气+1                                           金粒 +1                                                                                       金粒 +1                              人气+1                                                         金粒 +1                                                                        金粒 +1                                                             金粒 +1                                                                      人气+1金粒 +1                                 人气+1人气+1                                           金粒 +1                                                                                       金粒 +1                              人气+1                                                         金粒 +1                                                                        金粒 +1                                                             金粒 +1                                                                      人气+1金粒 +1                                 人气+1人气+1                                           金粒 +1                                                                                       金粒 +1                              人气+1                                                         金粒 +1                                                                        金粒 +1                                                             金粒 +1                                                                      人气+1=============================================================程序cmd源代码,仅供修复上述BUG研究,以下代码,保证对计算机无害!@echo off
title Square 材质模板生成器v1.0
echo Input1 you work_mode select......
echo 选择对应的版本开始生成--Square2018w
echo ---------------------------
echo 1: 1.6.1-1.8.9
echo 2: 1.9-1.10.2
echo 3: 1.11-1.12.2
echo 4: 1.13-1.14.4
echo 5: 1.15-1.16.1
echo 6: 1.16.2-16+
echo ---------------------------
echo 回复序号开始生成对应的版本材质模板[完成后按Enter](1-6)

set /p work_mode=
echo Your work_mode is %work_mode%.
::set work_mode=
pause

if "%work_mode%" == "0" goto do_err
if "%work_mode%" == "1" goto do_work1
if "%work_mode%" == "2" goto do_work2
if "%work_mode%" == "3" goto do_work3
if "%work_mode%" == "4" goto do_work4
if "%work_mode%" == "5" goto do_work5
if "%work_mode%" == "6" goto do_work6
rem    if !r! equ 1 (set /p "=   T") else (set /p "=   F")
:do_work1

start pack\1-6-4_1-8-9.EXE
:do_work2

start pack\1-9_1-10-2.EXE
:do_work3

start pack\1-11_1-12-2.EXE
:do_work4

start pack\1-13_1-14-4.EXE
:do_work5

start pack\1-15_1-16-1.EXE
:do_work6

start pack\1-16-2_1-16-n.EXE
:do_err

echo do_err
:exit

echo 结束
::pause
本模板由Square2018w无偿提供编辑,切勿用于违反MoJang最终用户协议的资源制作。禁止添加EXE在本模板内用于盗取正版MC账户,如有发现永久封禁你的设备ID和IP(包括24h刷新的IP会根据设备ID每天刷新封禁)。
禁止任何形式的二次盗用、打包、封装,如有发现永久封禁你的设备ID和IP。Updated: 25 September 2017 09:03



Minecraft end user license agreement

To protect minecraft (our "game") and members of our community, we need these end-user license terms to set some rules for the download and use of our games. This license is a legal agreement between you and us (mojang AB), describing the terms and conditions of using the game. We do not like to read lengthy license documents as much as you do, so we try to keep the length of this Agreement as short as possible. If you violate these rules, we may stop you from using our game. We even ask our lawyers for help if we think it's necessary.



By purchasing, downloading, using or playing our games, you agree to comply with the terms of these end user license agreements (the "EULA"). If you are unwilling or unable to agree to these rules, you may not purchase, download, use or play our games. This EULA contains mojang.com The terms of use of the website (the "account terms"), our guide to the use of our brands and assets, and our privacy policy. By accepting this EULA, you also accept all the terms of the above document, so please read this EULA carefully.



An important rule

An important rule is that you are not allowed to distribute any content we create unless we explicitly agree. "Distribution of any content we create" means:



Provide a copy of our game to anyone else;

Use any content we create for commercial purposes;

Trying to make money from anything we create; or

Allow others to access any content we create in an unfair or unreasonable way;

Unless we explicitly agree to do so. Therefore, we clearly stipulate that "game" or "what we create" includes, but is not limited to, the client or server software of our game, as well as minecraft and minecraft: Java Edition on all platforms. It also includes updates, patches, downloadable content, add ins or modified versions of the game, part of which; or any other content we provide.



In addition, we are very relaxed about what you do. In fact, we encourage you to do some cool things, just don't do those things that we can't do.



Use our games

You are licensed for the game, so you can use it on your own device.



Now we'll give you limited rights to do other things, but we have to draw boundaries in case people cross them. We are honored if you want to create content related to any content we have created, but please ensure that it is not interpreted as official content and complies with this EULA and the guidelines for the use of brands and assets, and most importantly, do not use any content we create for commercial purposes.



If you violate any of the terms of this EULA, we may revoke your license and permission to use our game.



When you purchase our game, you will receive a license that grants you the right to install the game on your personal device and use the game on that device in accordance with the provisions of this EULA. This permission only applies to you, so you cannot distribute the game (or any part of it) to anyone else. It also means that you cannot sell or rent the game, or make it accessible to others, and you cannot transfer or resell any license key. But you can give away gift cards purchased through our official gift card system. It is very important that you help us prevent piracy and fraud and protect our games. We must also prevent members of our community from buying pirated versions of our games or fraudulent license keys, which we can cancel.



If you buy our game, you can try it out or modify it by changing, adding tools or plug-ins (we call it "mod"). The so-called "mod" refers to the original work of you or others, which does not contain the substantial part of our copyrighted code or content. When you combine your mod with minecraft software, we call this combination the "mod version" of the game. We have the final decision on what constitutes a mod and what does not constitute a mod. You are not allowed to distribute any mod versions of our games or software, and we would appreciate it if you did not use mod to annoy or harass other players. Basically, mod can be distributed; cracked versions of mod based versions of game client or server software cannot be distributed.



You can use screenshots and videos of the game to do whatever you want for a good reason. "As long as there is a good reason" means that you cannot use it for any commercial purpose or do anything that is unfair or adversely affect our rights, unless we explicitly allow you to do so in this EULA, in the guidelines for the use of brands and assets, or in specific agreements with you. However, if you upload game videos to video sharing and streaming sites, you can place ads in them. In addition, don't just peel off the illustration resources and pass them around. It's boring.



All in all, the simple rule is not to use anything we create for commercial purposes unless we explicitly agree. Of course, if it is explicitly permitted by law, such as under the "fair use" or "fair trade" principles, you can do the same, but only to the extent permitted by applicable law.



To ensure the integrity of the game,We need all game downloads and updates to come from one franchise: US. We also need to make sure that third-party tools / services don't look "official" because we can't guarantee their quality. This is part of our responsibility to minecraft customers. Also, be sure to read our brand and asset usage guide.



Ownership of our games and other content

Although we grant you permission to install and play our game on your device, we are still the owner of the game. We are also the owners of our brand and anything contained in the game. Therefore, when you purchase our game, you are actually purchasing a license to play / use our game under this EULA, not the game itself. The only rights you have in connection with the game and its installation are those specified in this EULA.



Any mods you create for the game from scratch are owned by you (including pre run MODS and in memory MODS) and you can do whatever you want on them as long as you don't sell them to make money / try to make money from them and don't distribute mod versions of the game. Remember, mod is your original work and does not contain the essential parts of our code or content. You own only the content you create, not our code or content.



content

If you publish any content in or through our games, you agree to grant us the right to use, copy, modify, adjust, distribute and publicly display the content. This permission is not revocable, and you also agree that we allow others to use, copy, modify, adjust, distribute, and publicly display your content. You are not relinquishing ownership of your content, you are simply granting us and other users permission to use the content. For example, we may need to copy, reformat, and distribute content that you post on our website so that others can read it. If you do not want to grant us these rights, please do not publish anything in our games or through our games. Think carefully before publishing any content, as it will be made public and may even be used by others in a way you don't like.



If you intend to publish content in or through our games, the content must not be offensive or illegal, must be authentic, and must be your own work. Some examples of the types of content that you are not allowed to post using our games include: posts that contain racist or homophobic comments; posts that are bullying or seductive; posts that are offensive or damage the reputation of us or others; posts that contain pornography or other people's works or pictures; or posts that impersonate moderators or attempt to deceive or exploit others.



Any content you publish in our game must also be your own work, or you must have the right or authority to do so. You may not, and you agree not to use our game to publish any content that infringes upon the rights of others. '



We reserve the right to remove anything at our own discretion.



If you talk to people in our games, be careful. It's hard for you or us to be sure what people say is true, or even whether people actually match their claimed identities. Always think twice before disclosing information about yourself.



to update

We can release upgrades, updates, or patches from time to time (we collectively refer to them as "updates"), but we don't have to. We also have no obligation to provide continuous support or maintenance for any game. Of course, we want to continue to release new updates for our games, we just can't guarantee that we will. The changes that come with the update may not work well with other software, such as mod. We regret this, but we will not be held responsible for it. If you encounter this situation, try running an older version.



Liability and governing law

The terms of this EULA do not affect any legal (legal) rights you may have with respect to the game under law. You may have certain rights that cannot be exempted by the law applicable to you. Nothing in these terms will affect those legal rights, even if they may conflict with your legal rights. That's what we mean when we say "according to the applicable law.".



According to applicable law, when you obtain a copy of our game, we provide it as is. Updates are also available as is. This means that we make no commitment to you about the standard or quality of our games, nor that our games will be uninterrupted or error free. We are not responsible for any loss or damage that may be caused by the game. You are fully responsible for the quality and performance of the game. You have to accept that we may release games before the game is finished, so they may (and often will) contain bugs, but we prefer to release these features ahead of time rather than waiting for it to be perfect. If you want to inform us of a potential bug, we have a dedicated website here.



The interpretation of this EULA and claims for breach of this Agreement shall be governed by the laws of the state of Washington, USA, and shall not be limited by the principles of conflict of laws. All other claims and disputes (including those related to consumer protection law, unfair competition law and infringement, as well as disputes related to our games or websites) shall be subject to theLegal jurisdiction is not limited by the principle of conflict of law.



termination

If you violate any of the terms, we have the right to terminate this EULA. You can also terminate it at any time; to do so, you just need to uninstall the game from the device and the EULA will terminate itself. If the EULA is terminated, you will no longer enjoy any of the game rights granted in this license. However, you still have the right to create your own content while playing the game. Even after the termination of the EULA, the paragraphs on "ownership of our games", "our responsibilities" and "general terms" will continue to apply.



General terms and conditions

Your local laws may give you rights that cannot be changed by this EULA; if so, this EULA will apply to the extent permitted by law. Nothing in this license limits our liability for death or personal injury resulting from our negligence or fraudulent misrepresentation.



We may change this EULA from time to time if there are appropriate reasons, such as changing our games, practices or legal obligations. But these changes only take effect to the extent permitted by law. For example, if you play a game only in single player mode and don't use the updates we provide, the old EULA will apply; but if you use updates or some parts of the game you use rely on our continuous online services, then the new EULA will apply. In the latter case, we will notify you before the change takes effect by posting the notice on our website or by other reasonable means. Although we will try to be fair in this respect, sometimes the law will change, or someone will do something that will affect other users of the game, so we need to prohibit this kind of behavior.



If you make a suggestion to us about any of our websites or games, it is free of charge and we have no obligation to accept or consider it. This means that we can use or not use your advice in any way we need, without having to pay you. If you think we should pay for your proposal, please do not submit your proposal unless you tell us in advance that you want to be paid and we have responded in writing asking you to submit the proposal.



Mojang Studios C 2020Terms and ConditionsPrivacy Policy



方块2018w 发表于 2020-12-21 03:28:13

沙发
持续更新ing

MC_CZZ 发表于 2021-1-3 01:17:43

感谢分享[:Yaranaika:]

方块2018w 发表于 2021-1-3 02:34:56

MC_CZZ 发表于 2021-1-3 01:17
感谢分享

感谢回复            你是第一个回复我的人

18863081395 发表于 2021-1-11 01:03:48

感谢分享 学习学习
页: [1]
查看完整版本: Square材质模板使用教程&下载资源