diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/java/world/anhgelus/molehunt/client/mixin/NoNametags.java | 3 | ||||
| -rw-r--r-- | src/main/java/world/anhgelus/molehunt/Game.java | 1 | ||||
| -rw-r--r-- | src/main/resources/assets/molehunt/icon.png | bin | 0 -> 35896 bytes |
3 files changed, 2 insertions, 2 deletions
diff --git a/src/client/java/world/anhgelus/molehunt/client/mixin/NoNametags.java b/src/client/java/world/anhgelus/molehunt/client/mixin/NoNametags.java index d7795dd..7996c49 100644 --- a/src/client/java/world/anhgelus/molehunt/client/mixin/NoNametags.java +++ b/src/client/java/world/anhgelus/molehunt/client/mixin/NoNametags.java @@ -11,11 +11,10 @@ import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(EntityRenderer.class)
-public abstract class NoNametags<T extends Entity> {
+public class NoNametags<T extends Entity> {
@Inject(at = @At("HEAD"), method = "render", cancellable = true)
private void renderLabelOrNot(T entity, float yaw, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, CallbackInfo ci) {
if (!(entity instanceof PlayerEntity)) return;
-
ci.cancel();
}
}
\ No newline at end of file diff --git a/src/main/java/world/anhgelus/molehunt/Game.java b/src/main/java/world/anhgelus/molehunt/Game.java index c680a8f..10ef74e 100644 --- a/src/main/java/world/anhgelus/molehunt/Game.java +++ b/src/main/java/world/anhgelus/molehunt/Game.java @@ -53,6 +53,7 @@ public class Game { gamerules.get(GameRules.DO_IMMEDIATE_RESPAWN).set(true, server);
gamerules.get(GameRules.DO_ENTITY_DROPS).set(false, server);
+ final var title = new TitleS2CPacket(Text.of("§eYou are..."));
final var title = new TitleS2CPacket(Text.translatable("molehunt.game.start.suspense"));
playerManager.getPlayerList().forEach(p -> {
p.kill();
diff --git a/src/main/resources/assets/molehunt/icon.png b/src/main/resources/assets/molehunt/icon.png Binary files differnew file mode 100644 index 0000000..315d580 --- /dev/null +++ b/src/main/resources/assets/molehunt/icon.png |
