[Bug/漏洞] 假末地传送门的问题
cleep5564 opened this issue · 0 comments
Checks / 检查
- I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
- I confirm that I followed the Docs and read the Changelog, but this problem still exists./我确认我按照文档配置并阅读了Changelog,但这个问题仍然存在。
- I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。
Java Version / Java版本
21.0.2
Minecraft Version / Minecraft版本
1.21.1
Avaritia-Reforge Version / Avaritia-Reforge版本
1.3.9.0
Description / 描述
当使用水晶矩阵镐右键末地传送门时(而不是框架),它会在客户端像原来一样渲染,在服务端读取该末地传送门的方块实体数据时,会发生错误,如果玩家在客户端尝试与未正确加载的该方块交互,会导致断开连接,再次进入时该方块可能(也许与常加载区块有关)会在双端被正确地替换为假末地传送门,也可能在双端被当成原版的末地传送门,并恢复正常,假末地传送门无法使用指令正常地放置,如果该方块在双端被正确地替换为假末地传送门,在尝试破坏它时,会导致游戏崩溃,如果尝试通过离开区块的方式重载客户端的该方块,则会被正确地替换
To Reproduce / 重现
1.正确摆放并激活一个末地传送门结构,获取一个水晶矩阵镐
2.在生存模式下使用水晶矩阵镐左击末地传送门
3.按下F3并查看它的ID,得到的结果是原版的末地传送门
4.使用/data get block ~ ~-1 ~(坐标可自行替换为对应的被替换的方块的坐标),执行提示为发生意外的错误
5.用任何物品或空手右键它,发现断开连接
6.重新进入存档,方块变为双端一致,可能是原版或者假的末地传送门
7.重复1~2步
8.跳入这个错误的或者其它正常的末地传送门,都可以正常传送,然后再次回到原位,此时方块已被重载
9.在双端被正确地替换为假末地传送门
10.在创造模式下破坏它,游戏崩溃
Log / 日志
Game Log:https://mclo.gs/uz3qjQW
Disconnect:https://mclo.gs/Mc6Che1
Crash:https://mclo.gs/qfG17jI
Config / 配置
#Avaritia Common Config
[tools]
#The blocks near the infinity blocks are the brightest
"Is Infinity Light" = false
#Does the super mode of endless tools retain stone and soil
"Is Stone" = false
#Whether to merge matter cluster
"Is Merge Matter Cluster" = true
#Range damage value of the right key of Infinity sword
# Default: 10000
# Range: 100 ~ 100000
"Sword Range Damage" = 10000
#Infinity sword right click attack range
# Default: 32
# Range: 8 ~ 64
"Sword Attack Range" = 32
#Does the right key range attack of endless sword attack neutral creatures
"Is Sword Damage Animal" = false
#Does the right key spawn lightning with range of attack
"Is Sword Cause Lightning" = false
#Does the right key cause infinity damage
"Is Sword Cause Endless damage" = true
#Infinity bow scattering light arrow damage
# Default: 10000
# Range: 100 ~ 100000
"Sub Arrow Damage" = 10000
#Chain number of endless axe cutting trees
# Default: 64
# Range: 16 ~ 128
"Axe Chain Count" = 64
#Food effect time scaling factor
# Default: 1.0
# Range: 0.1 ~ 5.0
"Food Time" = 1.0
#The range of Infinity PickAxe can break
# Default: 8
# Range: 2 ~ 32
"PickAxe Break Range" = 8
#The range of Infinity Shovel can break
# Default: 8
# Range: 2 ~ 32
"Shovel Break Range" = 8
#The product tick of NeutronCollector
# Default: 3600
# Range: > 1200
"Neutron Collector Product Tick" = 3600
#Singularity default time required
# Default: 240
# Range: > 0
"Singularity Time Required" = 240
#Growth soul farmland rate
# Default: 0.8
# Range: 0.0 ~ 1.0
"Growth soul farmland rate" = 0.8
#Damage of BladeSlash for Crystal Sword
# Default: 200
# Range: > 0
"BladeSlash Damage" = 200
#Radius of BladeSlash for Crystal Sword
# Default: 10
# Range: 5 ~ 100
"BladeSlash Radius" = 10
#Is InfinityCatalyst Craft use all Singularity
"Internal InfinityCatalyst Craft" = true
[emc]
#Emc of Neutron Pile
# Default: 100
# Range: > 0
"Neutron Pile Emc" = 100
#Emc of Totem Of Undying
# Default: 1000
# Range: > 0
"Vanilla Totem Emc" = 1000
[storage]
#Define the maximum number of item .types. that can be stored in a Infinity Chest.
# Default: 32768
# Range: > 2048
"Chest Max ItemSize" = 32768
#Use single page mode
"Use Single PageMode" = false
#Stack size limit of slot
# Default: 4294967295
# Range: 64 ~ 4294967295
"Slot Stack Limit" = 4294967295
#Maximum page limit
# Default: 79536431
# Range: 2 ~ 79536431
"Max Page Limit" = 79536431
#Recovery options Reset the max page that is 0.
# Default: 1
# Range: 1 ~ 79536431
"Reset Max Page" = 1
#Inventory rows for multi page mode
# Default: 6
# Range: 1 ~ 6
"Inventory Rows" = 6
[channel]
#
# Default: 32768
# Range: > 2048
"Channel Size" = 32768
#
# Default: 16
# Range: 4 ~ 64
"MaxPlayer Channels" = 16
#
# Default: 128
# Range: 32 ~ 1024
"MaxPublic Channels" = 128
#
# Default: 1
# Range: 1 ~ 40
"FastUpdate Rate" = 1
#
# Default: 40
# Range: 20 ~ 1200
"FullUpdate Rate" = 40
[misc]
#For develop
"Use Advance Tooltips" = false