Description
Gallery
Changelog
Versions
Made by kallen. Provides many convenient APIs for CC-Tweaked, such as creature scanner, block detector, dimension detection and other functions.
作者:kallen。因本人懒惰所以由我代传。 为CC-Tweaked提供了许多方便的API,例如生物扫描器、方块检测器、维度检测等功能。
All Versions
+ Add Version
[0.0.6] Metaphysics 0.0.6
by fashaodesu on Jan 20, 2025
Download
while true do
local event, data = os.pullEvent("player_death")
print(("say %s die, because %s "):format(data.name, data.source)) --谁死了, 伤害源是什么
if data.tags then --如果有标签
print("killer is "..data.name) --杀手是谁
print("killerhas tags %s"..table.concat(data.tags, ", ")) --杀手的标签
end
end
local event, data = os.pullEvent("player_death")
print(("say %s die, because %s "):format(data.name, data.source)) --谁死了, 伤害源是什么
if data.tags then --如果有标签
print("killer is "..data.name) --杀手是谁
print("killerhas tags %s"..table.concat(data.tags, ", ")) --杀手的标签
end
end
[0.0.5fix4] Metaphysics 0.0.5fix4
by fashaodesu on Jan 19, 2025
Download
修复canSeeSky精度
[0.0.5fix3] Metaphysics 0.0.5fix3
by fashaodesu on Jan 19, 2025
Download
增加Mob扫描方法 getMobs()
可以从中筛选monster ---> if v.name == "monster"
Added Mob scanning Method getMobs()
Can filter monsters from it ---> if v.name == "monster"
可以从中筛选monster ---> if v.name == "monster"
Added Mob scanning Method getMobs()
Can filter monsters from it ---> if v.name == "monster"
[0.0.5] Metaphysics 0.0.5
by fashaodesu on Jan 19, 2025
Download
新增getPlayer和getMonster方法。
旧的getEntities尽量不要用了,性能开销大
Added getPlayer and getMonster methods.
Try not to use the old getEntities method, as it has a large performance overhead.
旧的getEntities尽量不要用了,性能开销大
Added getPlayer and getMonster methods.
Try not to use the old getEntities method, as it has a large performance overhead.
[0.0.4] Metaphysics 0.0.4
by fashaodesu on Jan 19, 2025
Download
修改扫描器:无视看不见天空的对象,比如地底生物、掩体内的目标、树下的目标
原本的getEntities和getShips换成了getEntitiesAll()和getShipsAll()
Modified scanner: ignore objects that cannot see the sky, such as underground creatures, targets in bunkers, targets under trees
The original getEntities and getShips are replaced by getEntitiesAll() and getShipsAll()
原本的getEntities和getShips换成了getEntitiesAll()和getShipsAll()
Modified scanner: ignore objects that cannot see the sky, such as underground creatures, targets in bunkers, targets under trees
The original getEntities and getShips are replaced by getEntitiesAll() and getShipsAll()
[0.0.1] Metaphysics 0.0.1
by fashaodesu on Jan 19, 2025
Download
Original version, written by kallen. Thanks for making this mod for my needs
原始版本,由kallen编写。感谢因我的需求制作该mod
basic scanner for entity and block
基础的玩家和实体扫描器
原始版本,由kallen编写。感谢因我的需求制作该mod
basic scanner for entity and block
基础的玩家和实体扫描器