tedo0627 / RedstoneCircuit

This is the PocketMine plugin that implements the Redstone circuit.
GNU General Public License v3.0
84 stars 51 forks source link

Dispensers + TNT #63

Closed YT-Duckyyy closed 2 years ago

YT-Duckyyy commented 2 years ago

Dispensers act like a dropper when inserting tnt within them. Please fix it so that dispensing tnt places and ignites it like vanilla minecraft. It would make vanilla tnt cannons so much easier and would be able to use redstone instead of using flint and steel + tnt.

tedo0627 commented 2 years ago

It's already been implemented.

YT-Duckyyy commented 2 years ago

It doesn't work lol. I've tried dispensers and droppers, powered by all different types of Redstone. Dispensers currently act like a dropper when dispensing tnt. Which in Vanilla it ignites and places, not drop.

tedo0627 commented 2 years ago

master branch https://github.com/tedo0627/RedstoneCircuit/blob/c5f666a6868ed516bc3490cf1eb7703f7512ba48/RedstoneCircuit/src/redstone/blockEntities/BlockEntityDispenser.php#L180-L191

pmmp4 branch https://github.com/tedo0627/RedstoneCircuit/blob/c1b6b9864b229c2b7da0946af8ec19eae1b34c84/src/tedo0627/redstonecircuit/block/dispenser/TNTDispenseBehavior.php#L13-L20

YT-Duckyyy commented 2 years ago

Is master branch for pm3? And how do I add a brand to an already made plugon? I'm new to all this coding stuff

tedo0627 commented 2 years ago

The master branch is pm3. You can download it from poggit.

YT-Duckyyy commented 2 years ago

Can you send me the poggit. That has tnt dispensers cause mine doesn't.

tedo0627 commented 2 years ago

https://poggit.pmmp.io/ci/tedo0627/RedstoneCircuit/RedstoneCircuit

YT-Duckyyy commented 2 years ago

Do I download the latest master branch?

tedo0627 commented 2 years ago

yes

YT-Duckyyy commented 2 years ago

Could you also make it so cobwebs stop gravity based blocks, like sand and gravel because right now it just falls straight through. Makes tnt cannons very hard.

tedo0627 commented 2 years ago

The behavior should not be implemented in the Redstone Circuit.

YT-Duckyyy commented 2 years ago

Wdym

tedo0627 commented 2 years ago

This plugin implements the Redstone circuit. Redstone circuit does not include the modification of tnt to fall slowly in cobweb. It should be implemented by other plugins or modified on the pmmp side.

YT-Duckyyy commented 2 years ago

No, not tnt. Sand. Sand fall slowly in cobwebs. Its a redstone feature in vanilla Minecraft so it should be added.

tedo0627 commented 2 years ago

Even if it's sand, I don't implement it for the same reason.

YT-Duckyyy commented 2 years ago

Any ideas of any plugins that may do it

tedo0627 commented 2 years ago

I don't know.