Commit graph

2729 commits

Author SHA1 Message Date
davchoo
42fdbeb647
Add basis for overriding Bedrock block states
Fix missing providers when used in GeyserDefineCustomBlocksEvent
2022-07-29 18:21:14 -04:00
davchoo
d00886e12a
Fix adding duplicate block states for custom blocks with 0 properties
Remove defaultBlockState CustomBlockState field from
GeyserCustomBlockData since it creates a circular reference
2022-07-28 23:24:01 -04:00
davchoo
36f540f401
Fix isIncorrectHeldItem check for custom skull blocks
Add defaultBlockState to CustomBlockData
2022-07-28 20:43:06 -04:00
davchoo
2ca368019c
Use identifier from CustomBlockData in SkullResourcePackManager 2022-07-28 19:43:03 -04:00
davchoo
9f4f2aca94
Revert "Crop and reorder skull textures to eliminate unused space"
This reverts commit 15fd5353e1.
2022-07-28 14:33:22 -04:00
davchoo
15fd5353e1
Crop and reorder skull textures to eliminate unused space
Should reduce memory & storage usage for Bedrock clients
2022-07-27 22:32:18 -04:00
davchoo
8244afa8c7
Convert skull floor geometries into a template
Should be easier to modify in needed in the future.
2022-07-27 18:43:42 -04:00
davchoo
5676870dd8
More API changes
Convert CustomBlockPermutation into a record
Change materialInstances in CustomBlockComponents Builder to
materialInstance
Reuse box components in CustomSkull
2022-07-27 18:25:04 -04:00
davchoo
f5d23a6d00
Add custom block stuff to provider registry loader 2022-07-26 20:25:37 -04:00
davchoo
88725f89a3
Merge branch 'feature/extensions' into feature/blockstuff-updated
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/GeyserImpl.java
#	core/src/main/java/org/geysermc/geyser/registry/provider/GeyserBuilderProvider.java
2022-07-26 18:50:30 -04:00
Camotoy
40fde6b046
Some nitpicks and cleaning up the provider API
The command changes here are not final. Internally we're discussing if we want to allow extensions to register root commands on platforms.
2022-07-26 18:33:39 -04:00
davchoo
cb0b52b997
Disable collision box & selection box when box is empty
Fix incorrect collision names used in CustomBlockComponentsBuilder
2022-07-25 15:59:24 -04:00
davchoo
e9e89b4b5c
Update custom block nbt for v534 2022-07-25 11:55:34 -04:00
davchoo
8247e737c1
Merge branch 'feature/extensions' into feature/blockstuff-updated
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/registry/BlockRegistries.java
#	core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockInventoryTransactionTranslator.java
2022-07-25 11:29:07 -04:00
Camotoy
616c088b66
Fix custom items with ItemTranslator#getBedrockItemMapping 2022-07-20 18:35:40 -04:00
Camotoy
240af3cf2e
Merge pull request #3131 from Kas-tle/feature/extensions
Feature/extensions 1.19.10
2022-07-13 22:45:59 -04:00
Kas-tle
46faf02474 Merge remote-tracking branch 'upstream/master' into feature/extensions 2022-07-14 01:46:26 +00:00
Camotoy
f6f8886f23
Fix PS4 players crashing on certain dimension switches 2022-07-13 21:31:10 -04:00
Kas-tle
0335c8263c
Address @Camotoy's review 2022-07-13 16:20:42 +00:00
Kas-tle
1b5f237996 Merge remote-tracking branch 'upstream/master' into feature/extensions 2022-07-12 20:17:23 +00:00
Camotoy
109e1c0a97
Fix dropping items in 1.19.10 2022-07-12 16:05:06 -04:00
Kas-tle
d1fbb909a5
fixed java 16 thanks to @davchoo 2022-07-12 17:09:48 +00:00
Kas-tle
2dbd39c5a4
Per review by @Camotoy 2022-07-12 16:33:57 +00:00
Kas-tle
8b9f41d4a6
Java 17 (Jenkinsfile) 2022-07-12 07:38:57 -07:00
Kas-tle
a12c74c364 Build on Java 17 2022-07-12 14:24:53 +00:00
Kas-tle
bca6359f7e
1.19.10 fallout 2022-07-12 05:29:39 +00:00
Kas-tle
363d72da91
Merge remote-tracking branch 'origin/master' into feature/extensions 2022-07-12 05:26:52 +00:00
Camotoy
16bb79e7aa
Support HAProxy in legacy ping passthrough 2022-07-11 08:38:26 -04:00
davchoo
49550a513c
Move custom skull config stuff to its own file
Custom skulls can now be added by username, uuid, and textures

Move skull nbt stuff from requestTexturesFromUsername to
SkullBlockEntityTranslator
Add requestTexturesFromUUID
2022-07-10 21:08:07 -04:00
Camotoy
83ba6b5ab5
Extensions have their own command 2022-07-10 20:58:48 -04:00
davchoo
a577512dac
Apply some suggestions from Camotoy 2022-07-10 18:42:38 -04:00
Camotoy
4656383c67
Bump to 2.0.5-SNAPSHOT 2022-07-10 17:05:19 -04:00
Camotoy
fa726092e3
A cleaner error on illegal set slot packet 2022-07-10 15:52:11 -04:00
Camotoy
4d0952c224
Initial support for 1.19.10 Bedrock 2022-07-10 13:33:39 -04:00
davchoo
86c822631c
Clean up custom block api a bit 2022-07-10 12:26:52 -04:00
Camotoy
2ce7ff850a
Support the 1.19.0 Java block prediction/ack system 2022-07-09 23:02:19 -04:00
davchoo
08c24cb462
Use block states more efficiently for custom skulls
21 block states vs 48 block states
2022-07-09 21:05:22 -04:00
Camotoy
897c4dcfec
Changes 2022-07-09 18:39:02 -04:00
davchoo
d07a06cd3b
Fix formatting and names for player skulls 2022-07-09 15:16:29 -04:00
davchoo
774b300f8d
Add config options for custom blocks and custom skull blocks 2022-07-09 13:36:18 -04:00
Yashar
ab4800c4f2
Fix login screen not closing (#3122) 2022-07-08 19:01:00 -04:00
davchoo
9e0af6e098
Auto generate skull resource pack
Change `davchoo` to `geyser` in geometry
2022-07-08 14:49:19 -04:00
davchoo
49f7f6d2f9
Remove skull translation events and define custom blocks for custom skulls
Clean up skull block translation a bit
2022-07-07 16:18:24 -04:00
davchoo
f553dee3a5
Attempt to clean up some code 2022-07-07 05:06:28 -04:00
davchoo
c2a6e8ce70
Rename some stuff 2022-07-06 09:12:52 -04:00
davchoo
0eb7218582
Super cursed custom skulls custom block 2022-07-05 03:41:20 -04:00
David Choo
dc810f1d39
Fix break time while submerged in water (#3110)
* Fix break time while submerged in water

* Review stuff

* LAYERS -> LEVELS
2022-07-02 21:17:14 -04:00
RednedEpic
f9fd7cb831 Fix Geyser not working in IDE 2022-07-02 12:42:31 -05:00
RednedEpic
b5eb27693f Use an immutable view in GeyserDefineCommandsEvent
Methods to properly register/unregister commands are provided in the command manager
2022-07-02 12:30:23 -05:00
ImDaBigBoss
36c49a7256
Custom item support for extensions (#2822)
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2022-07-02 12:50:16 -04:00