1.21-pre2

This commit is contained in:
modmuss50 2024-05-31 14:43:29 +01:00
parent afdfc921b8
commit 6a6dfa1985
3 changed files with 4 additions and 4 deletions

View file

@ -107,7 +107,7 @@ public final class CommandTest implements ModInitializer {
final float minHealth = reader.getReader().readFloat();
if (minHealth > 0) {
reader.setPredicate((entity) -> entity instanceof LivingEntity livingEntity && livingEntity.getHealth() >= minHealth);
reader.addPredicate((entity) -> entity instanceof LivingEntity livingEntity && livingEntity.getHealth() >= minHealth);
}
}
);

View file

@ -57,7 +57,7 @@ public class AttachmentCopyTests implements FabricGameTest {
entity.setAttached(DUMMY, () -> 10);
entity.setAttached(COPY_ON_DEATH, () -> 10);
Entity moved = entity.teleportTo(new TeleportTarget(end, entity, TeleportTarget.field_52245));
Entity moved = entity.teleportTo(new TeleportTarget(end, entity, TeleportTarget.NO_OP));
if (moved == null) throw new GameTestException("Cross-world teleportation failed");
IntSupplier attached1 = moved.getAttached(DUMMY);

View file

@ -3,8 +3,8 @@ org.gradle.parallel=true
fabric.loom.multiProjectOptimisation=true
version=0.99.4
minecraft_version=1.21-pre1
yarn_version=+build.2
minecraft_version=1.21-pre2
yarn_version=+build.1
loader_version=0.15.11
installer_version=1.0.1