Commit Graph

61 Commits

Author SHA1 Message Date
iam 7320437640
Optionally load vanilla biomes (#1988)
* Add biomes from vanilla

* cleanup

* rework biomes

* nullability

* getByName string

* expose vanilla biomes

* not null

* before rename

* rename

* nbt cache

* fix

* fix

* fix

* final on vanilla biome
2024-02-12 15:25:46 -05:00
TheMode f2fec73202
Tag internal rework (#782) 2022-03-20 01:47:57 +01:00
themode f3221ff412 Make BlockImpl a record 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 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 02d927cc4d Rename internal registry constant holder interfaces
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-06 13:32:52 +02:00
TheMode c17f07e1d0 More inventory cleanup 2021-08-12 18:06:23 +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
TheMode 13b7039721 Replace most enums 2021-07-28 14:29:28 +02:00
TheMode 82e5873b4f Protocol interfaces to become sealed in the future 2021-07-27 10:28:06 +02:00
TheMode 4d2b925edd Improve block#withProperty/ies performance 2021-07-19 23:59:40 +02:00
TheMode 518aab3a44 Add Block#values 2021-07-16 19:39:56 +02:00
TheMode 99d4682655 Prevent nbt copy when placing a block 2021-07-10 20:41:22 +02:00
TheMode ec440f778b Remove nullable annotation 2021-07-09 17:15:28 +02:00
TheMode b541ef4a74 Simplify block implementation 2021-06-26 20:23:56 +02:00
TheMode 778dda08d6 Add more information about block tag<->nbt 2021-06-24 23:02:40 +02:00
TheMode af9e102ec1 Add documentation to Block 2021-06-23 18:29:19 +02:00
TheMode aa2347bf9c Remove BlockProperty.java 2021-06-23 17:54:34 +02:00
TheMode 22ba15f390 Add Unmodifiable annotation 2021-06-22 23:31:07 +02:00
TheMode d365373775 Keep `get` prefix when a parameter is required 2021-06-22 18:46:16 +02:00
TheMode fc14d01e78 Initial anvil support 2021-06-20 20:12:07 +02:00
TheMode f040f882e5 remove redundant allocation 2021-06-19 21:04:02 +02:00
TheMode 106125319a Remove `get` prefixes for protocol objects to be more record-friendly 2021-06-19 21:01:54 +02:00
TheMode e913170575 Remove unused code 2021-06-18 11:52:10 +02:00
TheMode 41cb35782e Reduce implementation code 2021-06-18 03:44:15 +02:00
TheMode 65e4aad416 Add pure annotations 2021-06-16 14:08:02 +02:00
TheMode 34b7133f17 Reduce subclass impl 2021-06-16 14:04:22 +02:00
TheMode 235100e87b Small cleanup 2021-06-16 00:46:39 +02:00
TheMode 2d57235198 Remove legacy methods 2021-06-16 00:33:25 +02:00
TheMode 9c77ab267e Rework Block implementation (`BlockTest`) 2021-06-14 13:31:14 +02:00
TheMode d6a2a5b316 Added CampfireHandler demo 2021-06-12 19:17:50 +02:00
TheMode 54b6868b2e Comments 2021-06-12 16:02:35 +02:00
TheMode 7079225045 Remove BlockData.java 2021-06-11 17:33:18 +02:00
TheMode a1fac0f5cb Add Block.registry 2021-06-11 17:00:26 +02:00
TheMode 82eec1072c Create ProtocolObject 2021-06-11 16:45:01 +02:00
TheMode 8b0991139d WIP property retrieval 2021-05-30 23:37:22 +02:00
TheMode d937660cf8 Improve Block interface 2021-05-29 00:34:01 +02:00
TheMode 41f769b8b2 Rename #getBlockId to #getId 2021-05-28 14:35:55 +02:00
TheMode 58df9a9ba8 Use a BiPredicate for block comparison 2021-05-28 14:34:24 +02:00
Articdive a95a89932e
Remove CustomBlock and fix some compiler errors. 2021-05-24 22:51:34 +02:00
TheMode 86f7fa7e27 Fix more errors 2021-05-24 21:39:30 +02:00
Articdive 7d47f46261
PFBlockDescription & PFBlockObject 2021-05-24 13:52:19 +02:00
TheMode f30e580aad Added Block#compare 2021-05-23 13:32:35 +02:00
TheMode 333825c032 Cleanup... 2021-05-23 00:28:31 +02:00
TheMode 9fe34cc32c Move BlockRegistry 2021-05-22 23:29:22 +02:00
Articdive dba8b65c03
Add the Block Data API and Block Generator. 2021-05-22 21:56:01 +02:00
themode 428cea625e Removed Block empty duplicate 2020-11-05 16:37:16 +01:00