技术名称 | Holoemitter |
中文名称 | |
作者 | BuckarooBanzay - ContentDB |
语言 | 英语 |
版本 | 5.5.0 |
依赖Mode或插件 | Mesecons (= redstone) 红石 |
Mode类型 | |
开源协议 | MIT 代码,CC-BY-SA-3.0 媒体。 |
视频 | |
百科 | |
Wiki | |
代码仓库 | https://github.com/BuckarooBanzay/holoemitter.git |
下载地址 | Holoemitter - ContentDB |
简历 |
全部
- 限制会话中的实体数量
- 食谱
添加实体
沙块
if event.type == "program" then
digiline_send("holoemitter", {
command = "emit",
pos = { x=0, y=2, z=0 },
id = "my_entity_id",
properties = {
visual = "cube",
visual_size = {x=1,y=1},
textures = {
"default_sand.png",
"default_sand.png",
"default_sand.png",
"default_sand.png",
"default_sand.png",
"default_sand.png"
},
automatic_rotate = 1,
glow = 10,
physical = false,
collide_with_objects = false,
pointable = true,
nametag = "test"
}
})
end
旋转山姆
if event.type == "program" then
digiline_send("holoemitter", {
command = "emit",
pos = { x=2, y=2, z=0 },
id = "my_entity_id",
properties = {
visual = "mesh",
mesh = "character.b3d",
visual_size = {x=1,y=1},
textures = {"character.png"},
automatic_rotate = 1,
glow = 10,
physical = false,
collide_with_objects = false,
pointable = true,
nametag = "test"
}
})
end
显示文字
需要display_modpack
if event.type == "program" then
digiline_send("holoemitter", { command = "reset" })
digiline_send("holoemitter", {
command = "emittext",
pos = { x=0, y=2, z=0 },
id = "my_entity_id",
text = "Test",
size_x = 2,
size_y = 1,
rotation = { x=0, y=0, z=0 }
})
end
重置发射器
if event.type == "program" then
digiline_send("holoemitter", {
command = "reset"
})
end
活动
Channel: “holoemitter”
打回来
{
playername = "singleplayer",
id = "my_entity_id",
action = "punch" -- or "rightclick"
}
错误
{
error = true,
message = "visual not allowed"
}