跳到正文

MoreCobble

作者:XiaoCaoAwA

This mod is designed to support block decimals/per-face and other model particle contents in Cobblemon's rendering system without breaking/modifying/adding to the data pack format, and it comes with a complete API.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Introduction

This mod is designed to support block decimals/per-face and other model particle contents in Cobblemon’s rendering system without breaking/modifying/adding to the data pack format, and it comes with a complete API.

API Interface [Example]

import xiaocaoawa.minecraft.mod.morecobble.api.*;
import net.minecraft.resources.ResourceLocation;

ResourceLocation pikachu = ResourceLocation.parse("cobblemon:pikachu");

// All Pikachu: Full model rainbow glow
ShimmerAPI.setSpeciesEffects(pikachu, ShimmerEffect.of(ShimmerBand.rainbow()));

// A certain Pokémon: tail stacked with two shiny stripes in different directions
ShimmerEffect tail = ShimmerEffect.builder()
        .scope(ShimmerScope.bone("tail"))
        .addBand(ShimmerBand.builder().direction(0,1,0).speed(0.5f).colors(0xFFFF0000,0xFF0000FF).build())
        .addBand(ShimmerBand.builder().direction(1,0,0).speed(-0.3f).colors(0xFF00FF00,0xFFFFFF00).build())
        .scope(ShimmerScope.bone("tail"))
        .addBand(ShimmerBand.builder().direction(0,1,0).speed(0.5f).colors(0xFFFF0000,0xFF0000FF).build())
        .addBand(ShimmerBand.builder().direction(1,0,0).speed(-0.3f).colors(0xFF00FF00,0xFFFFFF00).build())
        .build();
ShimmerAPI.setPokemonEffects(pokemonUuid, tail);

// Glare: Shiny Foil Finish on the Whole Model
SheenAPI.setSpeciesEffects(pikachu, SheenEffect.of(SheenBand.sheen()));

// Particle: Sparks flying from the head
ParticleAPI.setSpeciesEffects(pikachu,
        ParticleEffectSpec.of(ParticleScope.bone("head"),
                ParticleEmitter.of(ResourceLocation.parse("cobblemon:sparkles"), 2f)));​

Model performance

Supports block decimals/per-face and other Bedrock Edition models. No prerequisite mods. Added rendering for Cobblemon rendering, no modifications/additions to datapack format or content. Models can be directly referenced, and actions are supported. [You can use YSM’s source file models, but YSM’s encrypted format is not supported]
model-1
model-2
model-3

Particle effects

You can let any Pokémon use Cobblemon’s particles. The particle system hasn’t changed the data pack format, so you can still customize and add them in the original data pack format.
​model-4
model-5

Colorful/Glare Effects

You can adjust the direction, stripe colors, multiple different colors, and speed of the colorful/glare effects for the whole model or for different parts, blocks, or block groups of the model.
Colorful [The effect of changing colors on the texture. The stripes are locked to the texture pixels and move with the model. The stripe coordinate space is the texture UV space.]
model-7

常见问题

MoreCobble 支持哪些 Minecraft 版本?

MoreCobble 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

MoreCobble 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

XiaoCaoAwA 的其他作品

查看全部 →