
project-1032813
Архивирован0.0
Установок
Последнее обновление
Q : What is this?
A : this is a library mod for protect your own assets via encryption
Q : Is this really useful?
A : tbh, i'm not sure. this is mostly for protect from illegal bedrock port, which is very common case of stealing assets
Q : Is this compatible with resourcepack?
A : yes
Q : How to use it?
A : create folder named "aes" in your minecraft folder (run folder in development environment)
put files that you want to encrypt.
use below code with FMLClientSetupEvent to encrypt files (make sure remove code when publishing mod)
try
{
AESUtil.encryptFiles(".png");
}
catch (Exception e)
{
e.printStackTrace();
}
now remove .dat from file name
then everything should be done, you don't need to do additional stuff
for sounds : AESUtil.encryptFiles(".ogg");
Q : Which file format is supported?
A : almost every files, even geckolib geo file, also you can encrypt textures in resourcepack too
Credits :
logo by gytator
Future Plans :
more fancy way to encrypt files