Index

A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

ALL - Static variable in class tschipp.linear.client.keybinds.KeybindManager
 
allowed() - Method in record class tschipp.linear.build.LineBuilder.Plan
Returns the value of the allowed record component.
allowed(ItemStack, LinearSettings) - Static method in interface tschipp.linear.build.BlockSource
Whether a block may be used in a line, checking the blacklist or whitelist.
AnnotationData - Record Class in tschipp.linear.config
 
AnnotationData(PropertyType, String, int, int, double, double) - Constructor for record class tschipp.linear.config.AnnotationData
Creates an instance of a AnnotationData record class.
available(Player, int) - Method in interface tschipp.linear.build.BlockSource
How many blocks there are for the line, at most wanted.
available(Player, int) - Method in record class tschipp.linear.build.BlockSource.HeldBlock
 
available(Player, int) - Method in record class tschipp.linear.build.BlockSource.HeldItem
 
available(Player, ItemStack, int) - Method in interface tschipp.linear.api.BlockSupply
How many of block this supply can provide right now, at most wanted.
available(Player, ItemStack, int) - Method in interface tschipp.linear.api.HeldItemHandler
How many blocks the item can place right now, at most wanted.

B

BLACKLIST - Static variable in class tschipp.linear.Constants
Blocks that can never be placed in a line.
BlockSource - Interface in tschipp.linear.build
Where a line's blocks come from: a block in hand (plus inventory and supplies), or an item that picks blocks.
BlockSource.HeldBlock - Record Class in tschipp.linear.build
A block in hand.
BlockSource.HeldItem - Record Class in tschipp.linear.build
A non-block item that places blocks, see HeldItemHandler.
BlockSupply - Interface in tschipp.linear.api
An extra source of blocks for a line, like a bag.
BOOLEAN - Enum constant in enum class tschipp.linear.config.PropertyType
 
build(ServerPlayer, BlockPos, BlockPos, InteractionHand, Direction, Vec3) - Static method in class tschipp.linear.build.LineBuilder
Builds a line the client asked for, after validating the request.
buildCategory(String, Object) - Static method in class tschipp.linear.config.ConfigLoader
 
BuildGeometry - Class in tschipp.linear.build
Which positions a drag from start to end covers, for each BuildMode.
building - Static variable in class tschipp.linear.build.LinearState.Client
 
building - Variable in class tschipp.linear.config.LinearServerConfig
 
building - Variable in class tschipp.linear.data.LinearPlayerData
 
building() - Method in record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
Returns the value of the building record component.
building() - Method in record class tschipp.linear.networking.serverbound.ServerboundSetBuildingPacket
Returns the value of the building record component.
Building() - Constructor for class tschipp.linear.config.LinearServerConfig.Building
 
BuildMode - Enum Class in tschipp.linear.build
The shape a drag fills, see BuildGeometry.
BuiltCategory - Class in tschipp.linear.config
 
BuiltCategory(String, String) - Constructor for class tschipp.linear.config.BuiltCategory
 
BuiltConfig - Class in tschipp.linear.config
 
BuiltConfig(String) - Constructor for class tschipp.linear.config.BuiltConfig
 
byName(String) - Static method in enum class tschipp.linear.build.BuildMode
 

C

categories - Variable in class tschipp.linear.config.BuiltCategory
 
category - Variable in class tschipp.linear.config.BuiltCategory
 
Category - Annotation Interface in tschipp.linear.config.annotations
 
CATEGORY - Enum constant in enum class tschipp.linear.config.PropertyType
 
CATEGORY - Static variable in class tschipp.linear.client.keybinds.KeybindManager
 
categoryDesc - Variable in class tschipp.linear.config.BuiltCategory
 
CIRCLE_2_AXES - Enum constant in enum class tschipp.linear.build.BuildMode
 
CLIENT_CONFIG - Static variable in class tschipp.linear.Constants
 
ClientboundModeUnlockedPacket - Record Class in tschipp.linear.networking.clientbound
 
ClientboundModeUnlockedPacket(BuildMode) - Constructor for record class tschipp.linear.networking.clientbound.ClientboundModeUnlockedPacket
Creates an instance of a ClientboundModeUnlockedPacket record class.
ClientboundSyncStatePacket - Record Class in tschipp.linear.networking.clientbound
 
ClientboundSyncStatePacket(boolean, BuildMode, LinearSettings) - Constructor for record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
Creates an instance of a ClientboundSyncStatePacket record class.
ClientEvents - Class in tschipp.linear.events
 
ClientEvents() - Constructor for class tschipp.linear.events.ClientEvents
 
CODEC - Static variable in enum class tschipp.linear.build.BuildMode
 
CODEC - Static variable in class tschipp.linear.data.LinearPlayerData
 
CODEC - Static variable in record class tschipp.linear.networking.clientbound.ClientboundModeUnlockedPacket
 
CODEC - Static variable in record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
 
