diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f64d04..420c68a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,7 +56,6 @@ # 1.21.1-1.4.5 - Ensure synchronised PENDING_TYPE_PREDICATES field -- # 1.21.1-1.4.6 @@ -78,4 +77,9 @@ - Removed Tracks+ incompatability since normal tracks is fine and they have the same ID, duh... - Put the note in logs instead -- Gave the ponder coordinate block a proper item texture, it had none \ No newline at end of file + +# 1.21.1-1.4.10 + +- Hid the internal ponder coordinate block from the creative tabs and recipe viewers. +- Updated licence in mod manifest. +- Gave the ponder coordinate block a proper item texture \ No newline at end of file diff --git a/src/main/java/com/cake/azimuth/Azimuth.java b/src/main/java/com/cake/azimuth/Azimuth.java index 4068c6a..08f6ff1 100644 --- a/src/main/java/com/cake/azimuth/Azimuth.java +++ b/src/main/java/com/cake/azimuth/Azimuth.java @@ -4,7 +4,9 @@ import com.cake.azimuth.foundation.config.AzimuthConfigs; import com.mojang.logging.LogUtils; import com.simibubi.create.foundation.data.CreateRegistrate; +import net.minecraft.resources.ResourceKey; import net.minecraft.resources.ResourceLocation; +import net.minecraft.world.item.CreativeModeTab; import net.neoforged.bus.api.IEventBus; import net.neoforged.fml.ModContainer; import net.neoforged.fml.ModLoadingContext; @@ -18,6 +20,10 @@ public class Azimuth { public static final CreateRegistrate REGISTRATE = CreateRegistrate.create(MODID); + static { + REGISTRATE.defaultCreativeTab((ResourceKey) null); + } + public Azimuth(final IEventBus modEventBus, final ModContainer modContainer) { REGISTRATE.registerEventListeners(modEventBus); diff --git a/src/main/resources/data/c/tags/item/hidden_from_recipe_viewers.json b/src/main/resources/data/c/tags/item/hidden_from_recipe_viewers.json new file mode 100644 index 0000000..2d5c553 --- /dev/null +++ b/src/main/resources/data/c/tags/item/hidden_from_recipe_viewers.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "azimuth:ponder_coordinate" + ] +}