Create: Ender Transmission

Create: Ender Transmission

3M Downloads

Energy Transmitter

TookUrSweetRoll opened this issue ยท 3 comments

commented

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

commented

weird

commented

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

commented

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

@Override
public float propagateRotationTo(KineticBlockEntity target, BlockState stateFrom, BlockState stateTo, BlockPos diff, boolean connectedViaAxes, boolean connectedViaCogs) {
return (target.getTileData().getInt("channel") == this.getTileData().getInt("channel")
&& target.getTileData().getString("password").equals(this.getTileData().getString("password"))) ? 1f : 0f;
}

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.