网易我的世界论坛
标题:
方块大小精度问题
[打印本页]
作者:
Furry_Mango_
时间:
2024-12-30 14:49
标题:
方块大小精度问题
使用netease:aabb组件设置方块碰撞箱大小时
假设我把方块的y碰撞箱设为0.0625
但是实际的碰撞箱大小为0.062 在保留原有高度应如何解决(指保留方块高度为0.0625)
因为在技跑圈内对于方块精度要求很高
附件:
[attach]1446901[/attach]
见左上角Y轴坐标以及VSCode我设置的高度
使用版本:Minecraft Bedrock Editon 1.20.50(Netease Beta 3.2)
作者:
Furry_Mango_
时间:
2024-12-30 14:50
完整代码:
{
"format_version": "1.10.0",
"minecraft:block": {
"components": {
"minecraft:block_light_absorption": {
"value": 0
},
"netease:aabb": {
"clip": [
{
"max": [
1.0,
1.0,
0.25
],
"min": [
0.0,
0.0,
0.0
]
},
{
"max": [
0.6875,
0.6875001,
1.0
],
"min": [
0.3125,
0.3125001,
0.25
]
}
],
"collision": [
{
"max": [
1.0,
1.0,
0.25
],
"min": [
0.0,
0.0,
0.0
]
},
{
"max": [
0.6875,
0.6875,
1.0
],
"min": [
0.3125,
0.3125,
0.25
]
}
]
},
"netease:face_directional": {
"type": "facing_direction"
},
"netease:pathable": {
"value": true
},
"netease:render_layer": {
"value": "blend"
},
"netease:water_source": {
"value": true
}
},
"description": {
"category": "pktool_category",
"identifier": "pk:piston_arm",
"register_to_creative_menu": true
}
}
}
欢迎光临 网易我的世界论坛 (http://mc.netease.com/)
Powered by Discuz! X3.3