net.minecraft.world.level.gameevent

public interface PositionSourceType<T extends PositionSource>

dye
net.minecraft.world.level.gameevent.PositionSourceType
net.minecraft.class_5717
net.minecraft.world.event.PositionSourceType
net.minecraft.src.C_141313_
net.minecraft.world.level.gameevent.PositionSourceType

Field summary

Modifier and TypeField
PositionSourceType<BlockPositionSource>
a
BLOCK
field_28185
BLOCK
f_157871_
PositionSourceType<EntityPositionSource>
b
ENTITY
field_28186
ENTITY
f_157872_

Method summary

Modifier and TypeMethod
com.mojang.serialization.MapCodec<T>
a()
codec()
method_32957()
getCodec()
m_142341_()
StreamCodec<? super RegistryFriendlyByteBuf, T>
b()
streamCodec()
method_56123()
getPacketCodec()
m_322720_()
static <S extends PositionSourceType<T>, T extends PositionSource> S
a(String arg0, S arg1)
register(String arg0, S arg1)
method_32959(String arg0, S arg1)
register(String id, S positionSourceType)
m_157877_(String p_157878_, S p_157879_)