Botania

Botania

133M Downloads

Some items can not be right-clicked/used into the altar unless placing conditions are met.

VoilaTada opened this issue ยท 18 comments

commented

When attempting to make Runes of Earth I was having trouble getting the Runic Altar to take the mushroom from my hand via my use item/place block key (mouse right click/button 2 by default). The Alter had no problems taking the item if it could be placed on the block adjacent to the altar, however, since mushrooms can not be planted in the light on grass, I was unable to get the altar to take the mushroom with torches nearby. Only after removing the nearby torches and creating some shade above the altar, could I get the altar to take the mushroom from my use/place key. This occurs with both types of mushrooms and occurs with other items with placing restrictions such as saplings requiring dirt variants under them; however Redstone successfully places into the altar, even when the block it would be placed upon is glass, which normally can not have Redstone placed on it. Tossing items with the drop key or throwing them out of one's inventory onto the altar works to get them in the altar, even if they can't be placed on nearby blocks. The forge mod loader client log does not record anything about the Runic Altar, whether items are placed within it successfully or not.

commented

@Vazkii did you consider that it might be that you are intercepting the event to late? with the block-placement sometimes happening before you intercept and cancelling the event altogether? (server v/s client lag issues would then explain why the behaviour is inconsistent, sometimes your event reacts quick enough, sometimes it doesnt)

commented

wut

commented

what I mean is, that depending on how you handle intercepting right-clicks on the altar, you might be responding to late due to lag, and the 'place block' handler on the mushroom could have already cancelled the event. (because the block cannot be placed)

commented

I handle right click using the right click method on the block class, what are you on? O.o

commented

Sorry, going by how sometimes blocks appear 'next to' the altar for a split second before being added, I thought you were using a different method of intercepting right-clicks, might it be an issue where the placement code of the mushroom is cancelling the 'placement' from the client-side before your block can properly respond?

commented

Spitting out random guesses into the air if you don't know anything about the problem isn't too helpful >.<

commented

Can't reproduce, send a screenshot of the setup if you can.

commented

I've had this issue as well with mushrooms. I would right click on the altar to no avail, and would need to drop the mushroom to have it inserted into the altar. Next time it happens, I'll nab a screen shot.

commented

I've had the same issue, please fix it :)

commented

Wrong issue >.<

commented

It seems this issue has been fixed in the latest version of Botania. When I had posted this bug, I think it was merely hours before the most recent update. Please accept my apologies.

commented

It seems like it's something inconsistent though. I'll keep it open in case someone finds what causes it.

commented

I've had this problem too, but I believe Vazkii added the ability to just drop items onto the altar (along with a few of her other crafting blocks) and have them work that way. Just do that instead.

commented

That is indeed a workaround for the issue, but ideally both should work for usability's sake. Some people prefer not to drop items in the world whenever possible and right clicking works for many other devices in Minecraft, making it feel natural to do so.

commented

Any updates on this? I haven't come across it.

commented

It seems to be fixed in more recent versions. I couldn't replicate it in build 169.

commented

I haven't came across this problem anymore. . . Seems right for me

commented

Closing since I haven't heard of it still happening.