Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AcVoltageSource(double, double, double, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.AcVoltageSource
-
Creates an instance of a
AcVoltageSourcerecord class. - API_VERSION - Static variable in class org.cha0scollective.wwpg.api.WWPGApi
-
Installed contract version, read at runtime rather than inlined into add-ons.
C
- capacitanceFarads() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Capacitor
-
Returns the value of the
capacitanceFaradsrecord component. - Capacitor(double) - Constructor for record class org.cha0scollective.wwpg.api.ElementState.Capacitor
-
Creates an instance of a
Capacitorrecord class. - Capacitor(double, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.Capacitor
-
Creates an instance of a
Capacitorrecord class. - changed(ServerLevel, BlockPos) - Method in interface org.cha0scollective.wwpg.api.neoforge.DeviceDiscoveryService
-
Queue loaded-only discovery at the next safe preparation phase.
- changed(ServerLevel, BlockPos) - Static method in class org.cha0scollective.wwpg.api.neoforge.ElectricalDevices
-
Notify WWPG that the device at a location may have changed.
- CircuitDescription - Record Class in org.cha0scollective.wwpg.api
-
Immutable desired device circuit.
- CircuitDescription(List<Terminal>, List<InternalNode>, List<Element>, Set<String>) - Constructor for record class org.cha0scollective.wwpg.api.CircuitDescription
-
Creates an instance of a
CircuitDescriptionrecord class. - closed() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Switch
-
Returns the value of the
closedrecord component. - commit(DeviceResults) - Method in interface org.cha0scollective.wwpg.api.ElectricalDevice
-
Consume accepted results once; save committed history and update native gameplay.
- context() - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Returns the value of the
contextrecord component. - context() - Method in record class org.cha0scollective.wwpg.api.VoltageMeasurement
-
Returns the value of the
contextrecord component. - ControlledCurrentSource(String, String, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledCurrentSource
-
Creates an instance of a
ControlledCurrentSourcerecord class. - ControlledVoltageSource(String, String, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledVoltageSource
-
Creates an instance of a
ControlledVoltageSourcerecord class. - controlNegativeNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledCurrentSource
-
Returns the value of the
controlNegativeNoderecord component. - controlNegativeNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledVoltageSource
-
Returns the value of the
controlNegativeNoderecord component. - controlPositiveNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledCurrentSource
-
Returns the value of the
controlPositiveNoderecord component. - controlPositiveNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledVoltageSource
-
Returns the value of the
controlPositiveNoderecord component. - currentAmps() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.CurrentSource
-
Returns the value of the
currentAmpsrecord component. - currentAmps() - Method in record class org.cha0scollective.wwpg.api.ElementState.Inductor
-
Returns the value of the
currentAmpsrecord component. - CurrentSource(double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.CurrentSource
-
Creates an instance of a
CurrentSourcerecord class.
D
- detail() - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Returns the value of the
detailrecord component. - detail() - Method in record class org.cha0scollective.wwpg.api.TerminalMeasurement
-
Returns the value of the
detailrecord component. - detail() - Method in record class org.cha0scollective.wwpg.api.VoltageMeasurement
-
Returns the value of the
detailrecord component. - device() - Method in record class org.cha0scollective.wwpg.api.EndpointIdentity
-
Returns the value of the
devicerecord component. - DEVICE - Static variable in class org.cha0scollective.wwpg.api.neoforge.ElectricalCapabilities
-
Stationary device at a block.
- DeviceDiscoveryService - Interface in org.cha0scollective.wwpg.api.neoforge
-
WWPG runtime service used by ElectricalDevices; add-ons use the facade.
- DeviceIdentity - Record Class in org.cha0scollective.wwpg.api
-
Complete stable location of an extension device.
- DeviceIdentity(String, int, int, int, String, String) - Constructor for record class org.cha0scollective.wwpg.api.DeviceIdentity
-
Creates an instance of a
DeviceIdentityrecord class. - DeviceResults - Record Class in org.cha0scollective.wwpg.api
-
Immutable current-tick result snapshot.
- DeviceResults(TickContext, MeasurementStatus, Map<String, NodeResult>, Map<String, ElementResult>, Map<String, ElementState>, String) - Constructor for record class org.cha0scollective.wwpg.api.DeviceResults
-
Creates an instance of a
DeviceResultsrecord class. - dimensionId() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
-
Returns the value of the
dimensionIdrecord component. - Diode(double, double, double, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
-
Creates an instance of a
Dioderecord class.
E
- ElectricalCapabilities - Class in org.cha0scollective.wwpg.api.neoforge
-
Capability registered by an add-on through NeoForge's RegisterCapabilitiesEvent.
- ElectricalDevice - Interface in org.cha0scollective.wwpg.api
-
A stationary electrical device exposed through the WWPG block capability.
- ElectricalDevices - Class in org.cha0scollective.wwpg.api.neoforge
-
Safe lifecycle notification for extension devices.
- ElectricalMeasurements - Class in org.cha0scollective.wwpg.api.neoforge
-
Read-only server measurements for devices participating through the extension capability.
- ElectricalModel - Interface in org.cha0scollective.wwpg.api
-
Captured electrical parameters supported by API 1.0.
- ElectricalModel.AcVoltageSource - Record Class in org.cha0scollective.wwpg.api
-
Ideal sinusoidal voltage source: offset + peak*sin(2*pi*frequency*t + phase).
- ElectricalModel.Capacitor - Record Class in org.cha0scollective.wwpg.api
-
Ideal capacitor integrated by backward Euler, without implicit leakage.
- ElectricalModel.ControlledCurrentSource - Record Class in org.cha0scollective.wwpg.api
-
Ideal current source carrying transconductanceSiemens*(VcontrolPositive - VcontrolNegative).
- ElectricalModel.ControlledVoltageSource - Record Class in org.cha0scollective.wwpg.api
-
Ideal voltage source imposing gain*(VcontrolPositive - VcontrolNegative).
- ElectricalModel.CurrentSource - Record Class in org.cha0scollective.wwpg.api
-
Ideal DC source carrying currentAmps from positive node to negative node.
- ElectricalModel.Diode - Record Class in org.cha0scollective.wwpg.api
-
PG-native silicon PN-junction model, with temperature compensation and series resistance.
- ElectricalModel.Inductor - Record Class in org.cha0scollective.wwpg.api
-
Ideal inductor integrated by backward Euler, without implicit series resistance.
- ElectricalModel.Resistor - Record Class in org.cha0scollective.wwpg.api
-
Passive resistor with strictly positive resistance in ohms.
- ElectricalModel.Switch - Record Class in org.cha0scollective.wwpg.api
-
Open circuit when closed is false; otherwise a resistor of onResistanceOhms.
- ElectricalModel.Transformer - Record Class in org.cha0scollective.wwpg.api
-
Ideal transformer.
- ElectricalModel.VoltageSource - Record Class in org.cha0scollective.wwpg.api
-
Ideal DC source imposing Vpositive minus Vnegative in volts.
- ElectricalProviders - Class in org.cha0scollective.wwpg.api.neoforge
-
Startup registration of stationary device providers.
- electricalState() - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Returns the value of the
electricalStaterecord component. - element(String) - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Current element reading, absent for an invalid snapshot or unknown element.
- Element - Record Class in org.cha0scollective.wwpg.api
-
Independently identified electrical element.
- Element(String, String, String, ElectricalModel) - Constructor for record class org.cha0scollective.wwpg.api.Element
-
Creates an instance of a
Elementrecord class. - ElementResult - Record Class in org.cha0scollective.wwpg.api
-
Valid oriented electrical measurements over the accepted substeps of one tick.
- ElementResult(double, double, double, double, double, double, double, double) - Constructor for record class org.cha0scollective.wwpg.api.ElementResult
-
Creates an instance of a
ElementResultrecord class. - elements() - Method in record class org.cha0scollective.wwpg.api.CircuitDescription
-
Returns the value of the
elementsrecord component. - elements() - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Returns the value of the
elementsrecord component. - ElementState - Interface in org.cha0scollective.wwpg.api
-
Accepted end-of-tick electrical history.
- ElementState.Capacitor - Record Class in org.cha0scollective.wwpg.api
-
Capacitor voltage in element orientation, in volts.
- ElementState.Inductor - Record Class in org.cha0scollective.wwpg.api
-
Inductor current from positive node to negative node, in amperes.
- empty() - Static method in record class org.cha0scollective.wwpg.api.CircuitDescription
-
Description with no nodes or elements.
- EndpointIdentity - Record Class in org.cha0scollective.wwpg.api
-
Persistent device and local node address; terminal list order is irrelevant.
- EndpointIdentity(DeviceIdentity, String) - Constructor for record class org.cha0scollective.wwpg.api.EndpointIdentity
-
Creates an instance of a
EndpointIdentityrecord class. - energyJoules() - Method in record class org.cha0scollective.wwpg.api.ElementResult
-
Returns the value of the
energyJoulesrecord component. - equals(Object) - Method in record class org.cha0scollective.wwpg.api.CircuitDescription
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.AcVoltageSource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Capacitor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledCurrentSource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledVoltageSource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.CurrentSource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Inductor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Resistor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Switch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Transformer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.VoltageSource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.Element
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElementResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElementState.Capacitor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.ElementState.Inductor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.EndpointIdentity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.InternalNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.LocalPoint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.NodeResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.Terminal
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.TerminalMeasurement
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.TickContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cha0scollective.wwpg.api.VoltageMeasurement
-
Indicates whether some other object is "equal to" this one.
F
- freeze() - Static method in class org.cha0scollective.wwpg.api.neoforge.ElectricalProviders
-
Runtime lifecycle hook after startup registration; no later additions are accepted.
- frequencyHertz() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.AcVoltageSource
-
Returns the value of the
frequencyHertzrecord component.
G
- gain() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledVoltageSource
-
Returns the value of the
gainrecord component. - gameTime() - Method in record class org.cha0scollective.wwpg.api.TickContext
-
Returns the value of the
gameTimerecord component. - grounds() - Method in record class org.cha0scollective.wwpg.api.CircuitDescription
-
Returns the value of the
groundsrecord component.
H
- hashCode() - Method in record class org.cha0scollective.wwpg.api.CircuitDescription
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.AcVoltageSource
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Capacitor
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledCurrentSource
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledVoltageSource
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.CurrentSource
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Inductor
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Resistor
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Switch
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Transformer
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.VoltageSource
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.Element
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElementResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElementState.Capacitor
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.ElementState.Inductor
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.EndpointIdentity
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.InternalNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.LocalPoint
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.NodeResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.Terminal
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.TerminalMeasurement
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.TickContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cha0scollective.wwpg.api.VoltageMeasurement
-
Returns a hash code value for this object.
- hitRadius() - Method in record class org.cha0scollective.wwpg.api.Terminal
-
Returns the value of the
hitRadiusrecord component.
I
- id() - Method in record class org.cha0scollective.wwpg.api.Element
-
Returns the value of the
idrecord component. - idealityFactor() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
-
Returns the value of the
idealityFactorrecord component. - inductanceHenries() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Inductor
-
Returns the value of the
inductanceHenriesrecord component. - Inductor(double) - Constructor for record class org.cha0scollective.wwpg.api.ElementState.Inductor
-
Creates an instance of a
Inductorrecord class. - Inductor(double, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.Inductor
-
Creates an instance of a
Inductorrecord class. - initialCurrentAmps() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Inductor
-
Returns the value of the
initialCurrentAmpsrecord component. - initialVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Capacitor
-
Returns the value of the
initialVoltageVoltsrecord component. - InternalNode - Record Class in org.cha0scollective.wwpg.api
-
An electrical node without an externally selectable wiring terminal.
- InternalNode(String) - Constructor for record class org.cha0scollective.wwpg.api.InternalNode
-
Creates an instance of a
InternalNoderecord class. - internalNodes() - Method in record class org.cha0scollective.wwpg.api.CircuitDescription
-
Returns the value of the
internalNodesrecord component. - isFrozen() - Static method in class org.cha0scollective.wwpg.api.neoforge.ElectricalProviders
-
Whether the startup registration catalog has been frozen.
- ISOLATED - Enum constant in enum class org.cha0scollective.wwpg.api.MeasurementStatus
-
Unsupported or invalid electrical description has been explicitly isolated.
K
- key() - Method in record class org.cha0scollective.wwpg.api.InternalNode
-
Returns the value of the
keyrecord component. - key() - Method in record class org.cha0scollective.wwpg.api.Terminal
-
Returns the value of the
keyrecord component.
L
- lastCurrentAmps() - Method in record class org.cha0scollective.wwpg.api.ElementResult
-
Returns the value of the
lastCurrentAmpsrecord component. - lastVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElementResult
-
Returns the value of the
lastVoltageVoltsrecord component. - lastVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.NodeResult
-
Returns the value of the
lastVoltageVoltsrecord component. - LocalPoint - Record Class in org.cha0scollective.wwpg.api
-
Terminal position in block-local coordinates, already transformed for block orientation.
- LocalPoint(double, double, double) - Constructor for record class org.cha0scollective.wwpg.api.LocalPoint
-
Creates an instance of a
LocalPointrecord class.
M
- MAX_ELEMENTS - Static variable in class org.cha0scollective.wwpg.api.WWPGApi
-
Maximum number of independently identified elements in one device.
- MAX_NODES - Static variable in class org.cha0scollective.wwpg.api.WWPGApi
-
Maximum number of terminals and internal nodes in one device.
- MAX_TERMINAL_ID - Static variable in class org.cha0scollective.wwpg.api.WWPGApi
-
Maximum supported explicit terminal number.
- meanCurrentAmps() - Method in record class org.cha0scollective.wwpg.api.ElementResult
-
Returns the value of the
meanCurrentAmpsrecord component. - meanPowerWatts() - Method in record class org.cha0scollective.wwpg.api.ElementResult
-
Returns the value of the
meanPowerWattsrecord component. - meanVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElementResult
-
Returns the value of the
meanVoltageVoltsrecord component. - meanVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.NodeResult
-
Returns the value of the
meanVoltageVoltsrecord component. - MeasurementService - Interface in org.cha0scollective.wwpg.api.neoforge
-
WWPG runtime discovery service used by ElectricalMeasurements.
- MeasurementStatus - Enum Class in org.cha0scollective.wwpg.api
-
Validity of a current electrical sample.
- model() - Method in record class org.cha0scollective.wwpg.api.Element
-
Returns the value of the
modelrecord component.
N
- nativeId() - Method in record class org.cha0scollective.wwpg.api.Terminal
-
Returns the value of the
nativeIdrecord component. - negativeNode() - Method in record class org.cha0scollective.wwpg.api.Element
-
Returns the value of the
negativeNoderecord component. - node(String) - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Current node reading, absent for an invalid snapshot or unknown node.
- nodeKey() - Method in record class org.cha0scollective.wwpg.api.EndpointIdentity
-
Returns the value of the
nodeKeyrecord component. - NodeResult - Record Class in org.cha0scollective.wwpg.api
-
Valid node voltages relative to the solver's circuit reference, over this tick.
- NodeResult(double, double, double) - Constructor for record class org.cha0scollective.wwpg.api.NodeResult
-
Creates an instance of a
NodeResultrecord class. - nodes() - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Returns the value of the
nodesrecord component. - NOT_READY - Enum constant in enum class org.cha0scollective.wwpg.api.MeasurementStatus
-
Device, assembly, wire entities, or first electrical sample are not ready.
O
- offsetVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.AcVoltageSource
-
Returns the value of the
offsetVoltageVoltsrecord component. - onResistanceOhms() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Switch
-
Returns the value of the
onResistanceOhmsrecord component. - org.cha0scollective.wwpg.api - package org.cha0scollective.wwpg.api
-
Stationary electrical extension API 1.0.
- org.cha0scollective.wwpg.api.neoforge - package org.cha0scollective.wwpg.api.neoforge
-
NeoForge-specific discovery for the platform-independent WWPG electrical contracts.
- owner(Block) - Static method in class org.cha0scollective.wwpg.api.neoforge.ElectricalProviders
-
Declared owner of a block, without querying a world or creating a device.
P
- peakVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.AcVoltageSource
-
Returns the value of the
peakVoltageVoltsrecord component. - phaseRadians() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.AcVoltageSource
-
Returns the value of the
phaseRadiansrecord component. - position() - Method in record class org.cha0scollective.wwpg.api.Terminal
-
Returns the value of the
positionrecord component. - positiveNode() - Method in record class org.cha0scollective.wwpg.api.Element
-
Returns the value of the
positiveNoderecord component. - prepare(TickContext) - Method in interface org.cha0scollective.wwpg.api.ElectricalDevice
-
Capture circuit topology and parameters for the supplied authoritative tick.
- providerId() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
-
Returns the value of the
providerIdrecord component. - providerId() - Method in interface org.cha0scollective.wwpg.api.ElectricalDevice
-
Stable namespaced provider ID, such as example:machine.
R
- ratio() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Transformer
-
Returns the value of the
ratiorecord component. - read(ServerLevel, BlockPos) - Static method in class org.cha0scollective.wwpg.api.neoforge.ElectricalMeasurements
-
Latest accepted or unavailable snapshot for the extension at this location.
- read(ServerLevel, BlockPos) - Method in interface org.cha0scollective.wwpg.api.neoforge.MeasurementService
-
Read the latest extension-device snapshot without solving or loading chunks.
- readTerminal(ServerLevel, BlockPos, int) - Static method in class org.cha0scollective.wwpg.api.neoforge.ElectricalMeasurements
-
Voltage relative to the containing circuit's solver reference, including mean and RMS.
- readTerminal(ServerLevel, BlockPos, int) - Method in interface org.cha0scollective.wwpg.api.neoforge.MeasurementService
-
Read a native PG, native CEE, or extension terminal without creating endpoints.
- readVoltageBetween(ServerLevel, BlockPos, int, BlockPos, int) - Static method in class org.cha0scollective.wwpg.api.neoforge.ElectricalMeasurements
-
Signed voltage at A minus B.
- readVoltageBetween(ServerLevel, BlockPos, int, BlockPos, int) - Method in interface org.cha0scollective.wwpg.api.neoforge.MeasurementService
-
Signed A-minus-B voltage; RMS is calculated from the differential waveform.
- registerBlock(RegisterCapabilitiesEvent, String, IBlockCapabilityProvider<ElectricalDevice, Void>, Block...) - Static method in class org.cha0scollective.wwpg.api.neoforge.ElectricalProviders
-
Register one namespaced provider for explicitly listed plain or entity blocks.
- registerBlockEntity(RegisterCapabilitiesEvent, String, BlockEntityType<BE>, ICapabilityProvider<? super BE, Void, ElectricalDevice>) - Static method in class org.cha0scollective.wwpg.api.neoforge.ElectricalProviders
-
Register one namespaced provider for every valid block of a native entity type.
- registeredBlocks() - Static method in class org.cha0scollective.wwpg.api.neoforge.ElectricalProviders
-
Immutable declared targets for loaded-chunk discovery; no world access.
- resistanceOhms() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Resistor
-
Returns the value of the
resistanceOhmsrecord component. - Resistor(double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.Resistor
-
Creates an instance of a
Resistorrecord class. - rmsCurrentAmps() - Method in record class org.cha0scollective.wwpg.api.ElementResult
-
Returns the value of the
rmsCurrentAmpsrecord component. - rmsVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElementResult
-
Returns the value of the
rmsVoltageVoltsrecord component. - rmsVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.NodeResult
-
Returns the value of the
rmsVoltageVoltsrecord component.
S
- saturationCurrentAmps() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
-
Returns the value of the
saturationCurrentAmpsrecord component. - secondaryNegativeNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Transformer
-
Returns the value of the
secondaryNegativeNoderecord component. - secondaryPositiveNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Transformer
-
Returns the value of the
secondaryPositiveNoderecord component. - seriesResistanceOhms() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
-
Returns the value of the
seriesResistanceOhmsrecord component. - slotId() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
-
Returns the value of the
slotIdrecord component. - slotId() - Method in interface org.cha0scollective.wwpg.api.ElectricalDevice
-
Stable identity slot for the capability's single device or whole assembly.
- SOLVE_FAILED - Enum constant in enum class org.cha0scollective.wwpg.api.MeasurementStatus
-
The affected network did not produce an accepted solution this tick.
- startTimeSeconds() - Method in record class org.cha0scollective.wwpg.api.TickContext
-
Absolute simulated time at the start of this tick, for source waveforms.
- state(String) - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Committed storage history for the specified element, when available.
- status() - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Returns the value of the
statusrecord component. - status() - Method in record class org.cha0scollective.wwpg.api.TerminalMeasurement
-
Returns the value of the
statusrecord component. - status() - Method in record class org.cha0scollective.wwpg.api.VoltageMeasurement
-
Returns the value of the
statusrecord component. - substeps() - Method in record class org.cha0scollective.wwpg.api.TickContext
-
Returns the value of the
substepsrecord component. - substepSeconds() - Method in record class org.cha0scollective.wwpg.api.TickContext
-
Duration of each accepted electrical substep in simulated seconds.
- Switch(boolean, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.Switch
-
Creates an instance of a
Switchrecord class.
T
- temperatureCelsius() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
-
Returns the value of the
temperatureCelsiusrecord component. - Terminal - Record Class in org.cha0scollective.wwpg.api
-
A selectable external node.
- Terminal(String, int, LocalPoint, double) - Constructor for record class org.cha0scollective.wwpg.api.Terminal
-
Creates an instance of a
Terminalrecord class. - TerminalMeasurement - Record Class in org.cha0scollective.wwpg.api
-
Read-only terminal sample.
- TerminalMeasurement(MeasurementStatus, OptionalDouble, String) - Constructor for record class org.cha0scollective.wwpg.api.TerminalMeasurement
-
Creates an instance of a
TerminalMeasurementrecord class. - terminals() - Method in record class org.cha0scollective.wwpg.api.CircuitDescription
-
Returns the value of the
terminalsrecord component. - terminals() - Method in interface org.cha0scollective.wwpg.api.ElectricalDevice
-
Immutable external terminal geometry snapshot; no electrical advancement.
- TickContext - Record Class in org.cha0scollective.wwpg.api
-
Authoritative server electrical timestep.
- TickContext(long, double, int) - Constructor for record class org.cha0scollective.wwpg.api.TickContext
-
Creates an instance of a
TickContextrecord class. - tickSeconds() - Method in record class org.cha0scollective.wwpg.api.TickContext
-
Returns the value of the
tickSecondsrecord component. - toString() - Method in record class org.cha0scollective.wwpg.api.CircuitDescription
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.AcVoltageSource
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Capacitor
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledCurrentSource
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledVoltageSource
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.CurrentSource
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Inductor
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Resistor
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Switch
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Transformer
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.VoltageSource
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.Element
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElementResult
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElementState.Capacitor
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.ElementState.Inductor
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.EndpointIdentity
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.InternalNode
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.LocalPoint
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.NodeResult
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.Terminal
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.TerminalMeasurement
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.TickContext
-
Returns a string representation of this record class.
- toString() - Method in record class org.cha0scollective.wwpg.api.VoltageMeasurement
-
Returns a string representation of this record class.
- transconductanceSiemens() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledCurrentSource
-
Returns the value of the
transconductanceSiemensrecord component. - Transformer(String, String, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.Transformer
-
Creates an instance of a
Transformerrecord class.
U
- unavailable(TickContext, MeasurementStatus, String) - Static method in record class org.cha0scollective.wwpg.api.DeviceResults
-
Construct a diagnostic snapshot with no stale electrical data.
- unavailable(TickContext, MeasurementStatus, String) - Static method in record class org.cha0scollective.wwpg.api.VoltageMeasurement
V
- VALID - Enum constant in enum class org.cha0scollective.wwpg.api.MeasurementStatus
-
Accepted solution, including a legitimate zero reading.
- validate(Block, ElectricalDevice) - Static method in class org.cha0scollective.wwpg.api.neoforge.ElectricalProviders
-
Validate a returned capability against its startup declaration.
- valueOf(String) - Static method in enum class org.cha0scollective.wwpg.api.MeasurementStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.cha0scollective.wwpg.api.MeasurementStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Static method in class org.cha0scollective.wwpg.api.WWPGApi
-
Return the installed API's semantic version, independent of the mod version.
- voltage() - Method in record class org.cha0scollective.wwpg.api.VoltageMeasurement
-
Returns the value of the
voltagerecord component. - VoltageMeasurement - Record Class in org.cha0scollective.wwpg.api
-
Accepted terminal or signed differential voltage samples over one electrical tick.
- VoltageMeasurement(TickContext, MeasurementStatus, Optional<NodeResult>, String) - Constructor for record class org.cha0scollective.wwpg.api.VoltageMeasurement
-
Creates an instance of a
VoltageMeasurementrecord class. - VoltageSource(double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.VoltageSource
-
Creates an instance of a
VoltageSourcerecord class. - voltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.VoltageSource
-
Returns the value of the
voltageVoltsrecord component. - voltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElementState.Capacitor
-
Returns the value of the
voltageVoltsrecord component. - voltageVolts() - Method in record class org.cha0scollective.wwpg.api.TerminalMeasurement
-
Returns the value of the
voltageVoltsrecord component.
W
- WWPGApi - Class in org.cha0scollective.wwpg.api
-
Published API version, independently versioned from the WWPG runtime.
X
- x() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
-
Returns the value of the
xrecord component. - x() - Method in record class org.cha0scollective.wwpg.api.LocalPoint
-
Returns the value of the
xrecord component.
Y
- y() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
-
Returns the value of the
yrecord component. - y() - Method in record class org.cha0scollective.wwpg.api.LocalPoint
-
Returns the value of the
yrecord component.
Z
- z() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
-
Returns the value of the
zrecord component. - z() - Method in record class org.cha0scollective.wwpg.api.LocalPoint
-
Returns the value of the
zrecord component.
All Classes and Interfaces|All Packages|Constant Field Values