Index

A C D E F G H I K L M N O P R S T U V W X Y Z 
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 AcVoltageSource record 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 capacitanceFarads record component.
Capacitor(double) - Constructor for record class org.cha0scollective.wwpg.api.ElementState.Capacitor
Creates an instance of a Capacitor record class.
Capacitor(double, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.Capacitor
Creates an instance of a Capacitor record 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 CircuitDescription record class.
closed() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Switch
Returns the value of the closed record 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 context record component.
context() - Method in record class org.cha0scollective.wwpg.api.VoltageMeasurement
Returns the value of the context record component.
ControlledCurrentSource(String, String, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledCurrentSource
Creates an instance of a ControlledCurrentSource record class.
ControlledVoltageSource(String, String, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledVoltageSource
Creates an instance of a ControlledVoltageSource record class.
controlNegativeNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledCurrentSource
Returns the value of the controlNegativeNode record component.
controlNegativeNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledVoltageSource
Returns the value of the controlNegativeNode record component.
controlPositiveNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledCurrentSource
Returns the value of the controlPositiveNode record component.
controlPositiveNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledVoltageSource
Returns the value of the controlPositiveNode record component.
currentAmps() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.CurrentSource
Returns the value of the currentAmps record component.
currentAmps() - Method in record class org.cha0scollective.wwpg.api.ElementState.Inductor
Returns the value of the currentAmps record component.
CurrentSource(double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.CurrentSource
Creates an instance of a CurrentSource record class.

D

detail() - Method in record class org.cha0scollective.wwpg.api.DeviceResults
Returns the value of the detail record component.
detail() - Method in record class org.cha0scollective.wwpg.api.TerminalMeasurement
Returns the value of the detail record component.
detail() - Method in record class org.cha0scollective.wwpg.api.VoltageMeasurement
Returns the value of the detail record component.
device() - Method in record class org.cha0scollective.wwpg.api.EndpointIdentity
Returns the value of the device record 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 DeviceIdentity record 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 DeviceResults record class.
dimensionId() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
Returns the value of the dimensionId record component.
Diode(double, double, double, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
Creates an instance of a Diode record 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 electricalState record 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 Element record 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 ElementResult record class.
elements() - Method in record class org.cha0scollective.wwpg.api.CircuitDescription
Returns the value of the elements record component.
elements() - Method in record class org.cha0scollective.wwpg.api.DeviceResults
Returns the value of the elements record 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 EndpointIdentity record class.
energyJoules() - Method in record class org.cha0scollective.wwpg.api.ElementResult
Returns the value of the energyJoules record 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 frequencyHertz record component.

G

gain() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.ControlledVoltageSource
Returns the value of the gain record component.
gameTime() - Method in record class org.cha0scollective.wwpg.api.TickContext
Returns the value of the gameTime record component.
grounds() - Method in record class org.cha0scollective.wwpg.api.CircuitDescription
Returns the value of the grounds record 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 hitRadius record component.

I

id() - Method in record class org.cha0scollective.wwpg.api.Element
Returns the value of the id record component.
idealityFactor() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
Returns the value of the idealityFactor record component.
inductanceHenries() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Inductor
Returns the value of the inductanceHenries record component.
Inductor(double) - Constructor for record class org.cha0scollective.wwpg.api.ElementState.Inductor
Creates an instance of a Inductor record class.
Inductor(double, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.Inductor
Creates an instance of a Inductor record class.
initialCurrentAmps() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Inductor
Returns the value of the initialCurrentAmps record component.
initialVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Capacitor
Returns the value of the initialVoltageVolts record 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 InternalNode record class.
internalNodes() - Method in record class org.cha0scollective.wwpg.api.CircuitDescription
Returns the value of the internalNodes record 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 key record component.
key() - Method in record class org.cha0scollective.wwpg.api.Terminal
Returns the value of the key record component.

L

lastCurrentAmps() - Method in record class org.cha0scollective.wwpg.api.ElementResult
Returns the value of the lastCurrentAmps record component.
lastVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElementResult
Returns the value of the lastVoltageVolts record component.
lastVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.NodeResult
Returns the value of the lastVoltageVolts record 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 LocalPoint record 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 meanCurrentAmps record component.
meanPowerWatts() - Method in record class org.cha0scollective.wwpg.api.ElementResult
Returns the value of the meanPowerWatts record component.
meanVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElementResult
Returns the value of the meanVoltageVolts record component.
meanVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.NodeResult
Returns the value of the meanVoltageVolts record 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 model record component.

N

nativeId() - Method in record class org.cha0scollective.wwpg.api.Terminal
Returns the value of the nativeId record component.
negativeNode() - Method in record class org.cha0scollective.wwpg.api.Element
Returns the value of the negativeNode record 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 nodeKey record 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 NodeResult record class.
nodes() - Method in record class org.cha0scollective.wwpg.api.DeviceResults
Returns the value of the nodes record 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 offsetVoltageVolts record component.
onResistanceOhms() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Switch
Returns the value of the onResistanceOhms record 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 peakVoltageVolts record component.
phaseRadians() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.AcVoltageSource
Returns the value of the phaseRadians record component.
position() - Method in record class org.cha0scollective.wwpg.api.Terminal
Returns the value of the position record component.
positiveNode() - Method in record class org.cha0scollective.wwpg.api.Element
Returns the value of the positiveNode record 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 providerId record 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 ratio record 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 resistanceOhms record component.
Resistor(double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.Resistor
Creates an instance of a Resistor record class.
rmsCurrentAmps() - Method in record class org.cha0scollective.wwpg.api.ElementResult
Returns the value of the rmsCurrentAmps record component.
rmsVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElementResult
Returns the value of the rmsVoltageVolts record component.
rmsVoltageVolts() - Method in record class org.cha0scollective.wwpg.api.NodeResult
Returns the value of the rmsVoltageVolts record component.

S

saturationCurrentAmps() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
Returns the value of the saturationCurrentAmps record component.
secondaryNegativeNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Transformer
Returns the value of the secondaryNegativeNode record component.
secondaryPositiveNode() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Transformer
Returns the value of the secondaryPositiveNode record component.
seriesResistanceOhms() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
Returns the value of the seriesResistanceOhms record component.
slotId() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
Returns the value of the slotId record 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 status record component.
status() - Method in record class org.cha0scollective.wwpg.api.TerminalMeasurement
Returns the value of the status record component.
status() - Method in record class org.cha0scollective.wwpg.api.VoltageMeasurement
Returns the value of the status record component.
substeps() - Method in record class org.cha0scollective.wwpg.api.TickContext
Returns the value of the substeps record 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 Switch record class.

T

temperatureCelsius() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.Diode
Returns the value of the temperatureCelsius record 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 Terminal record 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 TerminalMeasurement record class.
terminals() - Method in record class org.cha0scollective.wwpg.api.CircuitDescription
Returns the value of the terminals record 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 TickContext record class.
tickSeconds() - Method in record class org.cha0scollective.wwpg.api.TickContext
Returns the value of the tickSeconds record 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 transconductanceSiemens record component.
Transformer(String, String, double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.Transformer
Creates an instance of a Transformer record 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 voltage record 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 VoltageMeasurement record class.
VoltageSource(double) - Constructor for record class org.cha0scollective.wwpg.api.ElectricalModel.VoltageSource
Creates an instance of a VoltageSource record class.
voltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElectricalModel.VoltageSource
Returns the value of the voltageVolts record component.
voltageVolts() - Method in record class org.cha0scollective.wwpg.api.ElementState.Capacitor
Returns the value of the voltageVolts record component.
voltageVolts() - Method in record class org.cha0scollective.wwpg.api.TerminalMeasurement
Returns the value of the voltageVolts record 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 x record component.
x() - Method in record class org.cha0scollective.wwpg.api.LocalPoint
Returns the value of the x record component.

Y

y() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
Returns the value of the y record component.
y() - Method in record class org.cha0scollective.wwpg.api.LocalPoint
Returns the value of the y record component.

Z

z() - Method in record class org.cha0scollective.wwpg.api.DeviceIdentity
Returns the value of the z record component.
z() - Method in record class org.cha0scollective.wwpg.api.LocalPoint
Returns the value of the z record component.
A C D E F G H I K L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values