Commit graph

3372 commits

Author SHA1 Message Date
Konicai
f712d4dd81 Bump Protocol and update imports of org.cloudburstmc.protocol.bedrock.data.definitions 2023-05-23 16:34:50 -04:00
Konicai
ba4e37075d
Fix uppercase item attribute modifier names (#3780)
* Check for hide attributes flag, and "Name" -> "AttributeName"

* Operation tag is not required?

* Only process each modifier once

* Ignore `minecraft:` namespace if present

* No `Operation` is implicitly ADD, fix knockback_resistance check
2023-05-22 12:58:01 -04:00
rtm516
178fb2136f
Allow custom bows and food to be registered using the API (#3782) 2023-05-21 13:22:15 +01:00
AJ Ferguson
3e7f420532 Handle non-full blocks for Sniffer digging particles
This is how Java does it
2023-05-19 21:11:43 -04:00
AJ Ferguson
53ed40fde7 Some work on CamelEntity 2023-05-19 18:46:02 -04:00
Kas-tle
551f159fc5
Update PR action (#3774)
- upgrade Java action to resolve deprecation warnings
- `Kas-tle/ForkFinder`is now `Kas-tle/find-forks-action`
2023-05-18 13:16:00 -07:00
Konicai
cc36b72129 Target MCPL 1.20-1-SNAPSHOT now that it is temp published 2023-05-18 01:04:21 -04:00
Konicai
df5092d32f Take width of hanging signs into account 2023-05-18 00:58:27 -04:00
Camotoy
b9c568733a
Improve sign editing 2023-05-17 20:11:14 -04:00
Konicai
4d8cb709da Use load for sniffer_food because of ViaVersion 2023-05-17 16:43:42 -04:00
Konicai
5cf5225c0c canEat for Sniffer 2023-05-17 16:06:28 -04:00
Konicai
5fdc4d72b5 Bump MCPL for 1.20-pre2 2023-05-17 15:33:54 -04:00
AJ Ferguson
701d9844aa Set SnifferEntity digTicks to 0 when transitioning out of DIGGING state 2023-05-16 23:35:28 -04:00
AJ Ferguson
c35b7c93fd
Translate SnifferEntity (#3777)
* Translate SnifferEntity

* Add comment for pose
2023-05-16 21:45:16 -04:00
Kas-tle
a8b62681bb
Merge pull request #3776 from onebeastchris/testtesttest
make heads render when equipped
2023-05-16 16:54:07 -07:00
onebeastchris
231095e115 make heads render when equipped 2023-05-17 01:38:49 +02:00
YHDiamond
fbd157ccdf
Add Attribute Modifiers Display (#3728)
* Add Attribute Modifiers Display

Allows Bedrock players to view the Attribute modifiers display on the bottom of items.

* Fix handling for Knockback Resistance

For some reason, Knockback Resistance is multiplied by 10 in the display for addition, so this handles that oddball.

* Add null check for NBT

* Remove "contains" check

This is checked in the beginning of the addAttributes method so is not required here.

* Add curly brackets

Camotoy likes curly brackets I guess

* Use ModifierOperation enum instead of int for clarity
2023-05-16 14:54:34 -05:00
Konicai
d8ec4a5389 Hardcode armor trim recipes 2023-05-15 22:51:52 -04:00
Konicai
c2285e018b Merge remote-tracking branch 'upstream/master' into feature/1.20 2023-05-15 14:05:23 -04:00
Konicai
2570a501de Target unpublished MCPL with jitpack for successful builds 2023-05-14 20:04:14 -04:00
Konicai
67662113fd Update mappings to 1.20 2023-05-14 19:30:35 -04:00
Camotoy
8e67b87bc0
A start on signs 2023-05-14 19:12:19 -04:00
Roman Alexander
1e79aa9b37
Update AddEntityPacket to include headYaw (#3762) 2023-05-13 23:37:44 -04:00
Konicai
d9698edcc2
Fix smithing tables, but trim recipes are broken. 2023-05-13 22:42:18 -04:00
蒟蒻
ea136b269c
Add Spectator mode ability layer (#3770)
Fixes #3769
2023-05-13 17:29:30 -04:00
rtm516
2b56927d27
Fix java items getting registered at the wrong index
Co-authored-by: AJ Ferguson <AJ-Ferguson@users.noreply.github.com>
2023-05-13 19:54:16 +01:00
Konicai
e978df5a3b
Merge branch 'feature/1.20' into feature/1.20-more 2023-05-13 00:13:07 -04:00
Konicai
21623fee20
Remove special cases in block/item populators that are no longer necessary 2023-05-13 00:05:22 -04:00
rtm516
870a838c0f
Add the ability for custom items to show with an enchantment glint (#3766) 2023-05-13 00:40:17 +01:00
Konicai
2ec0d8c501
Compiling against MCPL 1.20
At a minimum, smithing and signs are broken
2023-05-11 21:27:46 -04:00
Konicai
d0bf0013ec
Use the mapped bedrock item identifier (instead of java) to fill the record registry 2023-05-11 20:08:43 -04:00
Konicai
9def94cba0
Update Items class 2023-05-11 17:52:31 -04:00
Camotoy
cc856b84b1
Initial sniffer code 2023-05-11 13:23:27 -04:00
Camotoy
8849fd7018
Revert "Revert "Drop support for versions less than 1.19.80 (#3758)""
This reverts commit d93f3dd1f5.
2023-05-11 12:38:49 -04:00
Camotoy
d93f3dd1f5
Revert "Drop support for versions less than 1.19.80 (#3758)"
This reverts commit 7b05ca3c41.
2023-05-11 12:38:11 -04:00
Konicai
7b05ca3c41
Drop support for versions less than 1.19.80 (#3758) 2023-05-11 12:36:19 -04:00
AJ Ferguson
fbac0c10db
Fix creativeNetId overlap (#3756) 2023-05-10 09:41:36 +01:00
7man7LMYT
9b264e6374
Add GeyserBedrockPingEvent (#3715) 2023-05-09 23:50:38 -04:00
Camotoy
ed21a10101
Boss bars should actually be more reliable on dimension switch 2023-05-09 01:41:57 -04:00
RednedEpic
a0b63abc6e Warn on outdated Java version 2023-05-08 19:08:40 -05:00
rtm516
6da8d5e7be
Add custom items to registry 2023-05-08 20:54:49 +01:00
Camotoy
d8acb6a82c
Fix #3735 2023-05-07 16:11:49 -04:00
Camotoy
437891dc49
Update LICENSE to cover 2023 2023-05-07 03:16:40 -04:00
onebeastchris
33d50cb668
Change the API not found error message #3670) 2023-05-07 03:07:27 -04:00
Camotoy
0d25a3f04d Fix boss bars not showing up on dimension switch 2023-05-07 02:59:44 -04:00
Camotoy
6e9b272f50
Should fix custom items and durability 2023-05-03 20:17:05 -04:00
Camotoy
f3f30625d4
Gracefully handle invalid level event IDs
Fixes #3714
2023-05-03 11:01:31 -04:00
onebeastchris
f801dc05bd
Add support for new spawn eggs (#3688) 2023-05-02 15:09:07 -04:00
Camotoy
5e5d5f3e43
Fix Javadocs 2023-05-02 13:21:17 -04:00
Camotoy
f457d953fc
Fix proxy protocol support for Bedrock
Fixes #3703
2023-05-02 13:17:25 -04:00