类 MinecartInsideSoundInstance
- java.lang.Object
-
- net.minecraft.client.sound.AbstractSoundInstance
-
- net.minecraft.client.sound.MovingSoundInstance
-
- net.minecraft.client.sound.MinecartInsideSoundInstance
-
- 所有已实现的接口:
SoundInstance,TickableSoundInstance
@Environment(CLIENT) public class MinecartInsideSoundInstance extends MovingSoundInstance
A sound instance played when a player is riding a minecart.- Mappings:
Namespace Name official eypintermediary net/minecraft/class_1107named net/minecraft/client/sound/MinecartInsideSoundInstance
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleanfield_27773private static floatfield_33006private static floatfield_33007private AbstractMinecartEntityminecartprivate PlayerEntityplayer-
从类继承的字段 net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z
-
-
构造器概要
构造器 构造器 说明 MinecartInsideSoundInstance(PlayerEntity player, AbstractMinecartEntity minecart, boolean bool)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanPlay()booleanshouldAlwaysPlay()voidtick()-
从类继承的方法 net.minecraft.client.sound.MovingSoundInstance
isDone, setDone
-
从类继承的方法 net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, toString
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.sound.SoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable
-
-
-
-
字段详细资料
-
field_33006
private static final float field_33006
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official mLeyp;m:Fintermediary field_33006Lnet/minecraft/class_1107;field_33006:Fnamed field_33006Lnet/minecraft/client/sound/MinecartInsideSoundInstance;field_33006:F
-
field_33007
private static final float field_33007
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official nLeyp;n:Fintermediary field_33007Lnet/minecraft/class_1107;field_33007:Fnamed field_33007Lnet/minecraft/client/sound/MinecartInsideSoundInstance;field_33007:F
-
player
private final PlayerEntity player
- Mappings:
Namespace Name Mixin selector official oLeyp;o:Lbjf;intermediary field_5457Lnet/minecraft/class_1107;field_5457:Lnet/minecraft/class_1657;named playerLnet/minecraft/client/sound/MinecartInsideSoundInstance;player:Lnet/minecraft/entity/player/PlayerEntity;
-
minecart
private final AbstractMinecartEntity minecart
- Mappings:
Namespace Name Mixin selector official pLeyp;p:Lbku;intermediary field_5456Lnet/minecraft/class_1107;field_5456:Lnet/minecraft/class_1688;named minecartLnet/minecraft/client/sound/MinecartInsideSoundInstance;minecart:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;
-
field_27773
private final boolean field_27773
- Mappings:
Namespace Name Mixin selector official qLeyp;q:Zintermediary field_27773Lnet/minecraft/class_1107;field_27773:Znamed field_27773Lnet/minecraft/client/sound/MinecartInsideSoundInstance;field_27773:Z
-
-
构造器详细资料
-
MinecartInsideSoundInstance
public MinecartInsideSoundInstance(PlayerEntity player, AbstractMinecartEntity minecart, boolean bool)
- Mappings:
Namespace Name Mixin selector official <init>Leyp;<init>(Lbjf;Lbku;Z)Vintermediary <init>Lnet/minecraft/class_1107;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1688;Z)Vnamed <init>Lnet/minecraft/client/sound/MinecartInsideSoundInstance;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;Z)V
-
-
方法详细资料
-
canPlay
public boolean canPlay()
- Mappings:
Namespace Name Mixin selector official sLeyu;s()Zintermediary method_26273Lnet/minecraft/class_1113;method_26273()Znamed canPlayLnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
shouldAlwaysPlay
public boolean shouldAlwaysPlay()
- Mappings:
Namespace Name Mixin selector official rLeyu;r()Zintermediary method_4785Lnet/minecraft/class_1113;method_4785()Znamed shouldAlwaysPlayLnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
-
tick
public void tick()
- Mappings:
Namespace Name Mixin selector official qLeyv;q()Vintermediary method_16896Lnet/minecraft/class_1117;method_16896()Vnamed tickLnet/minecraft/client/sound/TickableSoundInstance;tick()V
-
-