Render Types - Mrkwtkr/ModPE-Docs GitHub Wiki

此篇包含了所有可用的渲染类型ID,以及它们实际的外观

实体渲染类型

用于 Entity.setRenderType

EntityRenderType.arrow;
EntityRenderType.bat;
EntityRenderType.blaze;
EntityRenderType.boat;
EntityRenderType.camera;
EntityRenderType.chicken;
EntityRenderType.cow;
EntityRenderType.creeper;
EntityRenderType.egg;
EntityRenderType.enderman;
EntityRenderType.expPotion;
EntityRenderType.experienceOrb;
EntityRenderType.fallingTile;
EntityRenderType.fireball;
EntityRenderType.fishHook;
EntityRenderType.ghast;
EntityRenderType.human;
EntityRenderType.ironGolem;
EntityRenderType.item;
EntityRenderType.lavaSlime;
EntityRenderType.lightningBolt;
EntityRenderType.map;
EntityRenderType.minecart;
EntityRenderType.mushroomCow;
EntityRenderType.ocelot;
EntityRenderType.painting;
EntityRenderType.pig;
EntityRenderType.player;
EntityRenderType.rabbit;
EntityRenderType.sheep;
EntityRenderType.silverfish;
EntityRenderType.skeleton;
EntityRenderType.slime;
EntityRenderType.smallFireball;
EntityRenderType.snowGolem;
EntityRenderType.snowball;
EntityRenderType.spider;
EntityRenderType.squid;
EntityRenderType.thrownPotion;
EntityRenderType.tnt;
EntityRenderType.unknownItem;
EntityRenderType.villager;
EntityRenderType.villagerZombie;
EntityRenderType.witch;
EntityRenderType.wolf;
EntityRenderType.zombie;
EntityRenderType.zombiePigman;

实体类型

EntityType.ARROW;
EntityType.BAT;
EntityType.BLAZE;
EntityType.BOAT;
EntityType.CAVE_SPIDER;
EntityType.CHICKEN;
EntityType.COW;
EntityType.CREEPER;
EntityType.EGG;
EntityType.ENDERMAN;
EntityType.EXPERIENCE_ORB;
EntityType.EXPERIENCE_POTION;
EntityType.FALLING_BLOCK;
EntityType.FIREBALL;
EntityType.FISHING_HOOK;
EntityType.GHAST;
EntityType.IRON_GOLEM;
EntityType.ITEM;
EntityType.LAVA_SLIME;
EntityType.LIGHTNING_BOLT;
EntityType.MINECART;
EntityType.MUSHROOM_COW;
EntityType.OCELOT;
EntityType.PAINTING;
EntityType.PIG;
EntityType.PIG_ZOMBIE;
EntityType.PLAYER;
EntityType.PRIMED_TNT;
EntityType.RABBIT;
EntityType.SHEEP;
EntityType.SILVERFISH;
EntityType.SKELETON;
EntityType.SLIME;
EntityType.SMALL_FIREBALL;
EntityType.SNOWBALL;
EntityType.SNOW_GOLEM;
EntityType.SPIDER;
EntityType.SQUID;
EntityType.THROWN_POTION;
EntityType.VILLAGER;
EntityType.WOLF;
EntityType.ZOMBIE;
EntityType.ZOMBIE_VILLAGER;

方块渲染类型

用于 Block.defineBlock

渲染类型 原始方块
0 标准(Standard)
1 花(Flower)
2 火把(Torch)
3 火(Fire)
4 流体(Fluid)
6 作物(Crops)
7 门(Door)
8 梯子(Ladder)
10 楼梯(Stairs)
11 栅栏(Fence)
13 仙人掌(Cactus)
14 床(Bed)
18 板(Pane)
19 茎(Stem)
21 栅栏门(Fence gate)