/
alexmakov
/
Minecraft_Java
Обзор
Документация
Войти
/
alexmakov
/
Minecraft_Java
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/main/java/com/mojang/minecraft/sound/EntitySoundPos.java
27 строк
494 B
Oliver Yasuna
Organzed some more of Block and Sound stuff
28 сен 2012, 23:43
28 сен 2012, 23:43
bd57b44
Код
Авторство
О чём код?
package com.mojang.minecraft.sound; import com.mojang.minecraft.Entity; public class EntitySoundPos extends BaseSoundPos { public EntitySoundPos(Entity source, Entity listener) { super(listener); this.source = source; } @Override public float getRotationDiff() { return super.getRotationDiff(source.x, source.z); } @Override public float getDistanceSq() { return super.getDistanceSq(source.x, source.y, source.z); } private Entity source; }