CODEC - Static variable in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
 
CODEC - Static variable in record class tschipp.linear.networking.serverbound.ServerboundSetBuildingPacket
 
CODEC - Static variable in record class tschipp.linear.networking.serverbound.ServerboundSetModePacket
 
CommonEvents - Class in tschipp.linear.events
 
CommonEvents() - Constructor for class tschipp.linear.events.CommonEvents
 
Config - Annotation Interface in tschipp.linear.config.annotations
 
ConfigLoader - Class in tschipp.linear.config
 
ConfigLoader() - Constructor for class tschipp.linear.config.ConfigLoader
 
ConfigLoaderImpl - Class in tschipp.linear.config.forge
 
ConfigLoaderImpl() - Constructor for class tschipp.linear.config.forge.ConfigLoaderImpl
 
configModes() - Static method in record class tschipp.linear.data.LinearSettings
The modes enabled in the config.
CONFIGS - Static variable in class tschipp.linear.config.forge.ConfigLoaderImpl
 
Constants - Class in tschipp.linear
 
Constants() - Constructor for class tschipp.linear.Constants
 
copyFrom(LinearPlayerData) - Method in class tschipp.linear.data.LinearPlayerData
 
count() - Method in record class tschipp.linear.client.LinePreview.Counter
Returns the value of the count record component.
counter() - Static method in class tschipp.linear.client.LinePreview
The block shown next to the crosshair and how many of it the line uses, or null when not dragging.
Counter(ItemStack, int, boolean) - Constructor for record class tschipp.linear.client.LinePreview.Counter
Creates an instance of a Counter record class.

D

data() - Method in record class tschipp.linear.config.PropertyData
Returns the value of the data record component.
data(Player) - Static method in class tschipp.linear.build.LinearState
The attached data.
defaults() - Static method in record class tschipp.linear.data.LinearSettings
The config defaults, used until the server sends the real values.
description() - Method in record class tschipp.linear.config.AnnotationData
Returns the value of the description record component.
description() - Element in annotation interface tschipp.linear.config.annotations.Property
 
deserializeNBT(HolderLookup.Provider, CompoundTag) - Method in class tschipp.linear.caps.LinearCapabilities.PlayerDataProvider
 
display - Variable in class tschipp.linear.config.LinearClientConfig
 
Display() - Constructor for class tschipp.linear.config.LinearClientConfig.Display
 
DOUBLE - Enum constant in enum class tschipp.linear.config.PropertyType
 
drag - Static variable in class tschipp.linear.build.LinearState.Client
 
Drag(BlockPos, InteractionHand, Direction, Vec3) - Constructor for record class tschipp.linear.build.LinearState.Drag
Creates an instance of a Drag record class.
drawingHand(Player) - Static method in interface tschipp.linear.build.BlockSource
The hand to draw a line with (main hand first), or null.

E

enabledModes - Variable in class tschipp.linear.config.LinearServerConfig.Building
 
end() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
Returns the value of the end record component.
endHighlight - Variable in class tschipp.linear.config.LinearClientConfig.Display
 
equals(Object) - Method in record class tschipp.linear.build.BlockSource.HeldBlock
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.build.BlockSource.HeldItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.build.LinearState.Drag
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.build.LineBuilder.Plan
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.client.LinePreview.Counter
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.config.AnnotationData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.config.PropertyData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.data.LinearSettings
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.networking.clientbound.ClientboundModeUnlockedPacket
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.networking.serverbound.ServerboundSetBuildingPacket
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class tschipp.linear.networking.serverbound.ServerboundSetModePacket
Indicates whether some other object is "equal to" this one.

F

face() - Method in record class tschipp.linear.build.LinearState.Drag
Returns the value of the face record component.
face() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
Returns the value of the face record component.
field() - Method in record class tschipp.linear.config.PropertyData
Returns the value of the field record component.
fieldClass() - Method in record class tschipp.linear.config.PropertyData
Returns the value of the fieldClass record component.
fileName - Variable in class tschipp.linear.config.BuiltConfig
 
ForgePlatformHelper - Class in tschipp.linear.platform
 
ForgePlatformHelper() - Constructor for class tschipp.linear.platform.ForgePlatformHelper
 

G

getBoolean() - Method in record class tschipp.linear.config.PropertyData
 
getCapability(Capability<T>, Direction) - Method in class tschipp.linear.caps.LinearCapabilities.PlayerDataProvider
 
getCategory(String) - Method in class tschipp.linear.config.BuiltCategory
 
getData(Field) - Static method in record class tschipp.linear.config.AnnotationData
 
getDouble() - Method in record class tschipp.linear.config.PropertyData
 
getId() - Method in record class tschipp.linear.config.PropertyData
 
getInt() - Method in record class tschipp.linear.config.PropertyData
 
getPlatformName() - Method in class tschipp.linear.platform.ForgePlatformHelper
 
