Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- always() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorMobs
-
Returns the value of the
alwaysrecord component. - amount() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLoot
-
Returns the value of the
amountrecord component. - animateTick(BlockState, Level, BlockPos, RandomSource) - Method in class net.darkhax.retroreactors.common.block.ReactorCoreBlock
B
- becomes() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorPiece
-
Returns the value of the
becomesrecord component. - block() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorPiece
-
Returns the value of the
blockrecord component. - BLOCK_STATE_CODEC - Static variable in class net.darkhax.retroreactors.common.RetroReactors
-
A codec for BlockState that is based on the vanilla one, but uses lowercase property names to remain consistent with the rest of the schema.
C
- casing() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Returns the value of the
casingrecord component. - catalyst() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Returns the value of the
catalystrecord component. - CHARGING - Enum constant in enum class net.darkhax.retroreactors.common.block.ReactorPhase
-
The core starts emitting energy particles and starts sucking in cloud/dust particles as it charges up.
- CODEC - Static variable in record class net.darkhax.retroreactors.common.data.reactor.ReactorDecorator
- CODEC - Static variable in record class net.darkhax.retroreactors.common.data.reactor.ReactorLayer
- CODEC - Static variable in record class net.darkhax.retroreactors.common.data.reactor.ReactorLoot
- CODEC - Static variable in record class net.darkhax.retroreactors.common.data.reactor.ReactorMobs
- CODEC - Static variable in record class net.darkhax.retroreactors.common.data.reactor.ReactorPiece
- CODEC - Static variable in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
- createBlockStateDefinition(StateDefinition.Builder) - Method in class net.darkhax.retroreactors.common.block.ReactorCoreBlock
- CRITICAL - Enum constant in enum class net.darkhax.retroreactors.common.block.ReactorPhase
-
The core becomes red for a brief moment before spawning an explosion that doesn't break blocks.
D
- decorator() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Returns the value of the
decoratorrecord component. - defineBlocks(BlockRegistryAdapter) - Method in class net.darkhax.retroreactors.common.RetroReactorsContent
- defineDataRegistries(DataRegistryAdapter) - Method in class net.darkhax.retroreactors.common.RetroReactorsContent
E
- equals(Object) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorDecorator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLayer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLoot
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorMobs
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorPiece
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Indicates whether some other object is "equal to" this one.
F
- fill() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLayer
-
Returns the value of the
fillrecord component. - findById(ServerLevel, Identifier) - Static method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Searches for a reactor type by its ID.
- findType(ServerLevel, BlockPos) - Static method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Attempts to find a matching reactor type for the current core multiblock structure.
G
- getBlockTint(Consumer) - Method in class net.darkhax.retroreactors.common.block.ReactorCoreBlock
- getFloorRadius() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Gets the radius for the floor of the tower.
- getHeight() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Determines the height of the new reactor tower.
- getLargestRadius() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Determines the largest radius of all layers, including the decorator layer.
- getReasonNotToGenerate(ServerLevel, ReactorType, BlockPos) - Static method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Determines if the reactor is unable to generate, and provides a reason.
- getSerializedName() - Method in enum class net.darkhax.retroreactors.common.block.ReactorPhase
H
- hashCode() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorDecorator
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLayer
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLoot
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorMobs
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorPiece
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Returns a hash code value for this object.
- height() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLayer
-
Returns the value of the
heightrecord component.
I
- id(String) - Static method in class net.darkhax.retroreactors.common.RetroReactors
- isObstructed(ServerLevel, BlockPos) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Checks if the tower itself would be obstructed.
- isObstructed(ServerLevel, BlockPos, int) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLayer
-
Checks if the layer would be obstructed and prevents the layer from generating.
- isValidReactor(ServerLevel, BlockPos) - Static method in class net.darkhax.retroreactors.common.RetroReactors
L
- layers() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Returns the value of the
layersrecord component. - locatePlayers(ServerLevel, BlockPos, int) - Static method in class net.darkhax.retroreactors.common.RetroReactors
- loot() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Returns the value of the
lootrecord component.
M
- matches(ServerLevel, BlockPos) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorPiece
- matches(ServerLevel, BlockPos.MutableBlockPos) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Checks if a given position has a valid reactor multiblock structure to activate this reactor type.
- mobs() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Returns the value of the
mobsrecord component. - MOD_ID - Static variable in class net.darkhax.retroreactors.common.RetroReactors
- MSG_INVALID_BOUNDS_BORDER - Static variable in class net.darkhax.retroreactors.common.RetroReactors
- MSG_INVALID_BOUNDS_HIGH - Static variable in class net.darkhax.retroreactors.common.RetroReactors
- MSG_INVALID_BOUNDS_LOW - Static variable in class net.darkhax.retroreactors.common.RetroReactors
- MSG_INVALID_OBSTRUCTED - Static variable in class net.darkhax.retroreactors.common.RetroReactors
- MSG_INVALID_STRUCTURE - Static variable in class net.darkhax.retroreactors.common.RetroReactors
- MSG_OFFLINE - Static variable in class net.darkhax.retroreactors.common.RetroReactors
- MSG_ONLINE - Static variable in class net.darkhax.retroreactors.common.RetroReactors
N
- namespace() - Method in class net.darkhax.retroreactors.common.RetroReactorsContent
- net.darkhax.retroreactors.common - package net.darkhax.retroreactors.common
- net.darkhax.retroreactors.common.block - package net.darkhax.retroreactors.common.block
- net.darkhax.retroreactors.common.data.reactor - package net.darkhax.retroreactors.common.data.reactor
P
- palette() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorDecorator
-
Returns the value of the
paletterecord component. - palette() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLayer
-
Returns the value of the
paletterecord component. - palettes() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Returns the value of the
palettesrecord component. - PALETTES_CODEC - Static variable in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
- place(ServerLevel, BlockPos) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Places the reactor type into the world.
- place(ServerLevel, WeightedList, BlockPos) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorDecorator
- place(ServerLevel, WeightedList, BlockPos) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLayer
-
Places the layer into the world.
- PROPERTY - Static variable in enum class net.darkhax.retroreactors.common.block.ReactorPhase
R
- radius() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorDecorator
-
Returns the value of the
radiusrecord component. - radius() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLayer
-
Returns the value of the
radiusrecord component. - radius() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLoot
-
Returns the value of the
radiusrecord component. - random() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorMobs
-
Returns the value of the
randomrecord component. - REACTOR_TYPE_REGISTRY - Static variable in class net.darkhax.retroreactors.common.RetroReactorsContent
- ReactorCoreBlock - Class in net.darkhax.retroreactors.common.block
- ReactorCoreBlock(BlockBehaviour.Properties) - Constructor for class net.darkhax.retroreactors.common.block.ReactorCoreBlock
- ReactorDecorator - Record Class in net.darkhax.retroreactors.common.data.reactor
-
Decorates the first floor of the reactor tower.
- ReactorDecorator(int, String) - Constructor for record class net.darkhax.retroreactors.common.data.reactor.ReactorDecorator
-
Creates an instance of a
ReactorDecoratorrecord class. - ReactorLayer - Record Class in net.darkhax.retroreactors.common.data.reactor
-
Represents a layer in the reactor tower structure that is generated.
- ReactorLayer(String, int, int, boolean) - Constructor for record class net.darkhax.retroreactors.common.data.reactor.ReactorLayer
-
Creates an instance of a
ReactorLayerrecord class. - ReactorLoot - Record Class in net.darkhax.retroreactors.common.data.reactor
-
Determines how loot generates inside the reactor tower.
- ReactorLoot(NumberProvider, NumberProvider, ResourceKey) - Constructor for record class net.darkhax.retroreactors.common.data.reactor.ReactorLoot
-
Creates an instance of a
ReactorLootrecord class. - ReactorMobs - Record Class in net.darkhax.retroreactors.common.data.reactor
-
Represents mob spawning logic for a reactor tower.
- ReactorMobs(NumberProvider, NumberProvider, WeightedList, List) - Constructor for record class net.darkhax.retroreactors.common.data.reactor.ReactorMobs
-
Creates an instance of a
ReactorMobsrecord class. - ReactorPhase - Enum Class in net.darkhax.retroreactors.common.block
- ReactorPiece - Record Class in net.darkhax.retroreactors.common.data.reactor
-
Represents a piece of the reactor structure.
- ReactorPiece(BlockPredicate, BlockState) - Constructor for record class net.darkhax.retroreactors.common.data.reactor.ReactorPiece
-
Creates an instance of a
ReactorPiecerecord class. - ReactorType - Record Class in net.darkhax.retroreactors.common.data.reactor
-
Defines a type of dimensional reactor.
- ReactorType(ReactorPiece, ReactorPiece, Map, List, Optional, Optional, Optional) - Constructor for record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Creates an instance of a
ReactorTyperecord class. - RetroReactors - Class in net.darkhax.retroreactors.common
- RetroReactors() - Constructor for class net.darkhax.retroreactors.common.RetroReactors
- RetroReactorsContent - Class in net.darkhax.retroreactors.common
- RetroReactorsContent() - Constructor for class net.darkhax.retroreactors.common.RetroReactorsContent
S
- spawn(ServerLevel, BlockPos, LootContext) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLoot
-
Spawns loot within the reactor tower.
- spawnAmount() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorMobs
-
Returns the value of the
spawnAmountrecord component. - spawnMobs(ServerLevel, BlockPos, LootContext) - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorMobs
-
Spawns mobs from the configuration into the reactor.
- spawnRadius() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorMobs
-
Returns the value of the
spawnRadiusrecord component. - STABLE - Enum constant in enum class net.darkhax.retroreactors.common.block.ReactorPhase
-
The core does not do anything special when in the stable phase.
T
- table() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLoot
-
Returns the value of the
tablerecord component. - tick(BlockState, ServerLevel, BlockPos, RandomSource) - Method in class net.darkhax.retroreactors.common.block.ReactorCoreBlock
- toString() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorDecorator
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLayer
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorLoot
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorMobs
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorPiece
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.retroreactors.common.data.reactor.ReactorType
-
Returns a string representation of this record class.
U
- UNSTABLE - Enum constant in enum class net.darkhax.retroreactors.common.block.ReactorPhase
-
The core starts flashing between red and yellow to indicate it is unstable.
- useWithoutItem(BlockState, Level, BlockPos, Player, BlockHitResult) - Method in class net.darkhax.retroreactors.common.block.ReactorCoreBlock
V
- valueOf(String) - Static method in enum class net.darkhax.retroreactors.common.block.ReactorPhase
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.darkhax.retroreactors.common.block.ReactorPhase
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values