Class RadioReceiver
java.lang.Object
com.codinglitch.simpleradio.radio.RadioRouter
com.codinglitch.simpleradio.radio.RadioReceiver
-
Nested Class Summary
Nested classes/interfaces inherited from class com.codinglitch.simpleradio.radio.RadioRouter
RadioRouter.Compiled<E> -
Field Summary
FieldsModifier and TypeFieldDescriptionintFields inherited from class com.codinglitch.simpleradio.radio.RadioRouter
acceptCriteria, active, activity, activityTime, compiledActivity, compiledSamples, connectionOffset, distributes, identifier, link, oldPosition, owner, position, reference, rotation, routeCriteria, routerAcceptor, routers, valid, velocity, wires -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRadioReceiver(Frequency frequency) RadioReceiver(Frequency frequency, WorldlyPosition location) RadioReceiver(Frequency frequency, WorldlyPosition location, UUID uuid) protectedRadioReceiver(Frequency frequency, UUID id) RadioReceiver(Frequency frequency, net.minecraft.world.entity.Entity owner) RadioReceiver(Frequency frequency, net.minecraft.world.entity.Entity owner, UUID uuid) -
Method Summary
Methods inherited from class com.codinglitch.simpleradio.radio.RadioRouter
accept, addRouter, allowDistribution, compileActivity, distanceTo, distanceTo, getActivity, getActivityTime, getConnectionOffset, getConnectionPosition, getDecoder, getEncoder, getIdentifier, getLink, getLocation, getOwner, getPosition, getRedstoneMappedActivity, getReference, getRotation, getRouter, getRouter, getRouterFromReceivers, getRouterFromTransmitters, getRouters, getVelocity, getWires, informActivity, invalidate, isActive, isClientSide, isValid, prepareSource, route, route, send, send, send, send, send, send, send, send, send, send, setAcceptingCriteria, setActive, setConnectionOffset, setLink, setOwner, setPosition, setRotation, setRoutingCriteria, shouldRouteTo, toString, tryAddRouter, tryAddRouter, updateLocation, updateRotation, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.codinglitch.simpleradio.routers.Router
accept, addRouter, allowDistribution, distanceTo, getActivity, getActivityTime, getConnectionOffset, getConnectionPosition, getIdentifier, getLink, getLocation, getOwner, getPosition, getRedstoneMappedActivity, getReference, getRotation, getRouter, getRouters, getVelocity, getWires, invalidate, isActive, isClientSide, isValid, route, send, send, send, send, send, send, send, send, send, send, setAcceptingCriteria, setActive, setConnectionOffset, setLink, setOwner, setPosition, setRotation, setRoutingCriteria, tryAddRouter, validateMethods inherited from interface com.codinglitch.simpleradio.central.Socket
canConnect, canConnectTo, connect, disconnect, disconnect, distribute, hasWire, hasWire, shortCircuit
-
Field Details
-
antennaPower
public int antennaPower -
frequency
-
frequencingType
-
-
Constructor Details
-
RadioReceiver
-
RadioReceiver
-
RadioReceiver
-
RadioReceiver
-
RadioReceiver
-
RadioReceiver
-
-
Method Details
-
getAntennaPower
public int getAntennaPower()- Specified by:
getAntennaPowerin interfaceReceiver
-
getPower
public float getPower() -
getFrequencingType
- Specified by:
getFrequencingTypein interfaceReceiver
-
frequency
-
frequencingType
- Specified by:
frequencingTypein interfaceReceiver
-
tick
public void tick(int tickCount) - Overrides:
tickin classRadioRouter
-
getFrequency
- Specified by:
getFrequencyin interfaceRouter- Overrides:
getFrequencyin classRadioRouter
-
take
- Overrides:
takein classRadioRouter
-