Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "fabric-loom" version "1.10.5"
id "fabric-loom" version "1.11.3"
id "maven-publish"
}

Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ mod_version = 1.0.0
org.gradle.jvmargs = -Xmx1G

# Versions
minecraft_version = 1.21.4
yarn_mappings = 1.21.4+build.8
minecraft_version = 1.21.7
yarn_mappings = 1.21.7+build.4
loader_version = 0.16.14
fabric_version = 0.119.2+1.21.4
fabric_version = 0.128.2+1.21.7

plasmid_version = 0.6.3+1.21.4
plasmid_version = 0.6.5+1.21.7
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public ChunkGenerator createGenerator(MinecraftServer server) {
}

public void teleportToWaitingSpawn(ServerPlayerEntity player) {
player.teleport(player.getServerWorld(), this.getWaitingSpawnPos().getX(), this.getWaitingSpawnPos().getY(), this.getWaitingSpawnPos().getZ(), Set.of(), 0, 0, true);
player.teleport(player.getWorld(), this.getWaitingSpawnPos().getX(), this.getWaitingSpawnPos().getY(), this.getWaitingSpawnPos().getZ(), Set.of(), 0, 0, true);
}

public boolean isOutOfBounds(ServerPlayerEntity player) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import net.minecraft.entity.attribute.EntityAttributes;
import net.minecraft.entity.player.PlayerPosition;
import net.minecraft.item.ItemStack;
import net.minecraft.item.LeadItem;
import net.minecraft.network.packet.s2c.play.EntityVelocityUpdateS2CPacket;
import net.minecraft.network.packet.s2c.play.PositionFlag;
import net.minecraft.particle.BlockStateParticleEffect;
Expand Down Expand Up @@ -163,9 +162,7 @@ public void reset(GameMode gameMode) {
InventoryUtil.clear(this.alivePlayer);

// https://bugs.mojang.com/browse/MC-99785
List<Leashable> leashEntities = LeadItem.collectLeashablesAround(this.alivePlayer.getWorld(), this.alivePlayer.getBlockPos(), entity -> {
return entity.getLeashHolder() == this.alivePlayer;
});
List<Leashable> leashEntities = Leashable.collectLeashablesHeldBy(this.alivePlayer);

for (Leashable entity : leashEntities) {
if (entity.isLeashed() && entity.getLeashHolder() == this.alivePlayer) {
Expand Down