Malformed Jukebox-logic allows to duplicate discs indefinitely
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the duplication with two Jukeboxes, sticky and normal pistons, glass-block connections, and an input clock as described. Inspect the Jukebox logic for both sucking and putting behavior; done means the disc is transported to the other Jukebox without repeated drops or duplication, including when containers are absent or full.
Written by the indexing model from the issue text.
Description
CraftBook Version
craftbook-3.10.13-SNAPSHOT
Platform Version
Paper version 1.21.10-101-main@893ea74
Confirmations
- I am using the most recent Minecraft release.
- I am using a version of WorldEdit compatible with my Minecraft version.
- I am using a version of CraftBook compatible with my Minecraft version.
- I am using the latest or recommended version of my platform software.
- I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)
Bug Description
Since the logic of Jukeboxes is malformed both while sucking and while putting, one can duplicate discs indefinitely. Here's a short preview outlining the situation:
This also works if the pipe simply had either no containers attached, or if all of these containers couldn't hold another of the disc in question.
Expected Behavior
The disc should simply be transported to the other Jukebox.
Reproduction Steps
- Set up two empty Jukeboxes, one on a sticky- and one on a normal piston
- Connect the pistons with glass-blocks
- Add an input-clock (or clock manually)
- Put a disc into the input - notice how it is dropped over and over again
- Remove the disc manually - now the cycle stops
Anything Else?
No response
- Dominant language
- Java
- Stars
- 320
- Forks
- 165
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EngineHub/CraftBook
-
status:pending type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
status:pending type:bug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
status:pending type:bug
Difficulty 3/5 1-2 days Newbie friendliness 62/100
-
status:accepted type:feature-request
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Wireless Redstone Openstatus:pending type:feature-request
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in EngineHub/CraftBook
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100