getPlatformName() - Method in interface tschipp.linear.platform.services.IPlatformHelper
Gets the name of the current platform.
getPlayer() - Static method in class tschipp.linear.LinearCommonClient
 
getPlayerData(Player) - Method in class tschipp.linear.platform.ForgePlatformHelper
Players without the capability (fake players) get a throwaway instance.
getPlayerData(Player) - Method in interface tschipp.linear.platform.services.IPlatformHelper
The player's Linear data.
getProperty(String) - Method in class tschipp.linear.config.BuiltCategory
 
getSerializedName() - Method in enum class tschipp.linear.build.BuildMode
 
getStringArray() - Method in record class tschipp.linear.config.PropertyData
 
giveBack(ServerPlayer, ItemStack) - Method in interface tschipp.linear.build.BlockSource
Puts back a block that was taken but not placed.
giveBack(ServerPlayer, ItemStack) - Method in record class tschipp.linear.build.BlockSource.HeldBlock
 
giveBack(ServerPlayer, ItemStack) - Method in record class tschipp.linear.build.BlockSource.HeldItem
 
giveBack(ServerPlayer, ItemStack, ItemStack) - Method in interface tschipp.linear.api.HeldItemHandler

H

hand() - Method in record class tschipp.linear.build.BlockSource.HeldBlock
Returns the value of the hand record component.
hand() - Method in record class tschipp.linear.build.BlockSource.HeldItem
Returns the value of the hand record component.
hand() - Method in record class tschipp.linear.build.LinearState.Drag
Returns the value of the hand record component.
hand() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
Returns the value of the hand record component.
handle(Player) - Method in record class tschipp.linear.networking.clientbound.ClientboundModeUnlockedPacket
 
handle(Player) - Method in record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
 
handle(Player) - Method in interface tschipp.linear.networking.PacketBase
Runs on the main thread.
handle(Player) - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
 
handle(Player) - Method in record class tschipp.linear.networking.serverbound.ServerboundSetBuildingPacket
 
handle(Player) - Method in record class tschipp.linear.networking.serverbound.ServerboundSetModePacket
 
handler() - Method in record class tschipp.linear.build.BlockSource.HeldItem
Returns the value of the handler record component.
handlerFor(ItemStack) - Static method in class tschipp.linear.api.LinearApi
 
handles(ItemStack) - Method in interface tschipp.linear.api.HeldItemHandler
Whether this handler is for the item.
hashCode() - Method in record class tschipp.linear.build.BlockSource.HeldBlock
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.build.BlockSource.HeldItem
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.build.LinearState.Drag
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.build.LineBuilder.Plan
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.client.LinePreview.Counter
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.config.AnnotationData
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.config.PropertyData
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.data.LinearSettings
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.networking.clientbound.ClientboundModeUnlockedPacket
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.networking.serverbound.ServerboundSetBuildingPacket
Returns a hash code value for this object.
hashCode() - Method in record class tschipp.linear.networking.serverbound.ServerboundSetModePacket
Returns a hash code value for this object.
HeldBlock(InteractionHand, ItemStack) - Constructor for record class tschipp.linear.build.BlockSource.HeldBlock
Creates an instance of a HeldBlock record class.
HeldItem(InteractionHand, HeldItemHandler) - Constructor for record class tschipp.linear.build.BlockSource.HeldItem
Creates an instance of a HeldItem record class.
HeldItemHandler - Interface in tschipp.linear.api
Lets a non-block item that places blocks (like a bag) draw lines.
hideIndicator - Variable in class tschipp.linear.config.LinearClientConfig.Display
 
hitOffset() - Method in record class tschipp.linear.build.LinearState.Drag
Returns the value of the hitOffset record component.
hitOffset() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
Returns the value of the hitOffset record component.
hitOffset(BlockHitResult) - Static method in class tschipp.linear.build.LineBuilder
Where the click hit within the target block, 0 to 1 per axis.
holdsBackUse(Player) - Static method in class tschipp.linear.LinearCommon
Whether a right-click draws a line instead of its normal use: building on, sneaking, and holding something a line can be drawn with.

I

icon() - Method in record class tschipp.linear.client.LinePreview.Counter
Returns the value of the icon record component.
id(String) - Static method in class tschipp.linear.Constants
 
incomplete() - Method in record class tschipp.linear.client.LinePreview.Counter
Returns the value of the incomplete record component.
indicatorX - Variable in class tschipp.linear.config.LinearClientConfig.Display
 
indicatorY - Variable in class tschipp.linear.config.LinearClientConfig.Display
 
initialize(IEventBus) - Static method in class tschipp.linear.config.forge.ConfigLoaderImpl
 
INT - Enum constant in enum class tschipp.linear.config.PropertyType
 
IPlatformHelper - Interface in tschipp.linear.platform.services
 
isBuilding(Player) - Static method in class tschipp.linear.build.LinearState
 
