Bixilon
dc7787cc8c
Merge branch 'entity-meta' into 'master'
...
Entity meta
See merge request bixilon/minosoft!18
2020-11-25 18:56:41 +01:00
Bixilon
cb1bf13140
entity mappings for 1.8.9, pre flattening bug fixes
2020-11-25 18:23:12 +01:00
Bixilon
ba62fe8316
some mappings and entity meta fixes for pre flattening versions
2020-11-24 18:08:32 +01:00
Bixilon
6759a149fc
allow mobs without id (used for object ids)
2020-11-24 17:09:58 +01:00
Bixilon
a43d4afbaa
Improve log messages
2020-11-23 21:44:09 +01:00
Bixilon
0fba4510df
Handle all mod loading exceptions
2020-11-22 19:42:12 +01:00
Bixilon
82cd21ddf9
Log can now handle like String::format
2020-11-22 19:37:21 +01:00
Bixilon
dcd61d4d41
No critical exception if there is not network (LAN Server)
2020-11-22 18:57:30 +01:00
Bixilon
ac87d42c48
fix some bugs in TranslatableComponent (allow parent mapping), other fixes and improvements
2020-11-22 18:53:48 +01:00
Bixilon
44605c1fe3
Add BetterHashSet, use it in ChatComponents, split Post and Pre formatting codes
2020-11-22 16:47:46 +01:00
Bixilon
9a2fcadd67
Make ChatComponent an abstract class
2020-11-22 14:10:25 +01:00
Bixilon
735617130d
Various fixes
...
PlayerEntity: PlayerPropertyData is now a HashSet
Teams: Fix formatting code (only colors before this, now also formatting codes are supported)
2020-11-22 13:30:46 +01:00
Bixilon
492dd7a0ce
Improve und fix various things
...
BlockActions: Use unsigned byte (short)
BlockActions: Add BellAction and ignore all other actions
ChatComponent: Fix mishandling, wrong order
Rename some GameStates
Fix Respawn Packet Handling in 1.16.2+
2020-11-22 12:50:56 +01:00
Bixilon
996ad522a4
fix wrong resources.json
2020-11-21 22:03:22 +01:00
Bixilon
718f516032
regenerate assets (4)
2020-11-21 22:02:19 +01:00
Bixilon
8efce8d2b1
improve code quality, performance. Introduce Debug Mode
2020-11-21 19:51:34 +01:00
Bixilon
5580bc4323
regenerate resources (3)
2020-11-21 18:25:43 +01:00
Bixilon
09fdd472f9
fix typo from mojang in mappings generator
2020-11-21 18:01:02 +01:00
Bixilon
13e85ccdd7
cleanup some things, bug fix
2020-11-21 17:12:13 +01:00
Bixilon
970627024a
Confirm spawn position, fix data sending bug (no data was sent to the server)
2020-11-21 15:43:32 +01:00
Bixilon
5fe7c73a6e
reformat code
2020-11-21 15:12:22 +01:00
Bixilon
a5d26a6448
fix class cast exception in living entity flags (only when default value is used)
2020-11-21 13:35:16 +01:00
Bixilon
64e1cd2292
regenerate mappings (2)
2020-11-21 13:21:50 +01:00
Bixilon
dd95df2370
fix entities.json generation (hopefully)
2020-11-20 23:47:05 +01:00
Bixilon
379a9a9a66
regenerate mappings
2020-11-20 22:23:11 +01:00
Bixilon
144bd51fc2
improve code, wip block light
2020-11-20 21:33:54 +01:00
Bixilon
782c8473e5
fix: minosoft can not start if there is no network
2020-11-20 17:48:29 +01:00
Bixilon
050ff874a2
rewrite MinosoftCommandLineArguments, improvement
2020-11-20 17:25:31 +01:00
Bixilon
2802f5506f
Remove magic 4096 and save it in constant (default buffer size)
2020-11-20 14:47:16 +01:00
Bixilon
fe890677e4
Replace all "minecraft" references and store the string in a constant
2020-11-20 14:42:23 +01:00
Bixilon
a0b7bdeeee
Generify mod and identifier holder into ModIdentifier
2020-11-20 14:27:59 +01:00
Bixilon
f44cf53268
parse cli arguments
2020-11-20 14:02:27 +01:00
Bixilon
a904d69926
Add some new lines before constructor
2020-11-19 22:26:24 +01:00
Bixilon
56d40455d5
Replace all ConnectionCallbacks with Event api, add EventInvokerCallback
2020-11-19 21:57:06 +01:00
Bixilon
28e62f0f86
save blockEntities in ChunkSection and not in World
2020-11-19 18:59:07 +01:00
Bixilon
afb39712c8
enties.json mapping: allow field to index mapping (not auto calculated)
2020-11-19 18:48:20 +01:00
Bixilon
cd9fb2ec39
bump javafx to 16-ea+4
2020-11-19 14:52:17 +01:00
Bixilon
1e9de9cc63
fix entity generation for versions below 1.16 (PigZombie missing)
2020-11-19 14:50:28 +01:00
Bixilon
be4821daf3
Add own PlayerEntity to World entities
2020-11-19 12:49:09 +01:00
Bixilon
8ebcc20b82
add PlayerPropertyData::toString
2020-11-18 21:23:46 +01:00
Bixilon
915eeab020
reduce exceptions if server sends bullshit
2020-11-18 21:05:32 +01:00
Bixilon
efb5f6f058
fix issue with entity meta data generation,
2020-11-18 21:04:57 +01:00
Bixilon
e4d6b40c95
Remove PacketEntityStatus and add PacketEntityEvent
2020-11-18 19:07:07 +01:00
Bixilon
de1554f243
EntityMetaData serializer (log message), bug fix, reduce exceptions
2020-11-18 18:30:05 +01:00
Bixilon
514d0e95be
add 2 missing assets
2020-11-17 21:22:19 +01:00
Bixilon
52d34a0cc6
improve ReadMe
2020-11-17 21:14:52 +01:00
Bixilon
db0a5f42c5
Entity mappings, generator, improvements
...
version_mappings_generator.py can now generate an entites.json, based on mojangs deobfuscation maps and burger data
All version mappings updated to include these changes
Some missing entities added, some mistakes fixed
2020-11-17 20:23:37 +01:00
Bixilon
623d8cacec
MetaDataIndex: allow parent mapping
2020-11-16 19:39:21 +01:00
Bixilon
3b3535697e
Re-enable PacketSpawnObject, improve mappingsDownloader.py, rename files
...
mappingsDownloader.py is now way more readable and supplemental for future edits (e.g. entities mappings)
2020-11-16 18:32:01 +01:00
Bixilon
718cf1ba25
Improve version mappings a lot, other improvements
...
AssetsManager: throw FileNotFoundException if asset does not exist instead of NullPointerException
EntityInformation: Remove max health
Rename some constants into caps with underline and not camel case
Version: Fix loading pre flattening mapping (mappings are now the latest not flattened version and not the first flattened version)
Remove CustomMapping.java. Use VersionMapping with parent ability (nesting)
Almost rewrite VersionMapping. Code is way better and easier to understand
Allow VersionMapping per version and inherit block and registries mapping from PRE_FLATTENING_VERSION (if needed): Custom Entity mappings per version now possible
2020-11-16 14:34:52 +01:00