3
0
Commit Graph

113 Commits

Author SHA1 Message Date
a3ee982fa6 修复树不长的问题 2017-07-07 20:05:29 +08:00
8f7f315790 修复重复添加物品的bug,已经不更新背包的问题 2017-07-06 02:50:05 +08:00
9dc4f12762 修复方块不更新的bug 2017-07-04 22:30:53 +08:00
34b83733e5 Merge branch 'kcx-1614' of https://git.xjboss.net/KC-RELOADED/KCauldronX 2017-07-04 15:29:14 +08:00
f1db52bb04 增加对mod消息与物品左右键的方块放置监听 2017-07-04 14:30:21 +08:00
bfe43ae465 模块化方块捕获还原动作 2017-07-04 14:29:35 +08:00
d486cf7105 ........ 2017-07-03 19:49:24 +08:00
cbf80d0a8e Fix...new event and add one of new 2017-07-03 19:13:11 +08:00
a85f1f799c Added new events for mod developer 2017-07-03 18:51:32 +08:00
559b9ad248 move class position 2017-07-02 18:19:52 +08:00
64a7507a12 增加高版本API方法 2017-06-28 08:27:25 +08:00
05b874f281 增加对entity tick的拦截与判定 2017-06-28 08:26:41 +08:00
6d76ac6545 增加是否已经应用的标识 2017-06-27 14:16:11 +08:00
42e2581b53 修复Rcon发送命令可能报错的问题 2017-06-27 14:15:35 +08:00
8b33262701 add new class 2017-06-25 20:22:28 +08:00
Sergey Shatunov
8d2ba00f70 Cap chunk generation to 1 chunk per tick (configurable) 2016-03-16 12:01:28 +07:00
Sergey Shatunov
232bc98881 Implement deprecated get/set shooter bukkit's methods
fix #368
2016-02-14 22:46:12 +07:00
Sergey Shatunov
ff7d6f4137 Whoops, chunk coords stored in other order (fix #360) 2016-02-11 16:52:32 +07:00
Sergey Shatunov
cdc6bcae21 Fix command crash when world has no tps info (meh? plugins? broken
mods?) [ci skip]
2016-02-10 22:38:05 +07:00
Sergey Shatunov
5aaf6c5cbf ChunkManager implementation
ChunkManager optimize chunks handling in small and big worlds

Small worlds gets benefits with using int-object map instead long-object (in area -32768...32767 by x and z)

Large worlds gets benefits by using efficient map by Colt project, which a little (3-6%) slower in writing, but greatly faster
(400-500% from Java's HashMap and 150-180% from Trove's maps) on reading.
2016-02-10 19:17:47 +07:00
Sergey Shatunov
962807f835 Fix #343 2016-02-07 14:40:26 +07:00
Sergey Shatunov
db3a8c3045 Pass net handler during reverse cloning due to some mods could transmit some packets in cloning 2016-02-06 23:21:56 +07:00
Sergey Shatunov
84276822ea Fix inventory wiping on keepInventory=true 2016-02-06 15:19:45 +07:00
Sergey Shatunov
0b251c5440 Implement ReverseClonner, which should fix all issues with teleportation/inventories/crashed after respawning 2016-02-06 04:30:12 +07:00
Sergey Shatunov
7b03a5c0d1 Add out-of-box fast leaves decay 2016-02-04 22:55:51 +07:00
Sergey Shatunov
3926aa3878 Allow pseudo-real semi-infernal chunks for trees, fix #273 2016-02-04 22:35:14 +07:00
Sergey Shatunov
3b321e3116 Implement custom bukkit's entity for modded projectiles
Fix #150
2016-02-03 22:45:12 +07:00
Sergey Shatunov
7114a28fc6 Implement thread-safe, async-like and not buggy BlockUpdatesTracker
close #320
2016-02-03 10:55:26 +07:00
Sergey Shatunov
412dab0029 Update references to inventory for CraftPlayer during cloning
Fix #321
2016-02-02 14:45:32 +07:00
Sergey Shatunov
0d3b4e763c Forward bukkit's CraftPlayer during cloning player
Fix #318
2016-02-01 22:45:16 +07:00
Sergey Shatunov
07698c433a Fix inventory erase when player respawns by mods or plugins
Close #301
2016-02-01 18:50:41 +07:00
Sergey Shatunov
6c2be10dc9 Implement Bukkit's inventory for modded inventories, fix #257 2016-02-01 04:54:40 +07:00
Sergey Shatunov
097252b5bf Add expermintal feature: tileEnitity list recreation each tick 2016-01-17 17:15:55 +07:00
Prototik
be83aa26fc Fix broken commands.yml (close #276) 2016-01-07 21:12:06 +07:00
Sergey Shatunov
eb49ce845d Make light asynchronous (close #231) 2016-01-06 01:53:42 +07:00
Sergey Shatunov
99915acb8b Use player cache for skulls 2016-01-05 15:06:32 +07:00
Sergey Shatunov
6911f3485a Fix for map decoration 2016-01-05 14:48:56 +07:00
Sergey Shatunov
0011dd0d9a Limit TNT detonations per world per tick 2016-01-05 14:20:01 +07:00
Sergey Shatunov
0aad7977fc Make configurable messages, close #244 2016-01-05 13:54:34 +07:00
Sergey Shatunov
955af15697 Make Server.getOnlinePlayers returns immutable collection, like it said
in docs. This is also fix crash with /stop and /restart commands while
any players had been online.
2016-01-05 02:00:44 +07:00
Sergey Shatunov
664be786d4 Update to forge 1614 2016-01-04 22:45:30 +07:00
Sergey Shatunov
f722fccdce Rollback to the state of .152 build with some critical fixes and updates 2016-01-04 12:38:37 +07:00
Prototik
1ec4cf134d Remove health scaling 2015-10-24 17:31:46 +07:00
Prototik
1d94d55290 Update forge to 1517 2015-10-23 20:54:39 +07:00
Prototik
30960fd721 Fix #222 2015-10-23 20:04:48 +07:00
Prototik
d3c359b26d Fix #218, fix #217 2015-10-23 01:33:13 +07:00
Prototik
4cfa07d415 Fix #214 2015-10-22 14:25:47 +07:00
Prototik
ad909f2788 Return empty chunk in case of null and come back indent for ProcessingQueue, sorry! :) 2015-10-22 01:45:44 +07:00
Prototik
6458549af6 Fix #211 2015-10-21 23:40:50 +07:00
Prototik
7defe0bb29 Some portion of optimizations:
* Clear outgoing packet queue after player disconnect
* Disable sleep between chunk saving
* Put 2x4096 bytes instead 2048x4 bytes for region file aligment
* Using map to search player by name instead iterating over all players
* Some tweaks for decorations (item frames, maps)
2015-10-18 23:58:28 +07:00