Package net.minecraft.command.arguments
Class LocationInput
java.lang.Object
net.minecraft.command.arguments.LocationInput
- All Implemented Interfaces:
- ILocationArgument
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final LocationPartprivate final LocationPartprivate final LocationPart
- 
Constructor SummaryConstructorsConstructorDescriptionLocationInput(LocationPart p_i47962_1_, LocationPart p_i47962_2_, LocationPart p_i47962_3_) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic LocationInputcurrent()booleangetPosition(CommandSource p_197281_1_) getRotation(CommandSource p_197282_1_) inthashCode()booleanbooleanbooleanstatic LocationInputparseDouble(com.mojang.brigadier.StringReader p_200147_0_, boolean p_200147_1_) static LocationInputparseInt(com.mojang.brigadier.StringReader p_200148_0_) Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.command.arguments.ILocationArgumentgetBlockPos
- 
Field Details- 
x
- 
y
- 
z
 
- 
- 
Constructor Details- 
LocationInput
 
- 
- 
Method Details- 
getPosition- Specified by:
- getPositionin interface- ILocationArgument
 
- 
getRotation- Specified by:
- getRotationin interface- ILocationArgument
 
- 
isXRelativepublic boolean isXRelative()- Specified by:
- isXRelativein interface- ILocationArgument
 
- 
isYRelativepublic boolean isYRelative()- Specified by:
- isYRelativein interface- ILocationArgument
 
- 
isZRelativepublic boolean isZRelative()- Specified by:
- isZRelativein interface- ILocationArgument
 
- 
equals
- 
parseIntpublic static LocationInput parseInt(com.mojang.brigadier.StringReader p_200148_0_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
parseDoublepublic static LocationInput parseDouble(com.mojang.brigadier.StringReader p_200147_0_, boolean p_200147_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
current
- 
hashCodepublic int hashCode()
 
-