Commit Graph
945 Commits
Author SHA1 Message Date
AngelBottomless dd902fd77c Fix piglin brutes spawning in air (#1769) 2023-07-26 15:40:00 +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 e140a5ddb0 send tick info with client level data 2023-05-19 00:45:27 +02:00
gnembon b744956777 fixed server only issues, properly separated client / server logic in common class. 2023-05-18 14:19:26 +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 755ec1daa8 relight cleanup - think it works now. Little higher level, but that's what's needed. 2023-05-12 22:04:19 +02:00
gnembon fa0200c137 1.20-pre1 2023-05-10 21:12:15 +02:00
gnembon cac97b5127 23w18a 2023-05-03 22:09:14 +02:00
gnembon 9cae675ede attempt to make the game no crash when resetting chunks. Lighting gonna get fixed later I presume 2023-05-03 21:50:37 +02:00
gnembon 07033af7dd 23w17a 2023-04-26 22:58:59 +02:00
altrisi f1205a4251 Make hoppers use the getter for HopperCounter in their mixin
And very minor cleanup in it
2023-04-22 20:41:12 +02:00
gnembon d68c252180 23w16a 2023-04-20 22:13:32 +02:00
altrisi 8cd60db5e4 Random cleanups to users of Level.OVERWORLD and reduce minecraft_server usage (#1697)
- Use `overworld()` instead of `getLevel(Level.OVERWORLD)` when convenient
- Remove now unnecessary `// OW` comments, from when it had no mappings
- Make spawn chunk size and light batches not depend on global server instance
- Merge all spawn chunk size logic into SpawnChunks instead of methods in the validator
- Remove unneeded `withWorld(OVERWORLD)` with just-created server `CommandSource`s
- Use enhanced for in light batch application
2023-04-08 20:01:30 +02:00
altrisi 17c2d601d2 Remove global server reference from Player_antiCheatDisabledMixin 2023-04-08 19:48:52 +02:00
gnembon 1751f103f9 23w14a 2023-04-05 20:12:21 +02:00
altrisi 83e88856ab Rename fungus growth enum given the rule is no longer about a fix 2023-04-03 19:15:08 +02:00
gnembon 4171f9b784 23w13a 2023-03-29 18:44:12 +02:00
gnembon f1586b3809 23w12a 2023-03-22 18:27:44 +01:00
altrisi 1ad927da9d Up priority in MinecraftServer_tickspeedMixin 2023-03-19 19:36:37 +01: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
altrisi 4801534229 Sync fillLimit rule with the equivalent gamerule 2023-03-08 20:52:44 +01:00
gnembon 3f19cce649 fixed chest stickyness 2023-03-02 22:24:29 +01:00
gnembon 4c8e477f4b 1.19.4-pre1 2023-02-22 20:22:02 +01:00
gnembon a295f81fa9 23w07a 2023-02-15 20:10:24 +01:00
gnembon 2ff1f4fb71 refactored nonscarpet references yeet 2023-02-11 01:33:23 +01:00
gnembon e4c090c355 fxied player_interacts_with_blocks not triggering 2023-02-11 01:33:23 +01:00
gnembon 2b1bb9652b added ON_TICK support for display entities 2023-02-11 01:33:23 +01:00
gnembon 41e33503fb 23w06a 2023-02-08 21:44:15 +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
Space Walker 0e2f6df4d3 Allow setting qc range with quasiConnectivity setting (#1617)
* add quasiConnectivityRange setting

* make sure qc range respects different world heights

* check if source == null in qc range validator

* merge the two qc settings

* Set minimum range down to zero (no qc)
2023-01-25 17:28:05 +01:00
Crec0 f2c658bf03 Add compute_density_function to replace removed `sample_noise (#1591) 2023-01-25 17:08:36 +01:00
gnembon abe1d070de thick stuff its not a confirmed bug 2023-01-24 22:10:12 +01:00
gnembon a95622e749 22w04a 2023-01-24 21:52:01 +01:00
altrisi 1f38a2e89c Remove leadFix rule
It's been fixed for ages, and the only code we still add is already in vanilla
2023-01-20 18:27:40 +01:00
Ghoulboy bc5ece085c Added thickHugeFungusGrowthFix rule (#1458) 2023-01-20 18:07:44 +01:00
altrisi dd1dc3756a Remove a no longer necessary mixin
And tiny cleanup to another one
2023-01-19 00:30:23 +01:00
altrisi e924477558 Use enum for chainstone setting
And very minor cleanup in `CarpetSettings`
2023-01-18 22:44:12 +01:00
gnembon c7d506675e 23w03a 2023-01-18 22:11:19 +01:00
altrisi 2b95a878ad Remove now fixed flatWorldStructureSpawning rule and cleanup some unused mixins 2023-01-18 14:41:46 +01:00
gnembon bd5dfdbf9f refactor limit access to built-in registries 2023-01-18 04:07:55 +01:00
altrisi 975ee79a3c Set remap=false to brigadier mixins 2022-12-30 17:25:38 +01:00
altrisi 4496241524 Use constants for a few magic numbers in rules 2022-12-26 16:22:09 +01:00
Ghoulboy 43bb84437f Add event for commands and make __on_player_message not trigger for them (#1525)
* Restoring old behaviour of __on_player_message

Fixes #1511

* Changed to PLAYER_COMMAND

* Updated docs

* Updated event_test.sc

* Updated editor keywords

* Fixed issue
2022-12-26 15:30:50 +01:00
senseiwells b63dfa1b0a Make /fillbiome limit customisable with fillLimit (#1605) 2022-12-26 15:17:36 +01:00
altrisi 09155fd54c Deduplicate and slightly improve renewableCoral, fix crash
Fixes #1608
2022-12-26 15:11:26 +01:00