isBuildingEnabled(Player) - Static method in class tschipp.linear.api.LinearApi
Whether the player has building enabled.
isDevelopmentEnvironment() - Method in class tschipp.linear.platform.ForgePlatformHelper
 
isDevelopmentEnvironment() - Method in interface tschipp.linear.platform.services.IPlatformHelper
Check if the game is currently in a development environment.
isDragging(Player) - Static method in class tschipp.linear.api.LinearApi
Whether the player is dragging a line.
isDragging(Player) - Static method in class tschipp.linear.build.LinearState
 
isModLoaded(String) - Method in class tschipp.linear.platform.ForgePlatformHelper
 
isModLoaded(String) - Method in interface tschipp.linear.platform.services.IPlatformHelper
Checks if a mod with the given id is loaded.

K

KeybindManager - Class in tschipp.linear.client.keybinds
 
KeybindManager() - Constructor for class tschipp.linear.client.keybinds.KeybindManager
 

L

LINE_1_AXIS - Enum constant in enum class tschipp.linear.build.BuildMode
 
LINE_2_AXES - Enum constant in enum class tschipp.linear.build.BuildMode
 
LINE_3_AXES - Enum constant in enum class tschipp.linear.build.BuildMode
 
LinearApi - Class in tschipp.linear.api
Linear's API for other mods.
LinearCapabilities - Class in tschipp.linear.caps
 
LinearCapabilities() - Constructor for class tschipp.linear.caps.LinearCapabilities
 
LinearCapabilities.PlayerDataProvider - Class in tschipp.linear.caps
 
LinearClientConfig - Class in tschipp.linear.config
 
LinearClientConfig() - Constructor for class tschipp.linear.config.LinearClientConfig
 
LinearClientConfig.Display - Class in tschipp.linear.config
 
LinearCommand - Class in tschipp.linear.command
/linear: per-player overrides of the server config.
LinearCommon - Class in tschipp.linear
 
LinearCommon() - Constructor for class tschipp.linear.LinearCommon
 
LinearCommonClient - Class in tschipp.linear
 
LinearCommonClient() - Constructor for class tschipp.linear.LinearCommonClient
 
LinearForge - Class in tschipp.linear
 
LinearForge(FMLJavaModLoadingContext) - Constructor for class tschipp.linear.LinearForge
 
LinearInput - Class in tschipp.linear.client
Drawing a line on the client: press use while sneaking to start, release to finish.
LinearPlayerData - Class in tschipp.linear.data
Per-player data: building on/off, the current mode, and overrides set with /linear.
LinearPlayerData() - Constructor for class tschipp.linear.data.LinearPlayerData
 
LinearServerConfig - Class in tschipp.linear.config
Defaults for every player; /linear can override them per player.
LinearServerConfig() - Constructor for class tschipp.linear.config.LinearServerConfig
 
LinearServerConfig.Building - Class in tschipp.linear.config
 
LinearSettings - Record Class in tschipp.linear.data
The limits for one player: the server config plus their overrides.
LinearSettings(Set<BuildMode>, int, double, double, double, boolean, boolean, boolean) - Constructor for record class tschipp.linear.data.LinearSettings
Creates an instance of a LinearSettings record class.
LinearState - Class in tschipp.linear.build
A player's Linear state on either side.
LinearState.Client - Class in tschipp.linear.build
The local player's state as last sent by the server, plus the current drag.
LinearState.Drag - Record Class in tschipp.linear.build
A line being dragged.
LineBuilder - Class in tschipp.linear.build
Places the blocks of a line on the server, and works out the positions for the preview.
LineBuilder.Plan - Record Class in tschipp.linear.build
LinePreview - Class in tschipp.linear.client
Shows the line being dragged as ghost blocks, tinted red where they won't be placed (out of blocks, out of range or over the limit) and blue on the end.
LinePreview.Counter - Record Class in tschipp.linear.client
 
load(Class<T>) - Static method in class tschipp.linear.platform.Services
 
LOG - Static variable in class tschipp.linear.Constants
 

M

max() - Method in record class tschipp.linear.config.AnnotationData
Returns the value of the max record component.
max() - Element in annotation interface tschipp.linear.config.annotations.Property
 
maxBlocks - Variable in class tschipp.linear.config.LinearServerConfig.Building
 
maxBlocks - Variable in class tschipp.linear.data.LinearPlayerData
 
maxBlocks() - Method in record class tschipp.linear.data.LinearSettings
Returns the value of the maxBlocks record component.
maxD() - Method in record class tschipp.linear.config.AnnotationData
Returns the value of the maxD record component.
maxD() - Element in annotation interface tschipp.linear.config.annotations.Property
 
maxDistance - Variable in class tschipp.linear.config.LinearServerConfig.Building
 
maxDistance - Variable in class tschipp.linear.data.LinearPlayerData
 
maxDistance() - Method in record class tschipp.linear.data.LinearSettings
Returns the value of the maxDistance record component.
midair(Player) - Method in record class tschipp.linear.data.LinearSettings
 
