Commit Graph
86 Commits
Author SHA1 Message Date
Filip Š efddb904a0 Add option to configure listing fake players on the multiplayer screen (#1756) 2023-07-28 15:27:03 +02:00
James McCulloch 9ca4e9538f shadow-player-reconnect-fix (#1686)
* if a bot is kill()ed for a duplicate login, handle the disconnect immediately, Fixes #1468
2023-05-24 14:38:48 +02:00
James McCulloch aeb68e9ba0 Fake player portal fix (#1724)
* fake-player-portal-fix:
* Fix the teleport fix, so it doesn't crash when bots go through nether portals (Fixes #1712)

* fake-player-portal-fix:
* Re-implement fix for #1190
* Without causing #1712
* Just move the bot on the chunkmap directly.
2023-05-24 14:24:03 +02:00
gnembon e28f52171f 1.20-pre5 2023-05-23 18:25:09 +02:00
gnembon c6f52b3293 retire static TickSpeed. Use Server and Client synchronization agents. 2023-05-17 21:20:00 +02:00
gnembon df786605c2 moar client-server tick speed separation 2023-05-16 10:35:40 +02:00
gnembon e0a3060339 tickspeed server - client separation. 2023-05-14 23:36:55 +02:00
gnembon 07033af7dd 23w17a 2023-04-26 22:58:59 +02:00
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
James McCulloch 8c09946bef Fix fake players not teleporting to unloaded chunks (#1665)
* fake-players-teleporting-fix:
* Fix fake players not being moved on the chunkmap when teleporting
* Fixes #1190 (Player bots cannot be teleported to unloaded chunks)

* fake-players-teleporting-fix:
* add missing access widener

* Revert "fake-players-teleporting-fix:"

This reverts commit 617702fca14035913103140d2e04fa33065bf628.

* fake-players-teleporting-fix:
* access awaitingTeleport in a nicer way

* fake-players-teleporting-fix: * access awaitingTeleport in a nicer way
2023-03-14 17:02:41 +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
senseiwells 009d971584 Add rule to make the World Border update with ticks instead of real time (#1550) 2023-01-25 17:40:18 +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 a48a7df386 added perf command support 2021-06-06 10:32:22 -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