Skip to content

Remove deleteAll command - #49

Merged
Ampflower merged 3 commits into
ModFest:26.3from
ekulxam:no-nuke-but-real
Sep 20, 2026
Merged

Ampflower merged 3 commits into
ModFest:26.3from
ekulxam:no-nuke-but-real

Conversation

@ekulxam

@ekulxam ekulxam commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

@Ampflower Ampflower left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; just one misc thing I'm not considering a blocker for this.


public static boolean hasShiftDown() {
return InputConstants.isKeyDown(340) || InputConstants.isKeyDown(344);
return InputConstants.isKeyDown(InputConstants.KEY_LSHIFT) || InputConstants.isKeyDown(InputConstants.KEY_RSHIFT);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't there a function within Keyboard for this?

@Ampflower
Ampflower merged commit 6e5429a into ModFest:26.3 Sep 20, 2026
1 check passed
realLibrary.shardTypes().forEach((fakeShardTypes::put));
fakeLibrary.shardDisplaySettings().copyFrom(realLibrary.shardDisplaySettings());
context.getSource().getClient().schedule(() -> context.getSource().getClient().setScreenAndShow(new ShardTabletGuiDescription.Screen(shardCollection, fakeLibrary)));
setScreen(context, () -> new ShardTabletGuiDescription.Screen(shardCollection, fakeLibrary));

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully this issue is gone; we did run into a race condition where the game wouldn't laterally move from a screen to another screen, you had to effectively do it on a different tick.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edit- never mind, I see, you factored it into a function. Carry on!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove /shard library delete all command

3 participants