[Bug] Blocks can be placed on "on" buttons. #3831
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
feature request
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#3831
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
MineClone2 version: 0.83.1
What happened?
Blocks can be placed on buttons in their "on" state.
What should happen:
You should only be able to place a block on a button (regardless of its state) when holding sneak (I don't have MineCraft, but I assume this is how it works).
Steps to reproduce
Yep, can confirm this is permitted, and also pretty sure that you can't in Minecraft (without sneak).
A no-op
on_rightclick
for the 'on' state button seems to do the trick perfectly (considers sneak too).But I'm sure there's a cleaner / more official way of doing this.
In minecraft, the only way to place a block on a button (see image at bottom) is to sneak and place it.
Yeah -- that is not exactly a great way to handle it. The base problem is that when they were created (and this probably applies to pressure plates too, if I recall the code correctly) no one expected someone to place a block on them.
The redstone mod in MCL2 is old, and rather decrepit, so... The quickly toggled nodes that are used by it are very basic. I couldn't add in the redstone aspects to the item frames, because it has no concept of signal strength. I've been trying to digest all of the YT vids on redstone, and practice them in a creative MC world to be able to add / implement some more redstone features to MCL2. And while I would rather implement the "Create" Mod, directly in, we really do need to have a functional redstone. I mean, @ThatMumboJumbo recently reviewed Minetest, and not Mineclone, because the redstone is so broken in MCL2. (Yes, Mumbo Jumbo, the mega minecrafter that does redstone videos on youtube, with 8 million followers...)
teknomunk referenced this issue2024-04-13 20:52:22 +02:00
I am unable to reproduce this in
master
@a399182375
.