net.minecraft.world.level.gameevent

public interface PositionSourceType<T extends PositionSource>

ebz
net.minecraft.world.level.gameevent.PositionSourceType
net.minecraft.class_5717
net.minecraft.world.event.PositionSourceType
net.minecraft.world.level.gameevent.PositionSourceType

Field summary

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

Method summary

Modifier and TypeMethod
com.mojang.serialization.MapCodec<T>
a()
codec()
method_32957()
getCodec()
StreamCodec<? super RegistryFriendlyByteBuf, T>
b()
streamCodec()
method_56123()
getPacketCodec()
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)