Hero Capes
Best customizable physics cape mod (Epic Fight & Fresh Animations support)
介绍
Adds very cool 2D customizable capes, that’s it.
If you are developer and want to add custom capes to your mod:
You can use CurseMaven to add Hero Capes to your project as a dependency.
You don’t need to touch anything client-side. You just need to cast the player to HeroCapesTracker and set your custom ResourceLocation. Make sure to set it back to null when you don’t use it.
@SubscribeEvent
public static void onServerTick(TickEvent.ServerTickEvent event) {
if (event.phase == TickEvent.Phase.END) {
if (ServerLifecycleHooks.getCurrentServer() != null) {
for (ServerPlayer player : ServerLifecycleHooks.getCurrentServer().getPlayerList().getPlayers()) {
HeroCapesTracker tracker = (HeroCapesTracker) player;
if (player.getItemBySlot(EquipmentSlot.CHEST).is(Items.IRON_CHESTPLATE)) {
//tracker.herocapes$setCapeEnabled(true);
tracker.herocapes$setCustomCapeTexture(new ResourceLocation(HeroCapes.MODID,
"textures/cape/iron_chestplate_cape.png"));
// Prevent the player from using cape commands, don't use herocapes$setCapeTexture!!!
tracker.herocapes$setCapeHeight(25);
tracker.herocapes$setGravity(-0.025f);
//...
}
else {
tracker.herocapes$setCustomCapeTexture(null); // Allow the player to use cape commands or don't...
tracker.herocapes$setCapeHeight(21);
tracker.herocapes$setGravity(-0.035f);
//...
}
}
}
}
}
This mod works perfectly as a client-side only mod! However if you install it on a server you and your friends will be able to see each other’s capes.
You can easily use your own cape textures. Just drop your custom .png files into the .minecraft/herocapes folder. You can then apply them in-game using the /herocapes texture [filename] command.

Mods that use vanilla model and renderer classes have built-in support.

Epic Fight and its addons are supported!




Fresh Moves, Fresh Animations and other EMF resource packs are supported.

| Command | Argument Type | Value Range | Description |
|---|---|---|---|
/herocapes enabled [value] |
Boolean | true or false |
Enables or disables the cape. DV = true |
/herocapes texture [name] |
String | Text | Sets the texture file name of the cape. DV = “default” |
/herocapes width [value] |
Integer | 1 to 100 |
Sets the width of the cape. DV = 14 |
/herocapes height [value] |
Integer | 1 to 100 |
Sets the height of the cape (Resets physics when changed). DV = 17 |
/herocapes nodecount [value] |
Integer | 2 to 50 |
Sets the number of physics nodes in the cape (Resets physics when changed). DV = 8 |
/herocapes gravity [value] |
Float | -10.0 to 10.0 |
Sets the gravity force of the cape (Resets physics when changed). DV = -0.035 |
/herocapes damping [value] |
Float | 0.01 to 1.0 |
Sets the elasticity and air resistance of the cape (Resets physics when changed). DV = 0.8 |
/herocapes speedlimit [value] |
Float | 0.01 to 50.0 |
Sets the maximum physics speed limit for the cape (per tick) (Resets physics when changed). DV = 1.0 |
/herocapes collisionthreshold [value] |
Float | -1.0 to 1.0 |
Sets the collision threshold between the player’s body and the cape (Resets physics when changed). DV = -0.25 |
/herocapes windspeed [value] |
Float | 0.0 to 10.0 |
Sets the general blowing speed of the wind (Resets physics when changed). DV = 0.1 |
/herocapes windripple [value] |
Float | 0.0 to 10.0 |
Sets the ripple frequency of the wind effect (Resets physics when changed). DV = 0.3 |
/herocapes windstrength [value] |
Float | 0.0 to 1.0 |
Sets the amplitude of the wind moving the cape (Resets physics when changed). DV = 0.015 |
常见问题
Hero Capes 支持哪些 Minecraft 版本?
Hero Capes 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Hero Capes 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
baranhan123 的其他作品
查看全部 →
Shatter
一个简单的矿脉挖掘附魔,支持自动熔炼和时运。
Viltrumite
变身为 Omni-Man,或《无敌少侠》中的其他维尔特鲁姆人,再也不用担心灵气耗尽。这款模组是我 YouTube 视频系列的更新内容之一;我会在系列中用代码将它实现出来(视频为土耳其语)。
FunItems Mod
一个扩展模组,为游戏加入受《泰拉瑞亚》启发的前期、中期和后期物品,让游戏进程更有层次感。
Health Canisters
增加了一种提升最大生命值的新方式。
评论
登录后评论和评分