Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
480a7dc
Fix entity position desync when spawned in an 8 block radius from wor…
Am-Gone Aug 20, 2024
b0b31d4
Update API for swept entity <-> entity collisions (#2343)
iam4722202468 Aug 21, 2024
b05bfd9
Move EntityCollisionResult to its own class (#2345)
iam4722202468 Aug 21, 2024
6b660a4
Return directional information from entity collision (#2346)
iam4722202468 Aug 21, 2024
a521c4e
fix entity collisions (#2348)
DasBabyPixel Aug 22, 2024
b832db7
Ability to get collision shape position from PhysicsResult (#2355)
DasBabyPixel Aug 26, 2024
789befe
Coordinate limit to prevent potential overflow
TheMode Aug 26, 2024
8f46913
fix some jcstress files
TheMode Aug 28, 2024
65f75bb
clear remaining hephaistos usage
TheMode Aug 28, 2024
b1ad94c
Make BoundingBox/ShapeImpl records (#2371)
TheMode Sep 3, 2024
a3dec12
Use a single int for all block states (#2373)
TheMode Sep 3, 2024
5ec42c6
Light cleanup (#2372)
TheMode Sep 3, 2024
b1c34cc
record namespace (#2374)
TheMode Sep 3, 2024
61f7b61
Add EquipmentSlot.BODY (#2325)
TogAr2 Sep 3, 2024
2d92fa6
unused cache
TheMode Sep 3, 2024
f591566
Implement Graph Cache in CommandManager (#2360)
kermandev Sep 3, 2024
4553d3c
update dependencies
TheMode Sep 4, 2024
c24f3a5
Remove caffeine dependency from EventNode (#2375)
TheMode Sep 4, 2024
6e0ee02
Remove mojang utils cache
TheMode Sep 4, 2024
3172039
fix team visibility (#2186)
bea4dev Sep 6, 2024
1b85254
Fix chunks not being refreshed when view distance updates (#2197)
GreatWyrm Sep 6, 2024
b0bad7e
give more control of collisions to the entities colliding (#2350)
DasBabyPixel Sep 6, 2024
c509804
Playsound exclude (#2381)
Minikloon Sep 7, 2024
af7e357
fix: saturation not working in food item component (#2382)
SLH335 Sep 7, 2024
11ed85a
fix missing inversion in DataComponentMap#diff handling for removed e…
Floweynt Sep 7, 2024
7ce047b
More Vec operator, more min/max methods
TheMode Sep 8, 2024
d955f51
Add Block::nbtOrEmpty (#2389)
Minikloon Sep 10, 2024
44d8a81
PlayerInit shouldnt be static
TheMode Sep 13, 2024
4305006
Remove Instance dependency from pathfinding (#2397)
TheMode Sep 13, 2024
e257d4b
Add blockFace to BlockHandler.Interaction (#2388)
Minikloon Sep 16, 2024
9fbff43
feat: register multiple commands (#2394)
DebitCardz Sep 16, 2024
25901b3
Add EntityTeleportEvent (#2407)
CoPokBl Sep 19, 2024
d0754f2
simplify teleport event + expose correct relativity fields (#2408)
KrystilizeNevaDies Sep 19, 2024
916424e
Update Tag.java (#2418)
unjoinable Sep 27, 2024
96bf145
feat: Added Instance.setWorldAge() (#2414)
pernydev Sep 28, 2024
e8f34c3
Dispatch InventoryCloseEvent after Player#closeInventory (#2415)
DebitCardz Sep 30, 2024
38b3ad3
Revert "Dispatch InventoryCloseEvent after Player#closeInventory (#24…
mworzala Oct 2, 2024
59406d5
fix: catch any throwable in tick loop to prevent thread death
mworzala Oct 4, 2024
b9780c8
fix: call PlayerDisconnectEvent on all ConnectionState (#2243)
Spliterash Oct 6, 2024
1d360f3
Fix possible crasher & console spammer (#2428)
athulsib Oct 6, 2024
1c47dd6
Fix EffectChance network writer (#2429)
GreatWyrm Oct 6, 2024
0ca1dda
fix: allow zero length message in RAW_BYTES (plugin message)
mworzala Oct 15, 2024
81ecb0f
fix: PlayerAnvilInputEvent should be an InventoryEvent
mworzala Oct 21, 2024
bcb0301
Duplicate block property ID fix + unit test (#2433)
boxic Oct 21, 2024
dba90a4
Fix anvil saving (minimum 4 bits per entry in block_states palette) (…
Minikloon Oct 24, 2024
3e75a6e
Apply microtus patches 1-20
TheMeinerLP May 22, 2024
e932211
Fix build grade
TheMeinerLP Aug 5, 2024
3d1403f
Add missing adventure nbt lib
TheMeinerLP Aug 5, 2024
97a098b
Add missing dependencies
TheMeinerLP Aug 5, 2024
eb05106
Remove old biome, banner, shield, particle, attribute system
TheMeinerLP Aug 5, 2024
010c8f9
Fix forward data generator
TheMeinerLP Aug 5, 2024
71f3aa0
Disable stress tester for compile reasons
TheMeinerLP Aug 5, 2024
e690603
Remove old network stack
TheMeinerLP Aug 5, 2024
9ef6f38
Remove no longer exists api form player
TheMeinerLP Aug 5, 2024
a325448
Fix forward bstats
TheMeinerLP Aug 5, 2024
5c4b08b
Fix forward server flags
TheMeinerLP Aug 5, 2024
c21ff0a
Fix forward terminal color converter
TheMeinerLP Aug 5, 2024
caac289
Fix forward inventory tests
TheMeinerLP Aug 5, 2024
0b95d8f
Fix forward frog meta test
TheMeinerLP Aug 5, 2024
5998ddb
Update files like in microtus main
TheMeinerLP May 22, 2024
9d388a0
Apply better workflow
TheMeinerLP May 22, 2024
6ecec4b
Move miss landed classes after patching source
TheMeinerLP May 23, 2024
35d251d
Fix workflows for java 21
TheMeinerLP May 23, 2024
436c16b
Fix workflows for java 21
TheMeinerLP May 23, 2024
44d52aa
[Chore] Update gradle to 8.7
TheMeinerLP May 24, 2024
13c4b5a
[Chore] Remove preview feature
TheMeinerLP May 24, 2024
11d234d
[Bugfix] Improve version string for bstats
TheMeinerLP May 24, 2024
bc32c1b
Update README.md
TheMeinerLP May 24, 2024
cdbaa37
Update snapshot and release version
OneLiteFeather May 24, 2024
eefac0c
[Chore] Replace e.printstacktrace with exception manager call or logger
TheMeinerLP May 25, 2024
1cc3d1f
Create CNAME
TheMeinerLP May 25, 2024
fda8a50
Bump snapshot version (#31)
TheMeinerLP May 25, 2024
e21fb24
Update build.gradle.kts
TheMeinerLP May 26, 2024
ff1f370
Improve license usage
TheMeinerLP May 26, 2024
be3f7cc
Improve license usage
TheMeinerLP May 26, 2024
408613a
[#30] Release 1.4.0
TheMeinerLP May 26, 2024
c873642
[#30] Re-Release 1.4.1
TheMeinerLP May 26, 2024
db3bc06
Go back to snapshot
TheMeinerLP May 26, 2024
702c8d2
Ignore bstats file
TheMeinerLP May 26, 2024
d9032ce
[#34] Better Notification System (#35)
TheMeinerLP May 27, 2024
b6cc5d7
Add bom
TheMeinerLP May 28, 2024
6bae914
Improve bom
TheMeinerLP May 28, 2024
2e6e2c2
Remove java version from bom
TheMeinerLP May 28, 2024
7908bbd
Change bom deployment
TheMeinerLP May 28, 2024
2c17fde
Change bom deployment
TheMeinerLP May 28, 2024
a83f9ec
[Feature] Improved Testing Lib (#42)
TheMeinerLP May 28, 2024
24613f8
Add missing dependencies
TheMeinerLP May 28, 2024
6964dd9
Add missing dependencies
TheMeinerLP May 28, 2024
8d7f57e
Improve release workflow
TheMeinerLP May 28, 2024
ecd9348
Improve release workflow
TheMeinerLP May 28, 2024
d737a1a
Bump version
TheMeinerLP May 28, 2024
7df69ec
Update dependency com.google.code.gson:gson to v2.11.0
renovate[bot] May 28, 2024
28f7025
Update dependency org.mockito:mockito-core to v5.12.0
renovate[bot] May 28, 2024
5dab684
Update actions/cache action to v4
renovate[bot] May 28, 2024
3e76ec2
Update gradle/wrapper-validation-action action to v3
renovate[bot] May 28, 2024
a882a91
Update kotlin monorepo to v2
renovate[bot] May 28, 2024
37dab04
[Chore] Update gradle to version 8.8 (#58)
theEvilReaper Jun 1, 2024
7b86b67
Update CODEOWNERS
TheMeinerLP Jun 11, 2024
ac00bbb
Update CODEOWNERS
TheMeinerLP Jun 11, 2024
79bb25c
Update README.md
TheMeinerLP Jun 16, 2024
e63f573
Bump version to 1.5.0
TheMeinerLP Aug 5, 2024
c030fdc
Add missing import
TheMeinerLP Aug 5, 2024
d1f317e
Add support for older as 1.21 minecraft worlds
TheMeinerLP Aug 5, 2024
58435d5
Update BOM dependencies
TheMeinerLP Aug 5, 2024
773e106
Apply microtus patches 1-20
TheMeinerLP May 22, 2024
ea4c102
Fix compile mistake after apply patches
TheMeinerLP May 22, 2024
af82fef
Fix compile mistake after apply patches
TheMeinerLP May 22, 2024
5a774ee
Move miss landed classes after patching source
TheMeinerLP May 23, 2024
4241d07
[Docs] Fix docs generation
TheMeinerLP May 24, 2024
88cc226
[Chore] Change adventure javadocs link
TheMeinerLP May 24, 2024
acfdf8c
[Chore] Update gradle to 8.7
TheMeinerLP May 24, 2024
1fecaf2
[Chore] Improve internal registry handling for implementation creation.
TheMeinerLP May 24, 2024
aefdd58
Remove not longer needed biome generator (#21)
TheMeinerLP May 24, 2024
076ec51
[Chore] Rework attribute system to generice generator (#23)
TheMeinerLP May 24, 2024
571e1f3
[Chore] Replace static enum with generated villager types and profess…
TheMeinerLP May 24, 2024
baa6712
[Chore] Replace enum with code generator for fluids (#27)
TheMeinerLP May 26, 2024
c4564c4
Comment out gameevent tags and fix order of AtomicInteger for fluid r…
TheMeinerLP May 26, 2024
7925d80
[#34] Better Notification System (#35)
TheMeinerLP May 27, 2024
e99aca4
[Chore] Update gradle to version 8.8 (#58)
theEvilReaper Jun 1, 2024
a02cb8c
Remove no longer needed classes
TheMeinerLP Aug 5, 2024
ae8aad8
Fix forward compile issues
TheMeinerLP Aug 5, 2024
554a263
Update from Upstream (#68)
TheMeinerLP Aug 18, 2024
04b546e
Remove jitpack section
theEvilReaper Aug 19, 2024
8433253
Deprecated old testing and introduce into new method
TheMeinerLP Jun 16, 2024
227e37e
Update code to new testing framework
TheMeinerLP Jun 16, 2024
8f095fd
Add jacoco
TheMeinerLP Jun 16, 2024
1da2225
Use sonarqube plugin
TheMeinerLP Jun 16, 2024
c98e49c
Cleanup tests
theEvilReaper Jun 17, 2024
29ede36
Remove some parentheses from an variable
theEvilReaper Jun 17, 2024
7c75003
Update env tests usage
TheMeinerLP Aug 19, 2024
314494c
Cleanup generator package (#71)
theEvilReaper Aug 20, 2024
b75f365
Enhance instance and player handling in the test module (#72)
theEvilReaper Sep 4, 2024
6a0d3bc
Pull upstream (#73)
TheMeinerLP Sep 9, 2024
b3200ec
Cache the result of the values method
theEvilReaper Sep 13, 2024
a4b06e2
Update BlockFace iteration
theEvilReaper Sep 13, 2024
0ac4630
Add test for update feature packet
TheMeinerLP Sep 14, 2024
3aa7bf9
Remove old notification system (#76)
theEvilReaper Sep 19, 2024
3b86227
Improve pattern usage (#80)
theEvilReaper Oct 2, 2024
b79591f
Fix custom player provider usage for junit (#81)
TheMeinerLP Oct 15, 2024
31bbd27
Update renovate config
TheMeinerLP Oct 18, 2024
c8131cc
Add flag to modify the maximum amount of usable ServerLinks (#85)
Joltras Oct 21, 2024
4f4dfa2
Fix potential protocol mismatch and exploit
TheMeinerLP Oct 28, 2024
d08a791
Update readme product life cycle
TheMeinerLP Oct 30, 2024
06f0645
send explosions only to nearby players
joelramilison Oct 16, 2024
1420993
Add integration test for Explosion.java
joelramilison Oct 20, 2024
41254ef
Completed ExplosionIntegrationTest.java
joelramilison Oct 20, 2024
ea6962e
formally improve ExplosionIntegrationTest.java
joelramilison Oct 22, 2024
aa3e219
Merge remote-tracking branch 'origin/master' into feature/pull-upstream
TheMeinerLP Oct 31, 2024
2021209
Fix compile issue for code generator
TheMeinerLP Oct 31, 2024
dcd850d
Remove obsolete feature flag generator
TheMeinerLP Oct 31, 2024
06828a6
Remove obsolete attribute manager file
TheMeinerLP Oct 31, 2024
1f7839f
Re-add fluid generation
TheMeinerLP Oct 31, 2024
5df8d41
Remove old fluid registry
TheMeinerLP Oct 31, 2024
02c82af
Re-add villager profession and type generation and implementation
TheMeinerLP Oct 31, 2024
b584fba
Fix small compile issues and adding missing method
TheMeinerLP Oct 31, 2024
f9cc1f5
Remove obsolete code generators
TheMeinerLP Oct 31, 2024
801dd1a
Remove no longer needed tests
TheMeinerLP Oct 31, 2024
a86930d
Fix order of atomic int for fluid registry
TheMeinerLP Oct 31, 2024
8ea7282
Add missing import
TheMeinerLP Oct 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ dependencies {
implementation("net.kyori", "indra-publishing-sonatype", indraVersion)
implementation("org.graalvm.buildtools", "native-gradle-plugin", "0.9.28")
implementation("io.github.gradle-nexus", "publish-plugin", "2.0.0-rc-1")
}
}
17 changes: 3 additions & 14 deletions code-generators/src/main/java/net/minestom/codegen/Generators.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package net.minestom.codegen;

import net.minestom.codegen.color.DyeColorGenerator;
import net.minestom.codegen.fluid.FluidGenerator;
import net.minestom.codegen.particle.ParticleGenerator;
import net.minestom.codegen.recipe.RecipeTypeGenerator;
import org.slf4j.Logger;
Expand Down Expand Up @@ -38,6 +37,9 @@ public static void main(String[] args) {
generator.generate(resource("custom_statistics.json"), "net.minestom.server.statistic", "StatisticType", "StatisticTypeImpl", "StatisticTypes");
generator.generate(resource("attributes.json"), "net.minestom.server.entity.attribute", "Attribute", "AttributeImpl", "Attributes");
generator.generate(resource("feature_flags.json"), "net.minestom.server", "FeatureFlag", "FeatureFlagImpl", "FeatureFlags");
generator.generate(resource("villager_professions.json"), "net.minestom.server.entity.villager", "VillagerProfession", "VillagerProfessionImpl", "VillagerProfessions");
generator.generate(resource("villager_types.json"), "net.minestom.server.entity.villager", "VillagerType", "VillagerTypeImpl", "VillagerTypes");
generator.generate(resource("fluids.json"), "net.minestom.server.fluid", "Fluid", "FluidImpl", "Fluids");

// Dynamic registries
generator.generateKeys(resource("chat_types.json"), "net.minestom.server.message", "ChatType", "ChatTypes");
Expand All @@ -52,19 +54,6 @@ public static void main(String[] args) {
generator.generateKeys(resource("painting_variants.json"), "net.minestom.server.entity.metadata.other", "PaintingMeta.Variant", "PaintingVariants");
generator.generateKeys(resource("jukebox_songs.json"), "net.minestom.server.instance.block.jukebox", "JukeboxSong", "JukeboxSongs");

// Generate fluids
new FluidGenerator(resource("fluids.json"), outputFolder).generate();

// TODO: Generate villager professions
// new VillagerProfessionGenerator(
// new File(inputFolder, targetVersion + "_villager_professions.json"),
// outputFolder
// ).generate();
// TODO: Generate villager types
// new VillagerTypeGenerator(
// new File(inputFolder, targetVersion + "_villager_types.json"),
// outputFolder
// ).generate();
LOGGER.info("Finished generating code");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ protected MinestomCodeGenerator() {
return namespace.replace("minecraft:", "").toUpperCase(Locale.ROOT);
}

protected static @NotNull String extractNamespaces(@NotNull String namespace, @NotNull Map<String, String> arguments) {
if (arguments.isEmpty()) return extractNamespace(namespace);

for (Map.Entry<String, String> entry : arguments.entrySet()) {
namespace = namespace.replace(entry.getKey(), entry.getValue());
}
return namespace.toUpperCase(Locale.ROOT);
}

protected static String toConstant(String namespace) {
return namespace.replace("minecraft:", "").toUpperCase(Locale.ROOT);
Expand Down

This file was deleted.

Loading