Skip to content

Commit

Permalink
1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
OffsetMonkey538 committed Jun 13, 2024
1 parent 3e6bcd7 commit f8de0e9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
3 changes: 0 additions & 3 deletions CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022-2023 Dave-Thomas Thomson
Copyright (c) 2022,2023,2024 OffsetMonkey538

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Survival Tooltips
[![discord-singular](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/social/discord-singular_vector.svg)](https://discord.offsetmonkey538.top/)
[![modrinth](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/survival-tooltips)

Simple mod that allows you to see what creative tab an item is from, but do it in survival.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ modrinth {
}

dependencies {
// TODO: if monkeylib is required: required.project "monkeylib538"

}
}

Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ org.gradle.parallel = true

# Fabric
# Check at https://fabricmc.net/develop
minecraft_version = 1.21-pre4
minecraft_version = 1.21

# These should be automatically updated, unless the environment
# variable "DISABLE_PROPERTIES_UPDATE" is set.
loader_version = 0.15.11
yarn_version = 1.21-pre4+build.3
yarn_version = 1.21+build.1

# Dependencies

# Mod Properties
mod_version = 1.0.0
supported_minecraft_versions = >=1.20
mod_version = 1.1.0
supported_minecraft_versions = >=1.20 <=1.21
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public abstract class ItemStackMixin {
if (client == null) return;
if (!(player instanceof ClientPlayerEntity clientPlayer)) return;

ItemGroups.updateDisplayContext(clientPlayer.networkHandler.getEnabledFeatures(), client.options.getOperatorItemsTab().getValue(), clientPlayer.getRegistryManager());
ItemGroups.updateDisplayContext(clientPlayer.networkHandler.getEnabledFeatures(), client.options.getOperatorItemsTab().getValue(), clientPlayer.getWorld().getRegistryManager());
for (ItemGroup group : ItemGroups.getGroups()) {
//noinspection ConstantValue
if (group.getType() == ItemGroup.Type.SEARCH || !group.contains((ItemStack)(Object)this)) continue;
Expand Down

0 comments on commit f8de0e9

Please sign in to comment.