Unit enter payload command

This commit is contained in:
Anuken
2023-10-20 01:48:11 -04:00
parent 69462eb3f0
commit e391434dc9
11 changed files with 57 additions and 3 deletions
@@ -30,6 +30,7 @@ public abstract class BlockProducer extends PayloadBlock{
hasItems = true;
solid = true;
hasPower = true;
acceptsPayloads = false;
rotate = true;
regionRotated1 = 1;
@@ -25,6 +25,7 @@ public class PayloadBlock extends Block{
update = true;
sync = true;
group = BlockGroup.payloads;
acceptsPayloads = true;
envEnabled |= Env.space | Env.underwater;
}
@@ -30,6 +30,7 @@ public class PayloadConveyor extends Block{
update = true;
outputsPayload = true;
noUpdateDisabled = true;
acceptsPayloads = true;
priority = TargetPriority.transport;
envEnabled |= Env.space | Env.underwater;
sync = true;
@@ -37,6 +37,7 @@ public class PayloadSource extends PayloadBlock{
noUpdateDisabled = true;
clearOnDoubleTap = true;
regionRotated1 = 1;
acceptsPayloads = false;
commandable = true;
config(Block.class, (PayloadSourceBuild build, Block block) -> {