Commit Graph
75 Commits
Author SHA1 Message Date
altrisi 431b0e68de Cleanup to the /player command (#1690)
* Small cleanup to `/player` command

There should be no changes to users

* Use extracted `source` variable

* Inline another single-use small function

* Inline another trivial helper

* Import inner classes of the ActionPack

* Rename `literalargumentbuilder` variable

* Compact unnecessary three lines into one

* Inline `source.getServer` and pass `Vec3` to `createFake`

This gets outside of "just" the command, but it's fine

* Unpick name length constant

* Pass `Vec3` directly to `BlockPos.containing`
2023-04-03 18:41:09 +02:00
James McCulloch 8307794f19 Fix fake players not being able to respawn for exiting the end (#1664)
* Allow fake players to respawn (to return from the end)
* Fixes #1645 (Fake players get stuck in the end exit portal)

* fix up some imports
2023-03-14 17:07:27 +01:00
gnembon 4c8e477f4b 1.19.4-pre1 2023-02-22 20:22:02 +01:00
silnarm 23ed35a398 fake-players-falling-fix:
* Fix fake players not accumulating fallDistance or ever 'hitting the ground'
 * Fixes #1586 (Fake player does not take fall damage)
 * Should Fix #1478 (fake players cannot use critical hits)
 * Should Fix Unreported/Unconfirmed (fake players can not engage Elytras)
2023-02-22 01:33:07 +01:00
gnembon 75d94b0570 cleanup of scarpet dependencies 2023-02-08 21:13:14 +01:00
gnembon e0b6aae07b 22w43a 2022-10-26 23:26:27 +02:00
gnembon 9f776167e3 22w42a 2022-10-20 14:33:36 +02:00
gnembon 3a9e3b38dd 1.19-pre2 2022-05-23 23:06:27 +02:00
gnembon 2af763d029 1.19-pre1 2022-05-18 21:08:32 +02:00
gnembon 217567c037 22w18a 2022-05-04 21:34:22 +02:00
gnembon 746c8548e9 22w16b with massive Component changes 2022-04-21 00:26:39 +02:00
gnembon e5af397e22 22w15a 2022-04-13 21:10:24 +02:00
gnembon ef3e71b9b6 22w13a 2022-03-31 20:23:49 +02:00
altrisi 06af9ce8b1 Migrate the Carpet codebase to Mojang Mappings 2022-01-24 20:33:16 +01:00
gnembon 0de2d74ef0 Merge branch 'master' into future 2022-01-19 21:46:37 +01:00
altrisi ec47dea267 Make fake players compatible with adventure platform lib and minor refactor around them (#1235)
* Make fake players compatible with adventure platform and minor refactor around them

Cleaner approach

* Remove no longer needed enderpearl mixin for fake players

Their ClientConnection now has an open channel so isOpen returns true
2022-01-19 21:28:36 +01:00
gnembon 6c7ac72c3e rc-4 2021-11-30 02:46:12 +01:00
gnembon 7b9e5e6feb mappings 2021-09-22 21:12:11 -03:00
gnembon bc175509a2 21w37a 2021-09-18 08:46:27 -03:00
gnembon 7e67966fd2 Merge branch 'master' into future 2021-08-25 15:19:30 -03:00
gnembon a9db4099d0 Compatibility with paper cardboard. Fixes #1078 2021-08-25 00:19:31 -03:00
gnembon 35508c3635 Compatibility with paper cardboard. Fixes #1078 2021-08-25 00:17:31 -03:00
gnembon 9cdc297314 1.18 exp1 2021-07-14 01:07:19 -03:00
gnembon 702789cab5 1.17.1-rc-1 2021-07-02 00:28:49 -03:00
gnembon aa38fe4e85 update 2021-06-23 03:46:47 -03:00
gnembon 60d4887302 Merge branch 'master' into 1.17
# Conflicts:
#	src/main/java/carpet/patches/EntityPlayerMPFake.java
2021-06-23 03:38:40 -03:00
gnembon a77fc5c2f5 fake players will inherit caller flying status. Fixes #938 2021-06-23 03:38:12 -03:00
gnembon f64cf67e41 1.17-pre1 2021-05-27 15:01:07 -03:00
gnembon b96a1b1216 Merge branch 'master' into 1.17 2021-05-25 17:25:55 -03:00
Keuinandgnembon 0cb20e0795 Allow /player spawn spawn offline-mode player in online server; Code clean-up in /player spawn command (#872)
* Clean up code in PlayerCommand.spawn and EntityPlayerMPFake.createFake.

* Update src/main/java/carpet/CarpetSettings.java

* Update src/main/java/carpet/commands/PlayerCommand.java

* Update src/main/java/carpet/patches/EntityPlayerMPFake.java

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-05-25 13:21:59 -03:00
gnembon 4d15e07bae merge conflcts 2021-05-05 08:38:38 -03:00
gnembon 874b177da6 Merge branch 'master' into 1.17
# Conflicts:
#	src/main/java/carpet/patches/EntityPlayerMPFake.java
2021-05-05 08:34:22 -03:00
gnembon d3aac224ff allow to spawn players when profile servers are down. 2021-05-05 08:33:47 -03:00
gnembon 5ac22aa000 mapping 2021-05-05 01:50:04 -03:00
gnembon b84478e7db 21w17a 2021-04-28 17:05:42 -03:00
gnembon 7ab7f00316 Merge branch 'master' into 1.17 2021-04-05 09:33:24 -03:00
gnembon 6f4ee1fd00 fake players shake off players when removing 2021-04-05 09:33:04 -03:00
gnembon b49b99aea6 21w11a mappings 2021-03-31 19:20:44 -03:00
gnembon 42f78a596a 20w10a
- broken scarpet shapes
2021-03-10 23:13:59 -04:00
gnembon 3f16c45a69 mappings 2021-03-02 09:08:16 -04:00
gnembon 2cf403057c 21w08a
- rework on handling /log packets
 - rework on player attack and interaction with entities
 - rework display_title (need recheck)
 - rework packets for structure blocks
2021-02-24 18:25:16 -04:00
gnembon e89f4444dc Merge branch 'master' into 1.17 2020-12-13 06:31:17 -04:00
gnembon 97971322e5 better death messages for fake players and handling idling. Fixes #619 2020-12-11 00:14:11 -04:00
gnembon 5422493c33 20w49a 2020-12-02 19:22:56 -04:00
gnembon 91bff6a513 Merge branch 'master' into 1.17 2020-11-30 01:43:09 -04:00
gnembon 8ab0cb4e5a fake players report 'some' ip. Fixes #403 2020-11-29 18:02:38 -04:00
gnembon 3aee1a7f7f 20w48a 2020-11-25 19:21:56 -04:00
gnembon ed30bcad7c Merge branch 'master' into 1.17 2020-11-09 03:05:02 -04:00
gnembon 083792ae96 player fixes 2020-11-08 01:22:59 -04:00
gnembon 2cdea92da7 20w45a 2020-11-06 00:06:53 -04:00