midairCreative - Variable in class tschipp.linear.config.LinearServerConfig.Building
 
midairCreative - Variable in class tschipp.linear.data.LinearPlayerData
 
midairCreative() - Method in record class tschipp.linear.data.LinearSettings
Returns the value of the midairCreative record component.
midairSurvival - Variable in class tschipp.linear.config.LinearServerConfig.Building
 
midairSurvival - Variable in class tschipp.linear.data.LinearPlayerData
 
midairSurvival() - Method in record class tschipp.linear.data.LinearSettings
Returns the value of the midairSurvival record component.
min() - Method in record class tschipp.linear.config.AnnotationData
Returns the value of the min record component.
min() - Element in annotation interface tschipp.linear.config.annotations.Property
 
minD() - Method in record class tschipp.linear.config.AnnotationData
Returns the value of the minD record component.
minD() - Element in annotation interface tschipp.linear.config.annotations.Property
 
MOD_ID - Static variable in class tschipp.linear.Constants
 
MOD_NAME - Static variable in class tschipp.linear.Constants
 
ModClientEvents - Class in tschipp.linear.events
 
ModClientEvents() - Constructor for class tschipp.linear.events.ModClientEvents
 
mode - Static variable in class tschipp.linear.build.LinearState.Client
 
mode - Variable in class tschipp.linear.data.LinearPlayerData
 
mode() - Method in record class tschipp.linear.networking.clientbound.ClientboundModeUnlockedPacket
Returns the value of the mode record component.
mode() - Method in record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
Returns the value of the mode record component.
mode() - Method in record class tschipp.linear.networking.serverbound.ServerboundSetModePacket
Returns the value of the mode record component.
mode(Player) - Static method in class tschipp.linear.build.LinearState
 
ModeHud - Class in tschipp.linear.client
Shows the build mode and whether building is on while holding something that can draw lines, and the block count next to the crosshair while dragging.
modes - Variable in class tschipp.linear.data.LinearPlayerData
 
modes() - Method in record class tschipp.linear.data.LinearSettings
Returns the value of the modes record component.
modeSet(Collection<BuildMode>) - Static method in record class tschipp.linear.data.LinearSettings
EnumSet.copyOf that also works for an empty collection.
ModeUnlockedToast - Class in tschipp.linear.client
"Build mode unlocked!" toast, shown after /linear mode enable.
ModeUnlockedToast(BuildMode) - Constructor for class tschipp.linear.client.ModeUnlockedToast
 

N

network - Static variable in class tschipp.linear.LinearForge
 
next(Collection<BuildMode>) - Method in enum class tschipp.linear.build.BuildMode
The next enabled mode, wrapping around.

O

of(Player, InteractionHand) - Static method in interface tschipp.linear.build.BlockSource
What the player can draw a line with in hand, or null if nothing.
of(LinearPlayerData) - Static method in record class tschipp.linear.data.LinearSettings
 
onAddGuiLayers(AddGuiOverlayLayersEvent) - Static method in class tschipp.linear.events.ModClientEvents
 
onAttachCaps(AttachCapabilitiesEvent<Entity>) - Static method in class tschipp.linear.events.CommonEvents
 
onClientTick(Minecraft) - Static method in class tschipp.linear.client.LinearInput
 
onClientTick(TickEvent.ClientTickEvent) - Static method in class tschipp.linear.events.ClientEvents
 
onClone(PlayerEvent.Clone) - Static method in class tschipp.linear.events.CommonEvents
Capabilities aren't copied automatically.
onConfigLoad(ModConfigEvent.Loading) - Static method in class tschipp.linear.config.forge.ConfigLoaderImpl
 
onConfigReload(ModConfigEvent.Reloading) - Static method in class tschipp.linear.config.forge.ConfigLoaderImpl
 
onRegisterCommands(RegisterCommandsEvent) - Static method in class tschipp.linear.events.CommonEvents
 
onRegisterKeyMappings(RegisterKeyMappingsEvent) - Static method in class tschipp.linear.events.ModClientEvents
 
onRenderLevel(RenderLevelStageEvent) - Static method in class tschipp.linear.events.ClientEvents
The camera rotation is already applied at this point, so start from an empty pose stack.
onRightClickBlock(PlayerInteractEvent.RightClickBlock) - Static method in class tschipp.linear.events.CommonEvents
A click that starts or ends a line does nothing else.
onRightClickItem(PlayerInteractEvent.RightClickItem) - Static method in class tschipp.linear.events.CommonEvents
 
onServerTick(MinecraftServer) - Static method in class tschipp.linear.LinearCommon
Syncs each player's state when it changed, whatever changed it (keys, commands, respawn, config).
onServerTick(TickEvent.ServerTickEvent) - Static method in class tschipp.linear.events.CommonEvents
 
