Sorry for the late reply, but the only way I can think of is to separate the babies and adults, put the adults in a 1 block enclosure with a golden weighted pressure plate. The gold weighted pressure plate increases its Redstone output by 1 for every entity with a max signal strength of 15. If you want to separate the adults and babies just have a gap on the bottom blocks so babies can get through but adults can't.
Note: Be careful of maxEntityCramming if you decide to use this method
I'm assuming this is Minecraft Java. I don't know much about the distance tag, but if you do /execute if entity @p[dx=5,dy=5,dz=5] run say hey then it should work. I'm unsure why dx dy and dz works but "distance" doesn't, but there you go.
Here's a T-flip-flop that works in bedrock. One piston is sticky, one is not. In Java, you can just use two normal pistons. There are two pieces of redstone dust on top of the blocks, I forgot to include it in the picture.
I just realized that the switch I posted works inconsistently. Here's another one that works in both Bedrock and Java.
This was in Java Edition, I probably should've mentioned that. But you still helped a lot and a small change in the timing with some repeaters fixed the problem. Thanks.
Same double piston extender, different outcome. Does anyone know the reason? They are in different chunks, in a new world. If I try to build another one in the chunk that the piston extender doesn't work in, it also doesn't work. Though there are multiple chunks that this doesn't work in. This may not even be a problem with chunks in this world.
You just typed it in the wrong order. In 1.13 the way you type data values changed. I don't know what command you're using so I'll just use enchantments as an example. To get a sharpness level 10 fish, you would type, /give @p minecraft:cod{Enchantments:[{lvl:10,id:sharpness}]}. Notice the data value is right next to the "minecraft:cod" without a space. You would put 1 0 after that. Weird change I know, hope that helped.
0
What were you trying to accomplish?
0
Sorry for the late reply, but the only way I can think of is to separate the babies and adults, put the adults in a 1 block enclosure with a golden weighted pressure plate. The gold weighted pressure plate increases its Redstone output by 1 for every entity with a max signal strength of 15. If you want to separate the adults and babies just have a gap on the bottom blocks so babies can get through but adults can't.
Note: Be careful of maxEntityCramming if you decide to use this method
0
Wrong command, /replaceitem entity goiman360 container.15 minecraft:acacia_boat 1
If it's an armor piece you want to put it on, it's armor.chest/feet/head/legs.
0
I'm assuming this is Minecraft Java. I don't know much about the distance tag, but if you do /execute if entity @p[dx=5,dy=5,dz=5] run say hey then it should work. I'm unsure why dx dy and dz works but "distance" doesn't, but there you go.
1
Here's a T-flip-flop that works in bedrock. One piston is sticky, one is not. In Java, you can just use two normal pistons. There are two pieces of redstone dust on top of the blocks, I forgot to include it in the picture.
I just realized that the switch I posted works inconsistently. Here's another one that works in both Bedrock and Java.
0
This was in Java Edition, I probably should've mentioned that. But you still helped a lot and a small change in the timing with some repeaters fixed the problem. Thanks.
0
I'm a little confused. Could you take a picture and post it? Can you be a little more clear on what you mean by reverse?
0
Same double piston extender, different outcome. Does anyone know the reason? They are in different chunks, in a new world. If I try to build another one in the chunk that the piston extender doesn't work in, it also doesn't work. Though there are multiple chunks that this doesn't work in. This may not even be a problem with chunks in this world.
0
You just typed it in the wrong order. In 1.13 the way you type data values changed. I don't know what command you're using so I'll just use enchantments as an example. To get a sharpness level 10 fish, you would type, /give @p minecraft:cod{Enchantments:[{lvl:10,id:sharpness}]}. Notice the data value is right next to the "minecraft:cod" without a space. You would put 1 0 after that. Weird change I know, hope that helped.