Class PetTracker
java.lang.Object
com.hammy275.immersivemc.server.tracker.vrhand.AbstractVRHandTracker
com.hammy275.immersivemc.server.tracker.vrhand.PetTracker
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<net.minecraft.world.entity.LivingEntity>
getPlayerPetsNearby
(net.minecraft.world.entity.player.Player player) boolean
isEnabledInConfig
(ActiveConfig config) protected void
runForHand
(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stackInHand, net.blf02.vrapi.api.data.IVRPlayer currentVRData, LastTickData lastVRData) protected boolean
shouldRunForHand
(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stackInHand, net.blf02.vrapi.api.data.IVRPlayer currentVRData, LastTickData lastVRData) Methods inherited from class com.hammy275.immersivemc.server.tracker.vrhand.AbstractVRHandTracker
getBlockAtHand, getBlockPosAtHand, getBlockStateAtHand, movingInDirectionWithThreshold, preTick, signsMatch, tick
-
Field Details
-
THRESHOLD
public static final double THRESHOLD- See Also:
-
-
Constructor Details
-
PetTracker
public PetTracker()
-
-
Method Details
-
shouldRunForHand
protected boolean shouldRunForHand(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stackInHand, net.blf02.vrapi.api.data.IVRPlayer currentVRData, LastTickData lastVRData) - Specified by:
shouldRunForHand
in classAbstractVRHandTracker
-
runForHand
protected void runForHand(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stackInHand, net.blf02.vrapi.api.data.IVRPlayer currentVRData, LastTickData lastVRData) - Specified by:
runForHand
in classAbstractVRHandTracker
-
isEnabledInConfig
- Specified by:
isEnabledInConfig
in classAbstractVRHandTracker
-
getPlayerPetsNearby
protected List<net.minecraft.world.entity.LivingEntity> getPlayerPetsNearby(net.minecraft.world.entity.player.Player player)
-