WikiRenderer
WikiRenderer 是 Isometric Renders 的深度修改版本,允许你渲染游戏对象,如世界的一部分、方块、物品和实体。
这些渲染会自动设置为透明背景,并且你可以直接在游戏的菜单中调整缩放、位置和其他许多选项。
这个版本的模组不仅专为模组维基设计,还包含了一些针对 Hypixel SkyBlock Wiki 的额外功能。
用法
WikiRenderer 支持多种渲染类型:
- 物品
- 实体和实体精灵
- 世界区域及区域顶部小地图
- 方块状态
- 物品工具提示
- 物品图集
- 物品、实体、方块状态或世界区域的动画导出(支持
.gif、.apng、.webp 或 .mp4 格式)
- 批量导出多个实体、物品、工具提示或方块为图片或动画
主要命令是 /wikirender,但也可以使用别名 /wr。
关于模组功能的详细信息见下文,在 Isometric Renders 基础上添加的独家功能将用 ⭐ 星号表情标记。
物品
物品可以通过三种方式渲染:
- 手持物品并输入
/wikirender item
- 在背包中悬停在物品上并按下渲染热键(默认为
h)
- 输入
/wikirender item id <item>,其中 <item> 类似于 minecraft:diamond
- ⭐ 输入
/wikirender item texture <item>,其中 <texture> 是玩家头颅纹理 ID 或基于64位编码的纹理 ID
以下是使用 /wikirender item id minecraft:compass[minecraft:enchantment_glint_override=true] 制作的附魔指南针示例:

⭐ 右侧有一个选项可以加速附魔闪烁速度。通常,在100%的闪烁速度(在 Minecraft 的可访问性设置中看到),完整的闪烁动画需要41.25秒,但这个选项将其加速到15秒,而差异几乎不可察觉。然后,“Use Enchanted Items Timings”按钮将动画计时设置为此持续时间。

⭐ 你还可以使用包含的按钮获取渲染层头颅的纹理数据:


区域
世界中的区域可以通过三种方式渲染:
- 使用热键(默认为
c)选择两个点,然后输入 /wikirender area。
- 输入
/wikirender area pos <start> <end>,其中 <start> 和 <end> 代表坐标。
- ⭐ 输入
/wikirender area island <chunk_size> <distance_limit>,它会在迷你区块(由 <chunk_size> 指定)中向外扫描,不会越过空区块或在达到距离限制后停止。
- 这对于快速渲染附近的任何东西非常有用,或者用于渲染靠近其他岛屿的非正方形岛屿。在后一种情况下,只需降低
<chunk_size> 直到周围的岛屿不在扫描范围内即可。
⭐ 下面是 Hypixel Prototype 大厅的一个例子,使用 /wikirender area island 8 200 渲染,展示了菜单两侧的多种渲染选项:

⭐ 区域渲染是非常可配置的。你可以控制方块和实体的可见性,覆盖某些类型的可见实体数据,修改光照处理方式等。
小地图渲染
⭐ 区域渲染还具有顶视图和侧视图渲染模式,允许你创建具有可调纹理分辨率缩放的小地图图像。还有一种洞穴模式,可以让你创建地下图像。


小地图数据也可以导出供 Hypixel SkyBlock Wiki 的小地图校准工具 使用。
物品框小地图
⭐ 关于小地图的话题,你还可以使用区域渲染和侧面视角来渲染像素完美地图。这些是使用源地图图像的精确颜色数据和亮度进行渲染的。


实体
实体可以通过四种方式渲染:
- ⭐ 输入
/wikirender player 渲染你自己
- 看着一个实体并按下渲染热键(默认为
h)
- 看着一个实体并输入
/wikirender entity
- 输入
/wikirender entity <entity_type> <nbt>,其中 <entity_type> 类似于 minecraft:zombie,而 <nbt> 是可选的,例如 {IsBaby:1b}
⭐ 以下是我自己被渲染的例子,正常模式和可选的精灵模式:


⭐ 实体渲染提供了多种选项,例如使用实时实体(对动态盔甲很有用)、冻结手臂、切换物品或附魔可见性等。
⭐ 与玩家头颅物品渲染类似,你还可以获取已渲染玩家的纹理数据,以及由渲染实体佩戴或手持的玩家头颅的纹理数据。