onUseKey(InputEvent.InteractionKeyMappingTriggered) - Static method in class tschipp.linear.events.ClientEvents
A click that starts or ends a line never reaches vanilla.

P

PACKET_ID_BUILD_LINE - Static variable in class tschipp.linear.Constants
 
PACKET_ID_MODE_UNLOCKED - Static variable in class tschipp.linear.Constants
 
PACKET_ID_SET_BUILDING - Static variable in class tschipp.linear.Constants
 
PACKET_ID_SET_MODE - Static variable in class tschipp.linear.Constants
 
PACKET_ID_SYNC_STATE - Static variable in class tschipp.linear.Constants
 
PacketBase - Interface in tschipp.linear.networking
 
plan(Level, Player, LinearSettings, BuildMode, BlockPos, BlockPos) - Static method in class tschipp.linear.build.LineBuilder
Splits a drag's free positions into the ones that may get a block (nearest first) and the ones the survival distance or block limits refuse.
Plan(List<BlockPos>, List<BlockPos>) - Constructor for record class tschipp.linear.build.LineBuilder.Plan
Creates an instance of a Plan record class.
PLATFORM - Static variable in class tschipp.linear.platform.Services
 
PLAYER_DATA - Static variable in class tschipp.linear.caps.LinearCapabilities
 
PLAYER_DATA_ID - Static variable in class tschipp.linear.Constants
 
PlayerDataProvider() - Constructor for class tschipp.linear.caps.LinearCapabilities.PlayerDataProvider
 
positions(Level, Player, LinearSettings, BuildMode, BlockPos, BlockPos) - Static method in class tschipp.linear.build.LineBuilder
The positions that can take a block, nearest first, and in survival within the distance and block limits.
positions(BuildMode, BlockPos, BlockPos) - Static method in class tschipp.linear.build.BuildGeometry
Every position the drag covers, each once.
preview(Player) - Method in record class tschipp.linear.build.BlockSource.HeldBlock
 
preview(Player) - Method in record class tschipp.linear.build.BlockSource.HeldItem
 
preview(Player) - Method in interface tschipp.linear.build.BlockSource
The block the preview shows.
preview(Player, ItemStack) - Method in interface tschipp.linear.api.HeldItemHandler
The block the preview shows, or empty.
properties - Variable in class tschipp.linear.config.BuiltCategory
 
Property - Annotation Interface in tschipp.linear.config.annotations
 
PropertyData - Record Class in tschipp.linear.config
 
PropertyData(Object, Field, AnnotationData) - Constructor for record class tschipp.linear.config.PropertyData
Creates an instance of a PropertyData record class.
PropertyType - Enum Class in tschipp.linear.config
 

R

reach(Player) - Method in record class tschipp.linear.data.LinearSettings
 
reachCreative - Variable in class tschipp.linear.config.LinearServerConfig.Building
 
reachCreative - Variable in class tschipp.linear.data.LinearPlayerData
 
reachCreative() - Method in record class tschipp.linear.data.LinearSettings
Returns the value of the reachCreative record component.
reachSurvival - Variable in class tschipp.linear.config.LinearServerConfig.Building
 
reachSurvival - Variable in class tschipp.linear.data.LinearPlayerData
 
reachSurvival() - Method in record class tschipp.linear.data.LinearSettings
Returns the value of the reachSurvival record component.
readNbt(CompoundTag) - Method in class tschipp.linear.data.LinearPlayerData
 
refused() - Method in record class tschipp.linear.build.LineBuilder.Plan
Returns the value of the refused record component.
register(CommandDispatcher<CommandSourceStack>) - Static method in class tschipp.linear.command.LinearCommand
 
register(RegisterCapabilitiesEvent) - Static method in class tschipp.linear.caps.LinearCapabilities
 
registerClientboundPacket(CustomPacketPayload.Type<T>, Class<T>, StreamCodec<B, T>, BiConsumer<T, Player>) - Method in class tschipp.linear.platform.ForgePlatformHelper
 
registerClientboundPacket(CustomPacketPayload.Type<T>, Class<T>, StreamCodec<B, T>, BiConsumer<T, Player>) - Method in interface tschipp.linear.platform.services.IPlatformHelper
 
registerClientPackets() - Static method in class tschipp.linear.LinearCommon
 
registerCommands(CommandDispatcher<CommandSourceStack>) - Static method in class tschipp.linear.LinearCommon
 
registerConfig() - Static method in class tschipp.linear.LinearCommon
 
registerConfig(Object) - Static method in class tschipp.linear.config.ConfigLoader
 
registerConfig(BuiltConfig) - Static method in class tschipp.linear.config.ConfigLoader
 
registerConfig(BuiltConfig) - Static method in class tschipp.linear.config.forge.ConfigLoaderImpl
 
registerConfig(BuiltConfig) - Method in class tschipp.linear.platform.ForgePlatformHelper
 
