classpublicPriority 1
SelectInteraction
com.hypixel.hytale.server.core.modules.interaction.interaction.config.none.SelectInteraction
extends SimpleInteraction
7
Methods
7
Public Methods
8
Fields
1
Constructors
Constants
BuilderCodec<SelectInteraction.EntityMatcher>BASE_CODEC= BuilderCodec.abstractBuilder(SelectInteraction.EntityMatcher.class)
.appendInherited(new...
BuilderCodec<SelectInteraction>CODEC= BuilderCodec.builder(SelectInteraction.class, SelectInteraction::new, SimpleInteraction.CODEC)
...
CodecMapCodec<SelectInteraction.EntityMatcher>CODEC= new CodecMapCodec<>("Type")
BuilderCodec<SelectInteraction.HitEntity>CODEC= BuilderCodec.builder(
SelectInteraction.HitEntity.class, SelectInteraction.HitEntity:...
MetaKey<Selector>ENTITY_SELECTOR= META_REGISTRY.registerMetaObject(data -> null)
MetaKey<Set<BlockPosition>>HIT_BLOCKS= META_REGISTRY.registerMetaObject(i -> new HashSet<>())
MetaKey<IntSet>HIT_ENTITIES= META_REGISTRY.registerMetaObject(i -> new IntOpenHashSet())
MetaKey<DynamicMetaStore<Interaction>>SELECT_META_STORE= CONTEXT_META_REGISTRY.registerMetaObject(data -> null)
Constructors
public
SelectInteraction()Methods
Public Methods (7)
public
WaitForDataFrom getWaitForDataFrom()@Nonnull@Override
public
InteractionChain mapForkChain(InteractionContext context, InteractionChainData data)@Nullable@Override
public
boolean needsRemoteSync()@Override
publicfinal
boolean test(Ref<EntityStore> attacker, Ref<EntityStore> target, CommandBuffer<EntityStore> commandBuffer)public
boolean test0(Ref<EntityStore> var1, Ref<EntityStore> var2, CommandBuffer<EntityStore> var3)public
com.hypixel.hytale.protocol.EntityMatcher toPacket()@Nonnull
public
String toString()@Nonnull@Override
Fields
Public Fields (2)
publicstatic
boolean SHOW_VISUAL_DEBUGpublicstatic
SelectInteraction.SnapshotSource SNAPSHOT_SOURCEProtected Fields (6)
protected
FailOnType failOnprotected
String hitBlockprotected
String hitEntityprotected
SelectInteraction.HitEntity[] hitEntityRulesprotected
boolean ignoreOwnerprotected
SelectorType selector