Koding
|
4a5736cc7c
|
Fix unnecessary allocations with block properties function (#1387)
|
2022-09-06 14:55:21 +02:00 |
|
TheMode
|
ace42b6f46
|
Make ObjectArray interface
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-05-18 08:54:55 +02:00 |
|
TheMode
|
f2fec73202
|
Tag internal rework (#782)
|
2022-03-20 01:47:57 +01:00 |
|
themode
|
b906bd89ce
|
Oops
|
2022-03-10 16:07:56 +01:00 |
|
themode
|
9bca6ee0e3
|
Fix override registry
|
2022-03-09 17:51:03 +01:00 |
|
themode
|
03cf585121
|
Unnecessary null check
|
2022-03-07 22:18:03 +01:00 |
|
themode
|
29f55ee720
|
Remove PROPERTIES_VALUES
|
2022-03-07 13:49:56 +01:00 |
|
themode
|
96fee8541d
|
Move ObjectArray
|
2022-03-02 11:44:11 +01:00 |
|
TheMode
|
95fd6e7c81
|
Change int array to byte in BlockImpl
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-02-04 22:30:30 +01:00 |
|
TheMode
|
0743759eed
|
Do not cache registry (#651)
|
2022-02-04 22:28:05 +01:00 |
|
TheMode
|
32d692a56a
|
Avoid more allocation
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-01-25 14:14:01 +01:00 |
|
TheMode
|
b5bcd8fd4a
|
Avoid string internal during properties parsing
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-01-25 13:33:14 +01:00 |
|
TheMode
|
30cf6e8e4f
|
Improve block properties performance
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-01-25 07:43:52 +01:00 |
|
TheMode
|
7a9b08b085
|
Improve Registry.Container
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-01-14 10:45:44 +01:00 |
|
themode
|
a31f885cc7
|
Fix default tag value on blocks
|
2022-01-10 16:51:21 +01:00 |
|
themode
|
4b89ce33ee
|
Add ArrayUtils#toMap
|
2022-01-10 16:51:21 +01:00 |
|
themode
|
f3221ff412
|
Make BlockImpl a record
|
2022-01-10 16:51:21 +01:00 |
|
themode
|
77a14c0750
|
Use map copies for possible properties
|
2022-01-10 16:51:21 +01:00 |
|
themode
|
089a90df52
|
Use collection copies
|
2022-01-10 16:51:21 +01:00 |
|
Xavier Niochaut
|
9ab4277502
|
Port to Hephaistos v2 (#424)
|
2022-01-10 16:51:21 +01:00 |
|
TheMode
|
647a9cf375
|
Add initial Biome.Setter/Getter interface
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-01-10 16:51:21 +01:00 |
|
TheMode
|
ba77a9ea10
|
Make BlockSetter/Getter inner interfaces inside Block
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-01-10 16:51:21 +01:00 |
|
TheMode
|
8410de18d2
|
Do not spam dummy handler warning (only once per namespace)
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-11-28 15:58:27 +01:00 |
|
TheMode
|
c38f46d3b8
|
Add UnknownNullability to block getter using condition
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-11-08 16:43:50 +01:00 |
|
TheMode
|
b298334d24
|
Decrease memory footprint of the registry cache (#521)
|
2021-11-07 13:40:54 +01:00 |
|
TheMode
|
ec2d164e7b
|
Add internal ObjectArray
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-11-06 14:07:42 +01:00 |
|
TheMode
|
c745f1e064
|
Assume ids to start from 0 and increase 1 by 1. Improve lookup performance
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-11-06 12:49:36 +01:00 |
|
TheMode
|
1b4e0519ee
|
Add experimental Block#possibleStates
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-10-25 16:17:12 +02:00 |
|
TheMode
|
b308ce5baa
|
Update to Java 17 (#462)
|
2021-10-22 01:55:55 +02:00 |
|
TheMode
|
999d774f90
|
Trim registry hashmaps to improve lookup performance
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-10-17 14:29:27 +02:00 |
|
TheMode
|
e65c9f6a79
|
Avoid block allocation if the properties map is the same
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-20 18:09:16 +02:00 |
|
TheMode
|
a3ff3b25c4
|
Add hint in BlockGetter to only retrieve a block type at a position (ignore the handler + nbt)
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-18 16:18:41 +02:00 |
|
Шандуренко Константин Владимирович
|
6c76baa940
|
Code review
|
2021-09-10 19:08:39 +03:00 |
|
Шандуренко Константин Владимирович
|
1e5dc8d870
|
Removed stateless-related stuff from BlockManager
|
2021-09-10 18:42:21 +03:00 |
|
Шандуренко Константин Владимирович
|
98fc704139
|
BlockHandlerBase
|
2021-09-10 16:50:38 +03:00 |
|
Шандуренко Константин Владимирович
|
e3600525fa
|
BlockManager#registerStatelessHandler
|
2021-09-10 16:48:01 +03:00 |
|
Шандуренко Константин Владимирович
|
f45484c840
|
Removed synchronization on BlockManager methods, related to handlers
|
2021-09-10 16:45:04 +03:00 |
|
TheMode
|
02d927cc4d
|
Rename internal registry constant holder interfaces
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-06 13:32:52 +02:00 |
|
TheMode
|
e99d8c6a6f
|
Add BlockHandler.PlayerPlacement#getHand
|
2021-08-30 15:52:07 +02:00 |
|
TheMode
|
748b24b8ef
|
Expand block properties error
|
2021-08-25 18:26:45 +02:00 |
|
TheMode
|
1c59186b61
|
Improve chunk packet reading
|
2021-08-19 00:11:24 +02:00 |
|
TheMode
|
2339fe1c07
|
Cache BlockImpl hashcode
|
2021-08-16 20:07:57 +02:00 |
|
TheMode
|
88ec8ddffa
|
Fix block hashcode
|
2021-08-13 05:40:29 +02:00 |
|
TheMode
|
c17f07e1d0
|
More inventory cleanup
|
2021-08-12 18:06:23 +02:00 |
|
TheMode
|
35d63ae547
|
Implements #equals for BlockImpl
|
2021-08-11 21:28:13 +02:00 |
|
TheMode
|
ba63fe5b63
|
Remove PropertyEntry map wrapper
|
2021-08-04 17:45:17 +02:00 |
|
TheMode
|
db9906d0ae
|
Override Block#toString
|
2021-08-01 13:01:56 +02:00 |
|
TheMode
|
d0ace7f10e
|
Simplify BlockImpl
|
2021-07-30 17:34:39 +02:00 |
|
TheMode
|
0bf275afb2
|
Use getSafe
|
2021-07-30 17:17:37 +02:00 |
|
TheMode
|
53dea325f9
|
Move BlockLoader into impl class
|
2021-07-30 17:16:52 +02:00 |
|