registerConfig(BuiltConfig) - Method in interface tschipp.linear.platform.services.IPlatformHelper
 
registerHeldItem(HeldItemHandler) - Static method in class tschipp.linear.api.LinearApi
Lets a non-block item draw lines.
registerServerboundPacket(CustomPacketPayload.Type<T>, Class<T>, StreamCodec<B, T>, BiConsumer<T, Player>) - Method in class tschipp.linear.platform.ForgePlatformHelper
 
registerServerboundPacket(CustomPacketPayload.Type<T>, Class<T>, StreamCodec<B, T>, BiConsumer<T, Player>) - Method in interface tschipp.linear.platform.services.IPlatformHelper
 
registerServerPackets() - Static method in class tschipp.linear.LinearCommon
 
registerSupply(BlockSupply) - Static method in class tschipp.linear.api.LinearApi
Adds a source of blocks besides the player's inventory.
render(PoseStack, Camera) - Static method in class tschipp.linear.client.LinePreview
Called from each loader's world render hook, after translucent blocks.
render(GuiGraphics) - Static method in class tschipp.linear.client.ModeHud
 
render(GuiGraphics, ToastComponent, long) - Method in class tschipp.linear.client.ModeUnlockedToast
 
reset() - Static method in class tschipp.linear.build.LinearState.Client
Resets to defaults when leaving a world.
resetLimits() - Method in class tschipp.linear.data.LinearPlayerData
Resets the limits to the server config.
resync(ServerPlayer) - Static method in class tschipp.linear.LinearCommon
Sends the state next tick even if unchanged, to undo a client change the server refused.

S

sendPacketToPlayer(PacketBase, ServerPlayer) - Method in class tschipp.linear.platform.ForgePlatformHelper
 
sendPacketToPlayer(PacketBase, ServerPlayer) - Method in interface tschipp.linear.platform.services.IPlatformHelper
 
sendPacketToPlayersTracking(PacketBase, Entity) - Method in class tschipp.linear.platform.ForgePlatformHelper
 
sendPacketToPlayersTracking(PacketBase, Entity) - Method in interface tschipp.linear.platform.services.IPlatformHelper
 
sendPacketToServer(PacketBase) - Method in class tschipp.linear.platform.ForgePlatformHelper
 
sendPacketToServer(PacketBase) - Method in interface tschipp.linear.platform.services.IPlatformHelper
 
serializeNBT(HolderLookup.Provider) - Method in class tschipp.linear.caps.LinearCapabilities.PlayerDataProvider
 
SERVER_CONFIG - Static variable in class tschipp.linear.Constants
 
ServerboundBuildLinePacket - Record Class in tschipp.linear.networking.serverbound
 
ServerboundBuildLinePacket(BlockPos, BlockPos, InteractionHand, Direction, Vec3) - Constructor for record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
Creates an instance of a ServerboundBuildLinePacket record class.
ServerboundSetBuildingPacket - Record Class in tschipp.linear.networking.serverbound
 
ServerboundSetBuildingPacket(boolean) - Constructor for record class tschipp.linear.networking.serverbound.ServerboundSetBuildingPacket
Creates an instance of a ServerboundSetBuildingPacket record class.
ServerboundSetModePacket - Record Class in tschipp.linear.networking.serverbound
 
ServerboundSetModePacket(BuildMode) - Constructor for record class tschipp.linear.networking.serverbound.ServerboundSetModePacket
Creates an instance of a ServerboundSetModePacket record class.
Services - Class in tschipp.linear.platform
 
Services() - Constructor for class tschipp.linear.platform.Services
 
setBoolean(boolean) - Method in record class tschipp.linear.config.PropertyData
 
setDouble(double) - Method in record class tschipp.linear.config.PropertyData
 
setInt(int) - Method in record class tschipp.linear.config.PropertyData
 
setStringArray(String[]) - Method in record class tschipp.linear.config.PropertyData
 
settings() - Static method in class tschipp.linear.build.LinearState.Client
Config defaults until the server sends the real values.
settings() - Method in record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
Returns the value of the settings record component.
settings(Player) - Static method in class tschipp.linear.build.LinearState
 
showModeUnlocked(BuildMode) - Static method in class tschipp.linear.LinearCommonClient
 
SPHERE_3_AXES - Enum constant in enum class tschipp.linear.build.BuildMode
 
start() - Method in record class tschipp.linear.build.LinearState.Drag
Returns the value of the start record component.
start() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
Returns the value of the start record component.
STREAM_CODEC - Static variable in enum class tschipp.linear.build.BuildMode
 
STREAM_CODEC - Static variable in record class tschipp.linear.data.LinearSettings
 
STRING_ARRAY - Enum constant in enum class tschipp.linear.config.PropertyType
 
supplies() - Static method in class tschipp.linear.api.LinearApi
 
SWITCH_MODE - Static variable in class tschipp.linear.client.keybinds.KeybindManager
 

T

