hey,
I’m trying to light up an nether portal by setting the block at that location to fire.
I tried this: fireLocation.setBlock(BlockTypes.FIRE.getDefaultState(), BlockChangeFlag.ALL, cause);
but this doesn’t cause the portal to get created.
Is there any other way to set the fire or how could I do this?
Why not just spawn a portal block?
Because I would need to check for all the obsidian blocks and why do that if minecraft already does that.
You may need to take a look at portal agent in sponge
If you are talking about the PortalAgent#createPortal(). Doesn’t look like I can specific the exact location and direction.