altrisi
773e8722ca
Reuse Mojang's floor function in noise samplers
2023-05-01 14:04:49 +02:00
altrisi
68a447daf9
Don't use map color to check for wool color ( #1708 )
2023-04-27 18:07:23 +02:00
altrisi
1c4bcd682d
Use DyeColor's textColor for hopper counters ( #1709 )
...
* Use `DyeColor`'s `textColor` for hopper counters
* Remove now unused `Material2DyeName` map in `WoolTool`
2023-04-27 18:06:57 +02:00
gnembon
00ee45d59b
1.4.106
2023-04-26 22:59:34 +02:00
gnembon
07033af7dd
23w17a
2023-04-26 22:58:59 +02:00
altrisi
15b120f729
Encapsulate COUNTERS field in HopperCounter
2023-04-22 20:45:29 +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
github-actions[bot]
66d906b8ae
Merge docs for 'Carpet Mod 1.4.105 for Minecraft 23w16a'
2023-04-20 20:35:42 +00:00
gnembon
ebd6db42c8
1.4.105
2023-04-20 22:14:17 +02:00
gnembon
d68c252180
23w16a
2023-04-20 22:13:32 +02:00
gnembon
97ab52a917
removal of material()
2023-04-20 22:02:33 +02:00
gnembon
51fae27708
single argument print(foo) in player scoped apps will always target the player instance for chat message output.
2023-04-20 20:46:33 +02:00
gnembon
c9b93e598a
added two argument while loop because duh?
2023-04-20 14:26:40 +02:00
Ghoulboy
598ec82d02
Replace deprecated world_time() with system_info('world_time') ( #1702 )
2023-04-15 21:33:54 +02:00
altrisi
384bd37159
Remove unnecessary getPlayerOrException in TickCommand
2023-04-13 20:27:20 +02:00
altrisi
51f213fa15
Cleanup counter command ( #1695 )
...
- Import `Commands.literal`
- Use more readable syntax for Brigadier command
- Use `DyeColor` directly instead of toString -> fromString everywhere
- Also updates `WoolTool` to use the new `HopperCounter` getter that supports it
- Split `resetCounter` in two, one for single and one for all
Also: HopperCounter now uses `.overworld()` and its `//OW` comments are removed
2023-04-08 20:14:26 +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
altrisi
6b9e7aff3e
Use List.of in EquipmentInventory
...
`Arrays.asList` isn't immutable, and `List.of` can be optimized slightly better, is more readable and also removes an import
2023-04-08 16:14:47 +02:00
altrisi
a3762584f3
Use for loop for hopper counter info in HUDController
2023-04-08 16:12:38 +02:00
github-actions[bot]
d5cd0331b3
Merge docs for 'Carpet Mod 1.4.104 for Minecraft 23w14a'
2023-04-05 18:33:35 +00:00
gnembon
8b7e6209c7
1.4.104
2023-04-05 20:12:43 +02:00
gnembon
1751f103f9
23w14a
2023-04-05 20:12:21 +02:00
gnembon
9a5c2d5fc3
deprecation of material(...), fix map_colour(...)
2023-04-05 20:09:52 +02:00
altrisi
fdb0936df7
Remove deprecated log4j dependent methods in c.s.SettingsManager
...
And another one that is normally a bug to use, and a field that is
broken.
Enables `runtimeOnlyLog4j` in loom
2023-04-04 15:57:59 +02:00
altrisi
cda7f791b7
Prioritize new Rule annotation when parsing if both are present
2023-04-03 21:58:16 +02:00
altrisi
50c22b6fe2
Log exceptions in notifyPlayersCommandsChanged
...
I want to remove this try-catch if possible, but don't know why it's
triggered
2023-04-03 21:47:30 +02:00
altrisi
3ae913c3e6
Use enhanced switch in CommandHelper
2023-04-03 21:42:44 +02:00
altrisi
d85c23125f
Add explicit deprecation SuppressWarnings for Gradle
2023-04-03 19:40:33 +02:00
altrisi
56e25a780c
Missed call in 5fcfc7a
2023-04-03 19:19:31 +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
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
altrisi
5fcfc7aa8d
Tiny drive-by cleanup of action pack's onUpdate
2023-04-02 21:54:44 +02:00
altrisi
73260a220c
Use EnumMap in the action pack
2023-04-02 21:23:42 +02:00
altrisi
2d0a8e11da
Keep the other improvements from #1689
2023-04-02 13:26:46 +02:00
altrisi
b055b05263
Revert "Fix /player look and turn commands reversing yaw and pitch ( #1689 )"
...
This reverts commit 591153458c .
2023-04-02 12:51:22 +02:00
altrisi
591153458c
Fix /player look and turn commands reversing yaw and pitch ( #1689 )
...
* Fix `/player` `look` and `turn` commands reversing yaw and pitch
* Translate a comment to mojmap and update it a bit
2023-04-01 12:34:54 +02:00
James McCulloch
e7c02ea21a
shadow-single-player-owner-fix: ( #1687 )
...
* shadow-single-player-owner-fix:
* Disallow shadowing a single player server owner. Fixes #1442
* shadow-single-player-owner-fix:
* Remove some redundant calls
2023-04-01 12:22:04 +02:00
gnembon
ea693d0fb1
1.4.103
2023-03-29 19:42:18 +02:00
gnembon
4171f9b784
23w13a
2023-03-29 18:44:12 +02:00
altrisi
23b7aa0945
Require Loader 0.14.18
2023-03-23 18:09:55 +01:00
gnembon
972ed09d6b
1.4.102
2023-03-22 18:51:32 +01:00
gnembon
f1586b3809
23w12a
2023-03-22 18:27:44 +01:00
altrisi
4e94d1bc15
Enforce 1.19.4 in dependency resolution
2023-03-20 18:51:20 +01:00
altrisi
d2d7d6f421
Carpet 1.4.101
2023-03-19 19:37:03 +01:00
altrisi
1ad927da9d
Up priority in MinecraftServer_tickspeedMixin
2023-03-19 19:36:37 +01:00
Ghoulboy
cde3ffced2
Fixing /player botname stop with relation to *fake* player movement ( #1683 )
2023-03-19 18:56:12 +01:00
altrisi
f98c2409be
Simplify enum options creation
...
Slightly optimizes it
2023-03-16 17:36:44 +01:00
replaceitem
8aae23c983
Fixed AnnotationParser not detecting USE_METHOD_NAME ( #1677 )
2023-03-15 14:46:31 +01:00
github-actions[bot]
5a4f3ab877
Merge docs for 'Carpet Mod 1.4.100 for Minecraft 1.19.4'
2023-03-14 17:38:12 +00:00