take(ServerPlayer, ItemStack, int) - Method in interface tschipp.linear.api.BlockSupply
Removes up to amount of block from the supply.
takeNext(ServerPlayer, ItemStack) - Method in interface tschipp.linear.api.HeldItemHandler
Takes the next block to place (count 1), or returns empty when there's nothing left.
takeOne(ServerPlayer) - Method in record class tschipp.linear.build.BlockSource.HeldBlock
 
takeOne(ServerPlayer) - Method in record class tschipp.linear.build.BlockSource.HeldItem
 
takeOne(ServerPlayer) - Method in interface tschipp.linear.build.BlockSource
Takes the next block, or returns empty if there are none left.
target(Player, double, boolean) - Static method in class tschipp.linear.build.LineBuilder
Where a click builds: the clicked block if replaceable, else the one in front of it.
template() - Method in record class tschipp.linear.build.BlockSource.HeldBlock
Returns the value of the template record component.
TOGGLE_BUILDING - Static variable in class tschipp.linear.client.keybinds.KeybindManager
 
toNbt() - Method in class tschipp.linear.data.LinearPlayerData
 
toString() - Method in record class tschipp.linear.build.BlockSource.HeldBlock
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.build.BlockSource.HeldItem
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.build.LinearState.Drag
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.build.LineBuilder.Plan
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.client.LinePreview.Counter
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.config.AnnotationData
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.config.PropertyData
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.data.LinearSettings
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.networking.clientbound.ClientboundModeUnlockedPacket
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.networking.serverbound.ServerboundSetBuildingPacket
Returns a string representation of this record class.
toString() - Method in record class tschipp.linear.networking.serverbound.ServerboundSetModePacket
Returns a string representation of this record class.
translationKey() - Method in enum class tschipp.linear.build.BuildMode
 
tschipp.linear - package tschipp.linear
 
tschipp.linear.api - package tschipp.linear.api
 
tschipp.linear.build - package tschipp.linear.build
 
tschipp.linear.caps - package tschipp.linear.caps
 
tschipp.linear.client - package tschipp.linear.client
 
tschipp.linear.client.keybinds - package tschipp.linear.client.keybinds
 
tschipp.linear.command - package tschipp.linear.command
 
tschipp.linear.config - package tschipp.linear.config
 
tschipp.linear.config.annotations - package tschipp.linear.config.annotations
 
tschipp.linear.config.forge - package tschipp.linear.config.forge
 
tschipp.linear.data - package tschipp.linear.data
 
tschipp.linear.events - package tschipp.linear.events
 
tschipp.linear.networking - package tschipp.linear.networking
 
tschipp.linear.networking.clientbound - package tschipp.linear.networking.clientbound
 
tschipp.linear.networking.serverbound - package tschipp.linear.networking.serverbound
 
tschipp.linear.platform - package tschipp.linear.platform
 
tschipp.linear.platform.services - package tschipp.linear.platform.services
 
type() - Method in record class tschipp.linear.config.AnnotationData
Returns the value of the type record component.
type() - Element in annotation interface tschipp.linear.config.annotations.Property
 
type() - Method in record class tschipp.linear.networking.clientbound.ClientboundModeUnlockedPacket
 
type() - Method in record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
 
type() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
 
type() - Method in record class tschipp.linear.networking.serverbound.ServerboundSetBuildingPacket
 
type() - Method in record class tschipp.linear.networking.serverbound.ServerboundSetModePacket
 
TYPE - Static variable in record class tschipp.linear.networking.clientbound.ClientboundModeUnlockedPacket
 
TYPE - Static variable in record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
 
TYPE - Static variable in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
 
TYPE - Static variable in record class tschipp.linear.networking.serverbound.ServerboundSetBuildingPacket
 
TYPE - Static variable in record class tschipp.linear.networking.serverbound.ServerboundSetModePacket
 

U

update(boolean, BuildMode, LinearSettings) - Static method in class tschipp.linear.build.LinearState.Client
 
useWhitelist - Variable in class tschipp.linear.config.LinearServerConfig.Building
 
useWhitelist() - Method in record class tschipp.linear.data.LinearSettings
Returns the value of the useWhitelist record component.

V

value() - Element in annotation interface tschipp.linear.config.annotations.Category
 
value() - Element in annotation interface tschipp.linear.config.annotations.Config
 
valueOf(String) - Static method in enum class tschipp.linear.build.BuildMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class tschipp.linear.config.PropertyType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class tschipp.linear.build.BuildMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class tschipp.linear.config.PropertyType
Returns an array containing the constants of this enum class, in the order they are declared.

W

WALL_2_AXES - Enum constant in enum class tschipp.linear.build.BuildMode
 
WALL_3_AXES - Enum constant in enum class tschipp.linear.build.BuildMode
 
WHITELIST - Static variable in class tschipp.linear.Constants
With useWhitelist on, the only blocks that can be placed in a line.
A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values