实体光照
⭐ 实体的光照方式如下:在等轴测视角(45°、135°、225° 和 315°)下,顶部亮度为 100%,左侧亮度为 80%,右侧亮度为 60%。精灵以 100% 的亮度进行渲染。
方块
单个方块及其方块状态可以通过以下三种方式进行渲染:
- 观察一个方块并输入
/wikirender block
- 输入
/wikirender block <block>,其中 <block> 类似于 minecraft:cobblestone
- 输入
/wikirender block <block>[data],如下所示
以下是使用 /wikirender block minecraft:furnace[lit=true]{Items:[{Slot:0b, Count: 1b, id: "minecraft:coal"}]} 渲染熔炉的示例

注意:目前水浸状态的方块无法正确渲染。对于这些方块,请使用单区域渲染。
物品工具提示
物品工具提示可以以与物品渲染类似的方式进行渲染:
- 手持一个物品并输入
/wikirender tooltip
- 将鼠标悬停在背包中的物品上并按下渲染工具提示的热键(默认为
k)
- 输入
/wikirender tooltip <tooltip>,其中 <item> 类似于 minecraft:diamond
⭐ 工具提示使用逐像素分辨率缩放进行渲染,默认每个字体像素对应 4 个图像像素。

批量渲染
有几种方法可以同时批量渲染多个物品、方块或工具提示:
背包
要渲染背包中的所有物品,请按关联的热键(默认为 k),这将打开一个弹窗,允许你渲染物品、方块物品状态、工具提示或图集内的物品:

创造模式标签页
要渲染一个创造模式标签页:
- 输入
/wikirender group item creative_tab <tab> itematlas 将特定标签页渲染为图集纹理
- 输入
/wikirender group item creative_tab <tab> batch (blocks|items|tooltips) 以批量渲染特定标签页的物品、方块或工具提示
以下是使用 /wikirender group item creative_tab minecraft:combat itematlas 将所有战斗类物品渲染为图集的示例:

标记物品
要渲染具有选定标记的物品、方块或工具提示:
- 输入
/wikirender group item tag <#namespace:tag> itematlas 将该标记的物品渲染为图集纹理
- 输入
/wikirender group item tag <#namespace:tag> batch (blocks|items|tooltips) 以批量渲染该标记的物品、方块或工具提示
以下是使用 /wikirender group item tag #minecraft:flowers batch items 批量渲染所有花朵的示例。屏幕左侧显示剩余 30 个物品,它们都可以通过按下开始按钮进行渲染。

命名空间物品
要渲染来自选定命名空间的物品、方块或工具提示:
- 输入
/wikirender group item namespace <namespace> itematlas 将该命名空间的物品渲染为图集纹理
- 输入
/wikirender group item namespace <namespace> batch (blocks|items|tooltips) 以批量渲染该命名空间的物品、方块或工具提示
以下是使用 /wikirender group item namespace minecraft itematlas 渲染所有原版物品的图集示例。

基于实体的批量渲染
⭐ 有几种方法可以同时批量渲染多个实体:
标记实体
⭐ 要渲染具有选定标记的实体:
- 输入
/wikirender group entity tag <#namespace:tag> 以渲染该标记的实体
- 输入
/wikirender group entity tag <#namespace:tag> nbt <nbt> 以向每个实体应用 NBT 数据进行渲染
- 输入
/wikirender group entity tag <#namespace:tag> nbt_filter <filter> <nbt> 以向每个实体应用 NBT 数据进行渲染,但仅渲染通过过滤器检查的那些实体(见下文)
以下是使用 /wikirender group entity tag #minecraft:aquatic 批量渲染所有水生 Minecraft 生物的示例

命名空间实体
⭐ 要渲染具有选定命名空间的实体:
- 输入
/wikirender group entity namespace <namespace> 以渲染该命名空间的实体
- 输入
/wikirender group entity namespace <namespace> nbt <nbt> 以向每个实体应用 NBT 数据进行渲染
- 输入
/wikirender group entity namespace <namespace> nbt_filter <filter> <nbt> 以向每个实体应用 NBT 数据进行渲染,但仅渲染通过过滤器检查的那些实体(见下文)
以下是一个使用 /wikirender group entity namespace minecraft 命令批量渲染所有 Minecraft 生物的例子:

NBT 过滤:
⭐ 当从命名空间或标签渲染实体时,你可以通过过滤已应用的 NBT 来筛选哪些列表中的实体实际被使用。有三种过滤模式可供选择:
require_all_valid:如果提供的所有 NBT 标签都有效,则允许实体渲染
require_one_valid:如果提供的 NBT 标签中至少有一个有效,则允许实体渲染
require_none_valid:如果提供的所有 NBT 标签均无效,则允许实体渲染
更具体地说,“有效”的标签是指实体在尝试保存其 NBT 数据时与该实体一起保存的标签。有些标签会导出给所有实体,无论它们是否影响渲染方式(例如,所有活体实体的 Equipment),而另一些标签仅针对特定类型保存(例如,雪人的 Pumpkin)。
例如,输入 /wikirender group entity namespace minecraft nbt_filter require_one_valid {Age:-1,IsBaby:1b} 将渲染所有幼年生物,并包含一些额外生物,如下所示:

WikiRenderer
WikiRenderer is a heavily modified version of Isometric Renders that allows you to create renders of game objects like parts
of world, blocks, items and entities.
These are automatically keyed to have a transparent background, and you can adjust scale, positioning and many more options right in-game in a menu.
Not only is this version of the mod also designed for modded wikis in mind, but it also has a couple of additional features targeted for use on the Hypixel SkyBlock Wiki.
Usage
WikiRenderer supports a multitude of render types:
- Items
- Entities and Entity Sprites
- Areas of the world, and area overhead minimaps
- Block States
- Item Tooltips
- Item Atlases
- Animated exports of items, entities, blocks states or world areas (in
.gif, .apng, .webp, or .mp4 formats)
- Batch exports of multiple entities, items, tooltips, or blocks as images or animations
The main command is /wikirender, but /wr also exists as an alias.
Details about the mod's features can be seen below, and exclusive features that have been added on top of Isometric Renders will be marked with a ⭐ star emoji.
Items
Items can be rendered in three ways:
- Hold an item and type
/wikirender item
- Hover over an item in your inventory and press the render hotkey (defaults to
h)
- Type
/wikirender item id <item>, where <item> is something like minecraft:diamond
- ⭐ Type
/wikirender item texture <item>, where <texture> is a texture ID or base64 of a texture ID for a player head
Below is an example of an enchanted compass made using /wikirender item id minecraft:compass[minecraft:enchantment_glint_override=true]:

