Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- aBlockThatMayNotBePlacedIsGivenBack(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- aCircleGoesAroundTheStart(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- aHeldItemHandsOutItsOwnBlocks(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- aLineGoesWhereTheModeSays(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- 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
allowedrecord 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.
- aModeThePlayerDoesNotHaveBuildsNothing(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- anEndOutOfReachIsRefused(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- 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
AnnotationDatarecord class. - aRefusedPlacementKeepsTheBlock(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- aSneakClickWithABlockIsHeldBack(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- aSphereIsHollow(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- aSupplyPaysWhileTheLastBlockStaysInHand(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- 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
blockthis supply can provide right now, at mostwanted. - 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.
- blacklistedBlocksDrawNothing(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- 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
- 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
buildingrecord component. - building() - Method in record class tschipp.linear.networking.serverbound.ServerboundSetBuildingPacket
-
Returns the value of the
buildingrecord 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
ClientboundModeUnlockedPacketrecord 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
ClientboundSyncStatePacketrecord class. - 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.neoforge
- ConfigLoaderImpl() - Constructor for class tschipp.linear.config.neoforge.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.neoforge.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
countrecord 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
Counterrecord class.
D
- data() - Method in record class tschipp.linear.config.PropertyData
-
Returns the value of the
datarecord component. - data(Player) - Static method in class tschipp.linear.build.LinearState
-
The attached data.
- DataGen - Class in tschipp.linear.datagen
- DataGen() - Constructor for class tschipp.linear.datagen.DataGen
- 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
descriptionrecord component. - description() - Element in annotation interface tschipp.linear.config.annotations.Property
- 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
Dragrecord class. - drawingHand(Player) - Static method in interface tschipp.linear.build.BlockSource
-
The hand to draw a line with (main hand first), or null.
E
- EMPTY_TEMPLATE - Static variable in class tschipp.linear.datagen.ModStructureProvider
- enabledModes - Variable in class tschipp.linear.config.LinearServerConfig.Building
- end() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
-
Returns the value of the
endrecord 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
facerecord component. - face() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
-
Returns the value of the
facerecord component. - field() - Method in record class tschipp.linear.config.PropertyData
-
Returns the value of the
fieldrecord component. - fieldClass() - Method in record class tschipp.linear.config.PropertyData
-
Returns the value of the
fieldClassrecord component. - fileName - Variable in class tschipp.linear.config.BuiltConfig
G
- gather(GatherDataEvent) - Static method in class tschipp.linear.datagen.DataGen
- getBoolean() - Method in record class tschipp.linear.config.PropertyData
- 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
- getName() - Method in class tschipp.linear.datagen.ModStructureProvider
- getPlatformName() - Method in class tschipp.linear.platform.NeoForgePlatformHelper
- 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.NeoForgePlatformHelper
- 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
-
Returns a block from
HeldItemHandler.takeNext(net.minecraft.server.level.ServerPlayer, net.minecraft.world.item.ItemStack)that couldn't be placed.
H
- hand() - Method in record class tschipp.linear.build.BlockSource.HeldBlock
-
Returns the value of the
handrecord component. - hand() - Method in record class tschipp.linear.build.BlockSource.HeldItem
-
Returns the value of the
handrecord component. - hand() - Method in record class tschipp.linear.build.LinearState.Drag
-
Returns the value of the
handrecord component. - hand() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
-
Returns the value of the
handrecord 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
handlerrecord 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
HeldBlockrecord class. - HeldItem(InteractionHand, HeldItemHandler) - Constructor for record class tschipp.linear.build.BlockSource.HeldItem
-
Creates an instance of a
HeldItemrecord 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
hitOffsetrecord component. - hitOffset() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
-
Returns the value of the
hitOffsetrecord 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
iconrecord 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
incompleterecord component. - indicatorX - Variable in class tschipp.linear.config.LinearClientConfig.Display
- indicatorY - Variable in class tschipp.linear.config.LinearClientConfig.Display
- initialize(ModContainer) - Static method in class tschipp.linear.config.neoforge.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.NeoForgePlatformHelper
- 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.NeoForgePlatformHelper
- 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.
- 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
- LinearInput - Class in tschipp.linear.client
-
Drawing a line on the client: press use while sneaking to start, release to finish.
- LinearNeoForge - Class in tschipp.linear
- LinearNeoForge(IEventBus, ModContainer) - Constructor for class tschipp.linear.LinearNeoForge
- LinearNeoForge.NeoForgePlatformHelperHolder - Class in tschipp.linear
-
Holds the registrar during RegisterPayloadHandlersEvent for the platform helper.
- LinearNeoForgeClient - Class in tschipp.linear
- LinearNeoForgeClient() - Constructor for class tschipp.linear.LinearNeoForgeClient
- 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;
/linearcan 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
LinearSettingsrecord 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
- LineBuildingGameTest - Class in tschipp.linear.gametest
-
Building lines on the server: what gets placed, what gets used up, and what gets refused.
- LineBuildingGameTest() - Constructor for class tschipp.linear.gametest.LineBuildingGameTest
- 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
maxrecord 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
maxBlocksrecord component. - maxD() - Method in record class tschipp.linear.config.AnnotationData
-
Returns the value of the
maxDrecord 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
maxDistancerecord 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
midairCreativerecord 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
midairSurvivalrecord component. - min() - Method in record class tschipp.linear.config.AnnotationData
-
Returns the value of the
minrecord 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
minDrecord 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
- 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
moderecord component. - mode() - Method in record class tschipp.linear.networking.clientbound.ClientboundSyncStatePacket
-
Returns the value of the
moderecord component. - mode() - Method in record class tschipp.linear.networking.serverbound.ServerboundSetModePacket
-
Returns the value of the
moderecord 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
modesrecord component. - modeSet(Collection<BuildMode>) - Static method in record class tschipp.linear.data.LinearSettings
-
EnumSet.copyOfthat 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
- ModStructureProvider - Class in tschipp.linear.datagen
- ModStructureProvider(PackOutput) - Constructor for class tschipp.linear.datagen.ModStructureProvider
N
- NeoForgePlatformHelper - Class in tschipp.linear.platform
- NeoForgePlatformHelper() - Constructor for class tschipp.linear.platform.NeoForgePlatformHelper
- NeoForgePlatformHelperHolder() - Constructor for class tschipp.linear.LinearNeoForge.NeoForgePlatformHelperHolder
- 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
- onClientTick(Minecraft) - Static method in class tschipp.linear.client.LinearInput
- onClientTick(ClientTickEvent.Post) - Static method in class tschipp.linear.LinearNeoForgeClient
- onClone(PlayerEvent.Clone) - Static method in class tschipp.linear.events.CommonEvents
-
copyOnDeath doesn't cover dimension changes, so copy here for both.
- onConfigLoad(ModConfigEvent.Loading) - Static method in class tschipp.linear.config.neoforge.ConfigLoaderImpl
- onConfigReload(ModConfigEvent.Reloading) - Static method in class tschipp.linear.config.neoforge.ConfigLoaderImpl
- onRegisterCommands(RegisterCommandsEvent) - Static method in class tschipp.linear.events.CommonEvents
- onRegisterGuiLayers(RegisterGuiLayersEvent) - Static method in class tschipp.linear.LinearNeoForgeClient
- onRegisterKeyMappings(RegisterKeyMappingsEvent) - Static method in class tschipp.linear.LinearNeoForgeClient
- onRenderLevel(RenderLevelStageEvent) - Static method in class tschipp.linear.LinearNeoForgeClient
- onRightClickBlock(PlayerInteractEvent.RightClickBlock) - Static method in class tschipp.linear.events.CommonEvents
- 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(ServerTickEvent.Post) - Static method in class tschipp.linear.events.CommonEvents
- onUseKey(InputEvent.InteractionKeyMappingTriggered) - Static method in class tschipp.linear.LinearNeoForgeClient
-
The use key starting or ending a line never reaches vanilla, so nothing is predicted or sent.
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
Planrecord class. - PLATFORM - Static variable in class tschipp.linear.platform.Services
- PLAYER_DATA - Static variable in class tschipp.linear.LinearNeoForge
- PLAYER_DATA_ID - Static variable in class tschipp.linear.Constants
- 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
PropertyDatarecord 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
reachCreativerecord 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
reachSurvivalrecord 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
refusedrecord component. - register(CommandDispatcher<CommandSourceStack>) - Static method in class tschipp.linear.command.LinearCommand
- registerClientboundPacket(CustomPacketPayload.Type<T>, Class<T>, StreamCodec<B, T>, BiConsumer<T, Player>) - Method in class tschipp.linear.platform.NeoForgePlatformHelper
- 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.neoforge.ConfigLoaderImpl
- registerConfig(BuiltConfig) - Method in class tschipp.linear.platform.NeoForgePlatformHelper
- 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.NeoForgePlatformHelper
- 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.
- REGISTRAR - Static variable in class tschipp.linear.LinearNeoForge.NeoForgePlatformHelperHolder
- 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.
- run(CachedOutput) - Method in class tschipp.linear.datagen.ModStructureProvider
S
- sendPacketToPlayer(PacketBase, ServerPlayer) - Method in class tschipp.linear.platform.NeoForgePlatformHelper
- sendPacketToPlayer(PacketBase, ServerPlayer) - Method in interface tschipp.linear.platform.services.IPlatformHelper
- sendPacketToPlayersTracking(PacketBase, Entity) - Method in class tschipp.linear.platform.NeoForgePlatformHelper
- sendPacketToPlayersTracking(PacketBase, Entity) - Method in interface tschipp.linear.platform.services.IPlatformHelper
- sendPacketToServer(PacketBase) - Method in class tschipp.linear.platform.NeoForgePlatformHelper
- sendPacketToServer(PacketBase) - Method in interface tschipp.linear.platform.services.IPlatformHelper
- 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
ServerboundBuildLinePacketrecord 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
ServerboundSetBuildingPacketrecord 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
ServerboundSetModePacketrecord 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
settingsrecord component. - settings(Player) - Static method in class tschipp.linear.build.LinearState
- showModeUnlocked(BuildMode) - Static method in class tschipp.linear.LinearCommonClient
- SIZE - Static variable in class tschipp.linear.datagen.ModStructureProvider
- 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
startrecord component. - start() - Method in record class tschipp.linear.networking.serverbound.ServerboundBuildLinePacket
-
Returns the value of the
startrecord 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
amountofblockfrom 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
templaterecord component. - theInventoryPaysBeforeTheLastBlockInHand(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- theLastBlockInHandGoesOnlyWhenNothingElseIsLeft(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- theLineStopsWhenTheBlocksRunOut(GameTestHelper) - Static method in class tschipp.linear.gametest.LineBuildingGameTest
- 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.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.neoforge - package tschipp.linear.config.neoforge
- tschipp.linear.data - package tschipp.linear.data
- tschipp.linear.datagen - package tschipp.linear.datagen
- tschipp.linear.events - package tschipp.linear.events
- tschipp.linear.gametest - package tschipp.linear.gametest
- 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
typerecord 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
useWhitelistrecord 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
useWhiteliston, the only blocks that can be placed in a line.
All Classes and Interfaces|All Packages|Constant Field Values