RuochenFu21 / CreateEnderTransmission

0 stars 7 forks source link

Energy Transmitter #8

Closed TookUrSweetRoll closed 9 months ago

TookUrSweetRoll commented 1 year ago

Transmits power to all sides as seen in the pic. Also cannot connect it to a gearbox for the input, just pops off.

Forge- 47.1.43 create-1.20.1-0.5.1.d createendertransmission-2.0.4-1.20.1

2023-08-21_10 51 18

RuochenFu21 commented 1 year ago

weird

notnate75 commented 1 year ago

I can confirm this is happening to me too. I am having other issues too, but will detail them elsewhere.

Endalion commented 9 months ago

If the energy transmitter is at default settings (empty password and channel 1), it propagates to all sides because of

https://github.com/RuochenFu21/CreateEnderTransmission/blob/1c6f8f3b79671cb00510e5ab9d837e0b1c6bc2eb/src/main/java/com/forsteri/createendertransmission/blocks/energyTransmitter/EnergyTransmitterBlockEntity.java#L103-L107

ie. when the target block is not a transmitter and thus has no data, compoundTag returns 0 for channel and "" for password, allowing the transmitter to propagate there.