SuperMartijn642's Core Lib

SuperMartijn642's Core Lib adds lots of basic implementations that allow for similar code between different Minecraft versions!
Back to Files

SuperMartijn642's Core Lib 1.1.26b for Fabric 1.20.2

File namesupermartijn642corelib-1.1.26b-fabric-mc1.20.2.jar
Uploaded
Nov 18, 2026
Downloads
57
Size
629.6 KB
Mod Loaders
FabricQuilt
File ID
9689404
Type
R
Release
Supported game versions
  • 1.20.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:supermartijn642s-core-lib-454372:9689404"

Quilt

modImplementation "curse.maven:supermartijn642s-core-lib-454372:9689404"

Learn more about Curse Maven

What's new

SuperMartijn642's Core Lib 1.1.26b

  • Fixed ScreenUtils#withScissor ignoring model view stack translation

SuperMartijn642's Core Library 1.1.26a

  • Added z-axis rotation option for variants in BlockStateGenerator
  • Added block loaded check when handling BlockEntityBasePackets

SuperMartijn642's Core Library 1.1.26

  • Added PlayerProfileCache for looking up player names, uuids, and skins
  • Added Teleporter for handling teleporting entities
  • Added StackedWidget to layer multiple widgets and separate interaction between them
  • Added options to set size and position of ScissorWidget
  • Added more text styling option to TextFieldWidget
  • Fixed WidgetScreen not using widget cursor type
  • Fixed widget cursor type not being maintained whilst dragging
  • Fixed child widgets of AbstractButtonWidget not receiving #mousePressed call
  • Fixed widgets not being unfocused when removed
  • Fixed ScrollbarWidget accepting scroll input when not focused
  • Fixed ClientUtils#closeScreen not closing screens without a container
  • Fixed focused child widget state not being updated correctly when setting focus for BaseWidget

SuperMartijn642's Core Library 1.1.25

  • Main widget for WidgetScreen and WidgetContainerScreen can now be offset rather than always centered
  • Added Widget#right and #bottom
  • Fixed ObjectBaseWidget#left and ObjectBaseContainerWidget#left returning width instead of left

SuperMartijn642's Core Library 1.1.24a

  • TextComponents#block now lets the block create the text component rather than using its translation key

SuperMartijn642's Core Library 1.1.24

  • Fixed CustomSlot hover check area being 2 pixels too large

SuperMartijn642's Core Library 1.1.23b

  • Added workaround for guis not rendering correctly when ImmediatelyFast is present

SuperMartijn642's Core Library 1.1.23a

  • Fixed code for adding items to creative groups scaling with #total items * #total groups, thus being extremely slow when there's many mods

SuperMartijn642's Core Library 1.1.23

  • Added #getWidget method for WidgetScreen and WidgetContainerScreen
  • Fixed multipart conditions not being flattened correctly in BlockStateGenerator

SuperMartijn642's Core Library 1.1.22

  • Fixed InteractionFeedback#pass using SUCCESS instead of PASS
  • Fixed ElementBuilder#shape having one parameter as an int instead of float
  • Fixed BaseBlockItem#useOn returning CONSUME instead of FAIL when a block cannot be placed

SuperMartijn642's Core Library 1.1.21

  • Fixed client not being updated when BaseBlockEntity#writeClientData returns empty tag
  • Fixed datagen not working when mods have their own datagen entrypoint and use GeneratorRegistrationHandler

SuperMartijn642's Core Library 1.1.20

  • Added Widget#cursor to change the cursor when hovering a widget
  • Added ScrollbarWidget for creating a configurable scrollbar
  • Added ScissorWidet that restricts rendering and input handling of child widgets to its bounds
  • Added CustomSlot for creating container slots
  • Added AbstractButtonWidget#isClickable and AbstractButtonWidget#setActive
  • Improved BaseWidget focus handling
  • Fixed GuiGraphicsHelper#submitCustomRendering not respecting active scissor
  • Fixed child widgets not getting unfocused when focused widget changes
  • RegistryEntryAcceptor now only applies to mods that have core library as a dependency
  • Fixed output from BlockStateGenerator, ModelGenerator, and TagGenerator not being consistent

SuperMartijn642's Core Library 1.1.19

  • Added additional properties to BlockProperties to match vanilla

SuperMartijn642's Core Library 1.1.18b

  • Fixed Widget screens using horizontal instead of vertical scrolling

SuperMartijn642's Core Library 1.1.18a

  • Fixed BaseBlockItem#useOn ignoring some parameters leading to issues when interacting with other mods
  • Added ModMenu library badge integration

SuperMartijn642's Core Library 1.1.18

  • Fixed TextFieldWidget allowing one more character than the max length

SuperMartijn642's Core Library 1.1.17a

  • Added CommonUtils#getRegistryAccess
  • Added CodecHelper

SuperMartijn642's Core Library 1.1.17

  • Added support for custom tag entry types
  • Added a namespace tag entry type

SuperMartijn642's Core Library 1.1.16

  • Allow ClientRegistrationHandler#registerAtlasSprite to accept a different namespace
  • Fixed AtlasSourceGenerator using the default resource generator name

SuperMartijn642's Core Library 1.1.15

  • Added ConditionalRecipeSerializer#wrapRecipe to serialize conditional recipes

SuperMartijn642's Core Library 1.1.14

  • Fixed error when a BaseBlockEntity returns null client data

SuperMartijn642's Core Library 1.1.13

  • Improved LootTableGenerator.LootPoolBuilder with additional helpers
  • BaseBlockEntity#dataChanged will now be true initially to avoid issues with Create contraptions

SuperMartijn642's Core Library 1.1.12a

  • Fixed exception when initializing ScreenUtils
  • Fixed conditional recipes not working

SuperMartijn642's Core Library 1.1.12

  • Initial release of SuperMartijn642's Core Library for Minecraft 1.20.2

This mod has no additional files