Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for org.bukkit.craftbukkit.entity.CraftMinecart#minecartEntityTypeToMaterial #11535

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
2ef589c
okaaay let's go
NoahvdAa Oct 22, 2024
d0028b7
you saw nothing
NoahvdAa Oct 22, 2024
e080b20
Bundles are no longer experimental (thanks lynx)
NoahvdAa Oct 22, 2024
d280061
First batch of server patches
NoahvdAa Oct 22, 2024
3585434
first 100!
NoahvdAa Oct 22, 2024
6b27267
oops
NoahvdAa Oct 22, 2024
152e82c
Some work
lynxplay Oct 22, 2024
9e92fed
More work?
lynxplay Oct 22, 2024
f1649d7
Work it
lynxplay Oct 22, 2024
9d63c81
Work work work
lynxplay Oct 22, 2024
dc5af48
Breakpoint before projectile mess
lynxplay Oct 23, 2024
7c04a31
Update projectile launch to 1.21.2
lynxplay Oct 23, 2024
a400929
242
lynxplay Oct 23, 2024
8851d25
Fluid Flowing ifLoaded patch
lynxplay Oct 23, 2024
f677393
Skip Improve-exact-choice-recipe-ingredients for now
lynxplay Oct 23, 2024
5e262c1
298
lynxplay Oct 23, 2024
aa37f72
Patches
Owen1212055 Oct 23, 2024
af125d2
Patch
Owen1212055 Oct 23, 2024
6bfc6db
Patch
Owen1212055 Oct 23, 2024
09b625e
400
lynxplay Oct 23, 2024
1f8b537
440
lynxplay Oct 23, 2024
f5177aa
Some more work
lynxplay Oct 23, 2024
2810f50
503
lynxplay Oct 23, 2024
0bb4d1d
553
lynxplay Oct 23, 2024
4db2503
Work work work work
lynxplay Oct 23, 2024
cbf6416
A bunch of patches
electronicboy Oct 23, 2024
6456b5d
A bunch more 637
electronicboy Oct 23, 2024
cb79de8
moooore
NoahvdAa Oct 23, 2024
1dc1425
MOOOOORE
NoahvdAa Oct 23, 2024
d52e2d2
MOOOOOOOORE
NoahvdAa Oct 23, 2024
4baf9ab
MOOOOOOOOOOORE
NoahvdAa Oct 23, 2024
dd87f9f
fix gruesome copyright violation
NoahvdAa Oct 23, 2024
5a6011c
MOOOOOOOOOOOOOORE
NoahvdAa Oct 23, 2024
5d19e2b
good luck americans
NoahvdAa Oct 23, 2024
457d035
Patches, patches, patches
lynxplay Oct 24, 2024
80de05f
Patch me this, patch me that
lynxplay Oct 24, 2024
26f7b4c
Patch
Owen1212055 Oct 24, 2024
89bf081
Patch
Owen1212055 Oct 24, 2024
7d4cce9
Patch
Owen1212055 Oct 24, 2024
b237528
Readd wrongly removed diff
lynxplay Oct 24, 2024
fc05430
963
lynxplay Oct 24, 2024
9047541
Upstream update
lynxplay Oct 24, 2024
d67e55d
Checkpoint
electronicboy Oct 24, 2024
fe142cd
Anti Xray
electronicboy Oct 24, 2024
35e01d7
Update work 989
lynxplay Oct 24, 2024
7616ebc
1000
lynxplay Oct 24, 2024
6a31574
1020
lynxplay Oct 24, 2024
227caac
Wrong attempt at Tag lifecycle
lynxplay Oct 25, 2024
afbb0d8
1037
lynxplay Oct 25, 2024
b06e0b0
Work on compile errors
lynxplay Oct 25, 2024
9c83387
Compile issues 1
lynxplay Oct 25, 2024
0f011a3
Some more compile issues
lynxplay Oct 25, 2024
6fb86bb
Compiler issues v2
lynxplay Oct 25, 2024
918ca96
Compiler issues v3
lynxplay Oct 25, 2024
bb124f4
Compiler issues v4
lynxplay Oct 25, 2024
0a8fd78
Compiler issue v5
lynxplay Oct 25, 2024
e19f484
Test compile fixes
lynxplay Oct 25, 2024
3518974
fix some issues
Lulu13022002 Oct 25, 2024
6df21e6
Start Moonrise update
Spottedleaf Oct 22, 2024
47258a7
Move common diffs to MCUtils
Spottedleaf Oct 24, 2024
ecf4d97
Begin fixing issues
Spottedleaf Oct 24, 2024
8e569ba
Merge patches
Spottedleaf Oct 24, 2024
3b31621
Implement config hooks in PaperHooks
Spottedleaf Oct 24, 2024
e9c58f5
Implement chunk tick iteration optimisations
Spottedleaf Oct 24, 2024
2a95ad1
Implement explosion optimisations
Spottedleaf Oct 24, 2024
16d2c9d
Implement Starlight
Spottedleaf Oct 24, 2024
3d7b570
Implement chunk system
Spottedleaf Oct 24, 2024
1d341df
Fix some compile errors from patches
Spottedleaf Oct 24, 2024
6daedd7
Prepare rebase
Spottedleaf Oct 24, 2024
75e3409
Complete rebase, start review
Spottedleaf Oct 24, 2024
f1a11a6
Finish mixin diff review
Spottedleaf Oct 24, 2024
a911f4a
Prepare rebase
Spottedleaf Oct 25, 2024
35ef293
Finish rebase
Spottedleaf Oct 25, 2024
9ecf77e
Fix compile issues
Spottedleaf Oct 25, 2024
62e3bcd
Review patch-to-patch diff
Spottedleaf Oct 25, 2024
b711764
Rebase fixups
Spottedleaf Oct 25, 2024
2e76d3f
Specify mainCapabilityAttribute for paper-api
jpenilla Oct 25, 2024
e4efb59
fix compile issues
Spottedleaf Oct 25, 2024
683ce20
Fix Anti-Xray using wrong data in chunk deserialize
Spottedleaf Oct 25, 2024
e92607c
Fix MSPT command
Spottedleaf Oct 25, 2024
dcd81a8
Fix crafting (and server icon)
lynxplay Oct 25, 2024
61136fe
Add max minecarft speed gamerule config
Spottedleaf Oct 25, 2024
ba1ee87
Revert "Add max minecarft speed gamerule config"
Spottedleaf Oct 25, 2024
cf03bed
Add startup flag to disable gamerule limits
Spottedleaf Oct 25, 2024
be2edea
Fix boats/minecarts not dropping when destroyed
Spottedleaf Oct 25, 2024
b14d336
Apply watchdoge patches
jpenilla Oct 26, 2024
2946dbb
Update WorldServer#serverlevelData mapping
electronicboy Oct 26, 2024
98af0e0
update generator
Lulu13022002 Oct 26, 2024
20507b4
Apply more patches
kennytv Oct 26, 2024
7162ff0
fix item meta
Lulu13022002 Oct 26, 2024
7d67d3f
fix DamageTypeTags init
Lulu13022002 Oct 26, 2024
0971875
re-add improve perf of mass crafts
Machine-Maker Oct 26, 2024
bcf52fe
Delete some old patches
kennytv Oct 27, 2024
348c855
Readd last API patch (with TODO)
kennytv Oct 27, 2024
b630564
More patches
kennytv Oct 27, 2024
3cb16c9
Add back per player mob spawning
kennytv Oct 27, 2024
fe7b741
Another one
kennytv Oct 27, 2024
12ed021
Update material tags and entity effect
lynxplay Oct 27, 2024
02bca1e
Remove timings impl
kennytv Oct 27, 2024
4d87302
Fix NPE and StackOverflowError for dispensers
Lulu13022002 Oct 27, 2024
f8f230a
Remove unnecessary AT
jpenilla Oct 27, 2024
29bf7be
Fix unused parameter in PlayerList#remove
jpenilla Oct 27, 2024
9e35192
Execute spark tasks during tick sleep (#11525)
jpenilla Oct 27, 2024
e35f199
Use declaration order for state holder property iteration
jpenilla Oct 28, 2024
6288adb
Remove leftover missed timings calls (#11527)
granny Oct 28, 2024
99b1bf9
Use new ClientboundPlayerRotationPacket for setting player rotation
Owen1212055 Oct 28, 2024
40211a0
Update Gradle wrapper to 8.10.2
jpenilla Oct 28, 2024
49eae0d
remove some leftovers
Lulu13022002 Oct 29, 2024
d576cfc
cleanup bugfix patch
Lulu13022002 Oct 29, 2024
1196ab5
Avoid issues with certain tasks not processing during sleep (#11526)
jpenilla Oct 29, 2024
fe2f3d4
Fix portal exit resulting in bad teleport transition
kennytv Oct 29, 2024
9f1fa0b
Fix item gravity on inactive items, remove dumb active skipping
kennytv Oct 30, 2024
1a1d0cf
Use target pitch in teleport (generally the same thing)
kennytv Oct 30, 2024
8ba3073
fix "is_freezing" damage type tag
Lulu13022002 Oct 30, 2024
1523212
don't resend effects when PlayerItemConsumeEvent is cancelled
Lulu13022002 Oct 30, 2024
1330880
Add Friction API to minecarts
NoahvdAa Oct 30, 2024
580a610
Allow using old ender pearl behavior & apply ender pearl exploit patc…
jpenilla Oct 30, 2024
40a960d
Rebuild patches
lynxplay Oct 30, 2024
eeb8c37
Add test for org.bukkit.craftbukkit.entity.CraftMinecart#minecartEnti…
Abelkrijgtalles Oct 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ How To (Plugin Developers)
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.21.1-R0.1-SNAPSHOT</version>
<version>1.21.3-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
```
Expand All @@ -53,7 +53,7 @@ repositories {
}

dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT")
compileOnly("io.papermc.paper:paper-api:1.21.3-R0.1-SNAPSHOT")
}

java {
Expand Down
2 changes: 1 addition & 1 deletion build-data/reobf-mappings-patch.tiny
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tiny 2 0 mojang+yarn spigot

# CraftBukkit changes type
c net/minecraft/server/level/ServerLevel net/minecraft/server/level/WorldServer
f Lnet/minecraft/world/level/storage/PrimaryLevelData; serverLevelData K
f Lnet/minecraft/world/level/storage/PrimaryLevelData; serverLevelData L

c net/minecraft/world/level/chunk/LevelChunk net/minecraft/world/level/chunk/Chunk
f Lnet/minecraft/server/level/ServerLevel; level r
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import kotlin.io.path.*
plugins {
java
`maven-publish`
id("io.papermc.paperweight.core") version "1.7.3"
id("io.papermc.paperweight.core") version "1.7.4"
}

allprojects {
Expand Down Expand Up @@ -67,7 +67,7 @@ repositories {
}

dependencies {
paramMappings("net.fabricmc:yarn:1.21.1+build.3:mergedv2")
paramMappings("net.fabricmc:yarn:1.21.3+build.1:mergedv2")
remapper("net.fabricmc:tiny-remapper:0.10.3:fat")
decompiler("org.vineflower:vineflower:1.10.1")
spigotDecompiler("io.papermc:patched-spigot-fernflower:0.1+build.13")
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
group=io.papermc.paper
version=1.21.1-R0.1-SNAPSHOT
mcVersion=1.21.1
version=1.21.3-R0.1-SNAPSHOT
mcVersion=1.21.3

# Set to true while updating Minecraft version
updatingMinecraft=false
updatingMinecraft=true

org.gradle.caching=true
org.gradle.parallel=true
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
5 changes: 4 additions & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -84,7 +86,8 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
2 changes: 2 additions & 0 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
Expand Down
3 changes: 3 additions & 0 deletions moonrise_update_1_21_2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
todo:
- in ChunkEntitySlices, implement modifySavedEntities() by copying from old
- port poi_lookup?
2 changes: 1 addition & 1 deletion paper-api-generator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {
implementation("com.squareup:javapoet:1.13.0")
implementation(project(":paper-api"))
implementation("io.github.classgraph:classgraph:4.8.47")
implementation("org.jetbrains:annotations:24.0.1")
implementation("org.jetbrains:annotations:24.1.0")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"unused",
"SpellCheckingInspection"
})
@GeneratedFrom("1.21.1")
@GeneratedFrom("1.21.3")
public interface VanillaGoal<T extends Mob> extends Goal<T> {
GoalKey<AbstractHorse> RANDOM_STAND = create("random_stand", AbstractHorse.class);

Expand Down Expand Up @@ -102,6 +102,10 @@ public interface VanillaGoal<T extends Mob> extends Goal<T> {

GoalKey<Bee> BEE_WANDER = create("bee_wander", Bee.class);

GoalKey<Bee> VALIDATE_FLOWER = create("validate_flower", Bee.class);

GoalKey<Bee> VALIDATE_HIVE = create("validate_hive", Bee.class);

GoalKey<Blaze> BLAZE_ATTACK = create("blaze_attack", Blaze.class);

GoalKey<Cat> CAT_AVOID_ENTITY = create("cat_avoid_entity", Cat.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"unused",
"SpellCheckingInspection"
})
@GeneratedFrom("1.21.1")
@GeneratedFrom("1.21.3")
@ApiStatus.Experimental
public final class BannerPatternKeys {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import io.papermc.paper.registry.RegistryKey;
import io.papermc.paper.registry.TypedKey;
import net.kyori.adventure.key.Key;
import org.bukkit.MinecraftExperimental;
import org.bukkit.block.Biome;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.jetbrains.annotations.ApiStatus;
Expand All @@ -23,7 +24,7 @@
"unused",
"SpellCheckingInspection"
})
@GeneratedFrom("1.21.1")
@GeneratedFrom("1.21.3")
@ApiStatus.Experimental
public final class BiomeKeys {
/**
Expand Down Expand Up @@ -299,6 +300,15 @@ public final class BiomeKeys {
*/
public static final TypedKey<Biome> OLD_GROWTH_SPRUCE_TAIGA = create(key("old_growth_spruce_taiga"));

/**
* {@code minecraft:pale_garden}
*
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
*/
@ApiStatus.Experimental
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
public static final TypedKey<Biome> PALE_GARDEN = create(key("pale_garden"));

/**
* {@code minecraft:plains}
*
Expand Down
Loading
Loading