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
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.5
yarn_mappings = 1.21.5+build.1
loader_version = 0.16.14
fabric_version = 0.119.2+1.21.4
fabric_version = 0.124.0+1.21.5

plasmid_version = 0.6.3+1.21.4
plasmid_version = 0.6.4+1.21.5
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.github.haykam821.volleyball.entity;

import java.util.Collections;
import java.util.Comparator;
import java.util.stream.Stream;

Expand Down Expand Up @@ -201,11 +200,6 @@ public void equipStack(EquipmentSlot slot, ItemStack stack) {
return;
}

@Override
public Iterable<ItemStack> getArmorItems() {
return Collections.emptySet();
}

@Override
public ItemStack getEquippedStack(EquipmentSlot slot) {
return ItemStack.EMPTY;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public Vec3d getWaitingSpawnPos() {
}

public float getWaitingSpawnYaw() {
return this.waitingSpawn.getData().getFloat(FACING_KEY);
return this.waitingSpawn.getData().getFloat(FACING_KEY, 0);
}

public void spawnAtWaiting(ServerWorld world, Entity entity) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public TemplateRegion getArea() {
// Utilities
public void spawn(ServerWorld world, ServerPlayerEntity player) {
Vec3d spawnPos = this.spawn.getBounds().centerBottom();
float yaw = this.spawn.getData().getFloat(VolleyballMap.FACING_KEY);
float yaw = this.spawn.getData().getFloat(VolleyballMap.FACING_KEY, 0);

player.teleport(world, spawnPos.getX(), spawnPos.getY(), spawnPos.getZ(), Set.of(), yaw, 0, true);
}
Expand Down