Class AssemblyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.simibubi.create.content.contraptions.components.structureMovement.AssemblyException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAssemblyException(String langKey, Object... objects) AssemblyException(net.minecraft.network.chat.Component component) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.BlockPosbooleanstatic AssemblyExceptionstatic AssemblyExceptionnotEnoughSails(int sails) static AssemblyExceptionread(net.minecraft.nbt.CompoundTag compound) static AssemblyExceptionstatic AssemblyExceptionstatic AssemblyExceptionunloadedChunk(net.minecraft.core.BlockPos pos) static AssemblyExceptionunmovableBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) static voidwrite(net.minecraft.nbt.CompoundTag compound, AssemblyException exception) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
component
public final net.minecraft.network.chat.Component component
-
-
Constructor Details
-
AssemblyException
public AssemblyException(net.minecraft.network.chat.Component component) -
AssemblyException
-
-
Method Details
-
write
-
read
-
unmovableBlock
public static AssemblyException unmovableBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
unloadedChunk
-
structureTooLarge
-
tooManyPistonPoles
-
noPistonPoles
-
notEnoughSails
-
hasPosition
public boolean hasPosition() -
getPosition
public net.minecraft.core.BlockPos getPosition()
-