⭐ On the right is an option to speed up enchantment glint speeds. Normally, at 100% glint speed (seen in Minecraft's accessibility settings), a full loop of the glint animation takes 41.25 seconds, but this option speeds it up to 15 seconds, while barely being a noticeable difference. The Use Enchanted Items Timings button then sets the animation timing settings to this duration.

⭐ You can also grab the texture data of rendered layer heads with included buttons:


Areas
Areas in the world can be rendered in three ways:
- Select two points in the world with the hotkey (defaults to
c), and type /wikirender area.
- Type
/wikirender area pos <start> <end>, where <start> and <end> represent coordinates.
- ⭐ Type
/wikirender area island <chunk_size> <distance_limit>, which scans outwards in mini chunks (specified by
<chunk_size>), not continuing past empty chunks or until the distance limit is reached.
- This is useful for rendering everything nearby you quickly, or for rendering a non-square-shaped island close to
other islands. In the latter case, simply lower
<chunk_size> until the surrounding islands are not hit in the
scan.
⭐ Below is an example of the Hypixel Prototype lobby, rendered using /wikirender area island 8 200, featuring a variety of render options on both sides of the menu:

⭐ Area renders are quite configurable. You can control block and entity visibility, override certain types of data on visible entities, modify how lighting is handled, and more.
Minimap Renders
⭐ Area renders also feature topdown and side-view rendering modes, which allow you to create minimap images with adjustable texture resolution scaling. There is also a cave mode that lets you create underground images.


Minimap data can also be exported for use on the Hypixel SkyBlock Wiki's Minimap Calibrator tool.
Item Frame Minimaps
⭐ On the topic of Minimaps, you can also use area rendering and side angle viewing to render pixel-perfect maps. These are rendered using the exact same color data and brightness of the source map images.


Entities
Entities can be rendered in four ways:
- ⭐ Type
/wikirender player to render yourself
- Look at an entity and pressing the render hotkey (defaults to
h)
- Look at an entity and type
/wikirender entity
- Type
/wikirender entity <entity_type> <nbt>, where <entity_type> is something like minecraft:zombie, and <nbt> is optional but something like {IsBaby:1b}
⭐ Below are examples of myself being rendered, both normally and in an optional sprite mode:


⭐ Entity renders have multiple options, such as the ability to use the live entity (useful for animated armor), freeze the arms, toggle item or enchantment visibility, and more.
⭐ Similar to player head item renders, you can also grab the texture data of rendered players, as well as player heads worn or held by rendered entities.

Entity Lighting
⭐ Entities are lit in a way where in isometric viewing angles (45°, 135°, 225°, and 315°), the top is 100% brightness, the left side is 80% brightness, and the right side is 60% brightness. Sprites are rendered at 100% brightness.
Blocks
Individual blocks and block states can be rendered in three ways:
- Look at a block and type
/wikirender block
- Type
/wikirender block <block>, where <block> is something like minecraft:cobblestone
- Type
/wikirender block <block>[data], as seen below
Below is an example of rendering a furnace using /wikirender block minecraft:furnace[lit=true]{Items:[{Slot:0b, Count: 1b, id: "minecraft:coal"}]}

Note: Waterlogged blocks currently do not render properly. For those, use a single-block area render.
Item Tooltips
Item Tooltips can be rendered in similar ways to item renders:
- Hold an item and type
/wikirender tooltip
- Hover over an item in your inventory and press the render tooltip hotkey (defaults to
k)
- Type
/wikirender tooltip <tooltip>, where <item> is something like minecraft:diamond
⭐ Tooltips are rendered using per-pixel resolution scaling, defaulting at 4 image pixels per font pixel.

Batch Rendering
There are several ways to multiple render items, blocks, or tooltips at once:
Inventories
To render every item in your inventory, press the associated hotkey (default k), which will open a popup allowing you to render the items, block item states, tooltips, or items in an atlas:

Creative Tabs
To render a creative tab:
- Type
/wikirender group item creative_tab <tab> itematlas to render a certain tab as an atlas texture
- Type
/wikirender group item creative_tab <tab> batch (blocks|items|tooltips) to batch render a certain tab's items, blocks, or tooltips
Below is an example of every combat item rendered in an atlas using /wikirender group item creative_tab minecraft:combat itematlas:

Tagged Items
To render items, blocks or tooltips given a select tag:
- Type
/wikirender group item tag <#namespace:tag> itematlas to render the tag's items as an atlas texture
- Type
/wikirender group item tag <#namespace:tag> batch (blocks|items|tooltips) to batch render the tag's items, blocks, or tooltips
Below is an example of a batch render of every flower using /wikirender group item tag #minecraft:flowers batch items. The left side of the screen shows 30 items remaining, and they can all be rendered by pressing the start button.

Namespace Items
To render items, blocks or tooltips from a select namespace:
- Type
/wikirender group item namespace <namespace> itematlas to render the namespace's items as an atlas texture
- Type
/wikirender group item namespace <namespace> batch (blocks|items|tooltips) to batch render the namespace's items, blocks, or tooltips
Below is an example of an atlas render of every vanilla item using /wikirender group item namespace minecraft itematlas.

Entity-Based Batch Rendering
⭐ There are several ways to multiple entities at once:
Tagged Entities
⭐ To render entities given a select tag:
- Type
/wikirender group entity tag <#namespace:tag> to render the tag's entities
- Type
/wikirender group entity tag <#namespace:tag> nbt <nbt> to render the tag's entities with NBT applied to each of them
- Type
/wikirender group entity tag <#namespace:tag> nbt_filter <filter> <nbt> to render the tag's entities with NBT applied to each of them, but only rendering those with pass the filter check (see below)
Below is an example of a batch render of every aquatic Minecraft mob using /wikirender group entity tag #minecraft:aquatic

Namespace Entities
⭐ To render entities given a select tag:
- Type
/wikirender group entity namespace <namespace> to render the namespace's entities
- Type
/wikirender group entity namespace <namespace> nbt <nbt> to render the namespace's entities with NBT applied to each of them
- Type
/wikirender group entity namespace <namespace> nbt_filter <filter> <nbt> to render the namespace's entities with NBT applied to each of them, but only rendering those with pass the filter check (see below)
Below is an example of a batch render of every Minecraft mob using /wikirender group entity namespace minecraft:

NBT Filtering:
⭐ When rendering entities from a namespace or tag, you can filter which entities from those lists actually get used by filtering by the applied NBT. There are three filter modes to choose from:
require_all_valid: Allows an entity to render if all the provided NBT tags are valid
require_one_valid: Allows an entity to render if at least one of the provided NBT tags is valid
require_none_valid: Allows an entity to render if none of the provided NBT tags are valid
More specifically, a "valid" tag is a tag that is saved with the entity when it tries to save its NBT. Some tags are exported for all entities, regardless of if they change how they render (i.e. Equipment for all living entities), whereas others only get saved for specific types (i.e. Pumpkin for snow golems)
For example, typing /wikirender group entity namespace minecraft nbt_filter require_one_valid {Age:-1,IsBaby:1b} will render all baby mobs, with some extra mobs included, as seen below:

评论 0
登录后参与评分
还没有评论,来抢沙发吧