Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
847 commits
Select commit Hold shift + click to select a range
24793b9
[cp] feat: add BlockColorEvent and related classes for block color ma…
PTOM76 Jul 6, 2025
aeb0cc6
feat: add methods for storing and retrieving ItemStack in NBT
PTOM76 Jul 6, 2025
2521f46
[cp] bump version 3.3.7
PTOM76 Jul 6, 2025
92392de
[cp] feat: implement hashCode and equals methods for ChunkTicketType
PTOM76 Jul 6, 2025
e010ce0
[cp] feat: add Registry of ChunkTicketType
PTOM76 Jul 6, 2025
a5b96d3
1216
PTOM76 Jul 6, 2025
b88d5e0
bump version 3.3.8
PTOM76 Jul 6, 2025
4794888
[cp] refactor: remove unused SubscribeEvent annotation from registerB…
PTOM76 Jul 9, 2025
ef8f1a1
[cp] bump version 3.3.9
PTOM76 Jul 9, 2025
634f9eb
[cp] fix: neoforge CompatRegistryClientImpl
PTOM76 Jul 12, 2025
c081d69
[cp] version neoforge only fix.1
PTOM76 Jul 12, 2025
2eba84a
[cp] fix register TICKET_TYPE
PTOM76 Jul 12, 2025
fa064ac
[cp] add register for CompatIdentifier
PTOM76 Jul 12, 2025
9dde4d2
[cp] bump version 3.3.9
PTOM76 Jul 12, 2025
bd8d51e
fix: update registryChunkTicketType to use RegistrySupplier for Chunk…
PTOM76 Jul 12, 2025
89640ee
v3.3.9
PTOM76 Jul 12, 2025
d98db12
feat: add support for game version 1.21.8
PTOM76 Jul 19, 2025
355ced0
[cp] changelog
PTOM76 Jul 19, 2025
14c4cd0
fix neoforge
PTOM76 Aug 10, 2025
ee0e1d3
version
PTOM76 Aug 10, 2025
3411e2f
refactor: update NBT serialization methods in NeoForgeFluidStorage
PTOM76 Aug 10, 2025
44b5881
refactor: simplify renderLevelStageEvent method signature
PTOM76 Aug 10, 2025
73f7e4a
[cp] add APIs (Equippable, EntityAttribute, AttributeModifier)
PTOM76 Aug 10, 2025
2c65afd
[cp] version 3.4.0
PTOM76 Aug 10, 2025
a7904be
gradle
PTOM76 Aug 16, 2025
eb730fc
Update to 1.21.9 (compilable only, exists more todo)
PTOM76 Oct 14, 2025
04f8339
fix: on neoforge, use new fluid transfer api
PTOM76 Oct 15, 2025
ff3b204
gradle
PTOM76 Oct 16, 2025
e4a7017
feat: enable Gradle parallel execution and configure worker threads
PTOM76 Oct 16, 2025
bdfcf2e
fix: handle null crumbling overlay in BlockEntityRenderEvent
PTOM76 Oct 19, 2025
24cae8c
[cp] feat: add methods to retrieve block and block wrapper in TileTic…
PTOM76 Oct 19, 2025
fc6a0e6
[cp] HitResult API
PTOM76 Oct 19, 2025
1bbda33
fix: for 1219 WorldRenderContext and mixins for block outline rendering
PTOM76 Oct 19, 2025
637c557
chore: update mod version to 3.4.1 and enhance changelog
PTOM76 Oct 19, 2025
949c1d3
add CompatKeyBinding and KeybindingRegistry for improved key binding …
PTOM76 Oct 19, 2025
af0d8b4
[cp] add ContainerUser
PTOM76 Oct 19, 2025
d296c5f
[cp] fix ContainerUser
PTOM76 Oct 19, 2025
ff19aca
fix ContainerUser
PTOM76 Oct 19, 2025
1ebb96a
apply CompatContainerUser to CompatInventory
PTOM76 Oct 19, 2025
e8165ba
[cp] update publish and pull scripts for version 1.21.9 checkout and …
PTOM76 Oct 19, 2025
17e085e
[cp] Add APIs, Fix APIs
PTOM76 Oct 23, 2025
15cfc0d
[cp] add method that able to get world id to worldutil
PTOM76 Oct 23, 2025
d763a3f
[cp] fix hasBlockEntityNbt
PTOM76 Oct 23, 2025
5b60764
fix BlockEntityDataUtil
PTOM76 Oct 23, 2025
51b5193
[cp] ignore IllegalArgumentException
PTOM76 Oct 25, 2025
19a8273
[cp] add writeToStack method to BlockEntityUtil
PTOM76 Oct 25, 2025
8ad12fb
[cp] change build priority branch to 1.20.4
PTOM76 Oct 25, 2025
2ad52fe
[cp] add APIs, Vector, Entity getPos
PTOM76 Oct 25, 2025
faf82af
fix 1219
PTOM76 Oct 25, 2025
36b323e
[cp] fix BlockEntityUtil
PTOM76 Oct 26, 2025
ac78a6f
gradle update
PTOM76 Feb 3, 2026
8edc6c6
port to 1.21.11
PTOM76 Feb 5, 2026
1a51eba
port to 1.21.11 fix
PTOM76 Feb 5, 2026
dc019fa
change line width in drawLine of VertexRenderingUtil
PTOM76 Feb 7, 2026
b0d3ded
[cp] bump version 3.4.4
PTOM76 Feb 7, 2026
22b22cb
[cp] add CameraWrapper
PTOM76 Feb 7, 2026
81ddb79
use outline event api latest fabric/neoforge api
PTOM76 Feb 7, 2026
284feb8
back BeforeBlockOutlineEvent construct of hitresult
PTOM76 Feb 7, 2026
20a3b56
[cp] fix publish.bat
PTOM76 Feb 7, 2026
659c5f9
[cp] fix publish.bat
PTOM76 Feb 7, 2026
a6609c8
add getRecipeRemainder injector for FixedRecipeRemainderItem
PTOM76 Feb 7, 2026
dcd85fa
bump version 3.4.5
PTOM76 Feb 7, 2026
5768f3e
[cp] bump version 3.4.6
PTOM76 Feb 8, 2026
60e768d
fix getRecipeRemainder mixin
PTOM76 Feb 8, 2026
1431267
fix: add CraftingRecipeMixin
PTOM76 Feb 8, 2026
1ed72d9
[cp] changelog
PTOM76 Feb 8, 2026
c3307c5
use latest compatdatapacks76, legacyitemmodels
PTOM76 Feb 11, 2026
53fc91d
Fix for NeoForge 1.21.11
PTOM76 Feb 11, 2026
e051e88
[cp] feat: add Box, Vector Utils, improve WorldUtils
PTOM76 Mar 18, 2026
6350174
[cp] Bump version 3.4.7
PTOM76 Mar 18, 2026
bd84325
update legacyitemmodels to 1.0.2
PTOM76 Mar 18, 2026
190b795
[cp] feat: add values, horizontal, vertical, hashCode, equals to Dire…
PTOM76 Mar 19, 2026
7ee4a65
[cp] feat: impl hashCode, equals methods in Box, BlockPos
PTOM76 Mar 19, 2026
31a7be3
[cp] feat: add message sending methods to Player class
PTOM76 Mar 20, 2026
b87c6ff
[cp] feat: add methods to retrieve Midohra world, position, state, an…
PTOM76 Mar 20, 2026
5651e81
[cp] feat: add FluidWrapper methods and enhance FluidStateUtil for fl…
PTOM76 Mar 20, 2026
2063745
[cp] feat: implement BlockApiLookupWrapper and BlockApiLookupWithDire…
PTOM76 Mar 20, 2026
688f9d4
[cp] feat: add DirectionBoolPropertyUtil for managing directional boo…
PTOM76 Mar 20, 2026
d2de457
[cp] bump version 3.4.8
PTOM76 Mar 20, 2026
c77ca96
[cp] feat: enhance block entity rendering with new CompatItemRenderUt…
PTOM76 Mar 21, 2026
1bbefd0
[cp] feat: introduce CompatFormatting, CompatStyle, and CompatTextCol…
PTOM76 Mar 21, 2026
fae832d
[cp] docs: update README to include cross-version and cross-platform …
PTOM76 Mar 21, 2026
0d09c0b
[cp] chore: bump version 3.4.9
PTOM76 Mar 21, 2026
4bfc191
[cp] feat: add CompatParticleType and CompatParticleTypes for enhance…
PTOM76 Mar 22, 2026
1ba7607
[cp] feat: add utility methods for BlockEntity and BlockPos iteration
PTOM76 Mar 22, 2026
655ea28
[cp] feat: add methods for Midohra world and position handling in Com…
PTOM76 Mar 23, 2026
e27a2f4
[cp] feat: add utility methods for BlockState manipulation in IProper…
PTOM76 Mar 23, 2026
1f5e3fc
[cp] feat: implement hashCode and equals methods for various wrapper …
PTOM76 Mar 23, 2026
6c72aaf
[cp] feat: add canPlaceAt method and CanPlaceAtArgs class for block p…
PTOM76 Mar 23, 2026
1f32a77
[cp] chore: bump version 3.5.0
PTOM76 Mar 23, 2026
200b29d
[cp] feat: add mathematical operations and asLong method to Vector3 c…
PTOM76 Mar 23, 2026
f1e5e07
[cp] feat: add static factory method for creating CompatIdentifier fr…
PTOM76 Mar 23, 2026
3f8e9e3
[cp] chore: bump version 3.5.1
PTOM76 Mar 23, 2026
4baed46
[cp] feat: enhance BlockPos iteration and add utility methods for Blo…
PTOM76 Mar 23, 2026
ad0faf5
[cp] version bump 3.5.2
PTOM76 Mar 23, 2026
a253cff
gradle 26.1
PTOM76 Mar 24, 2026
5cd6a8d
[cp] feat: add utility methods for converting BlockPos to Vector3i an…
PTOM76 Mar 24, 2026
ee79634
[cp] feat: add EntityWrapper and ItemEntityWrapper classes with utili…
PTOM76 Mar 24, 2026
3560fbd
[cp] feat: add Blocks, Items
PTOM76 Mar 24, 2026
89cf1b6
[cp] feat: update Block and Item wrappers for GRASS and CHAIN to use …
PTOM76 Mar 24, 2026
a1ce1a3
[cp] fix: invert condition in teleport method to ensure entity is onl…
PTOM76 Mar 24, 2026
e7a748b
port to 26.1
PTOM76 Mar 25, 2026
f03cc40
port to 26.1
PTOM76 Mar 25, 2026
fe4855a
use mojmap
PTOM76 Mar 25, 2026
26246c9
port to 26.1
PTOM76 Mar 25, 2026
e33c34e
port to 26.1-2
PTOM76 Mar 25, 2026
1d45f3c
port to 26.1-3
PTOM76 Mar 25, 2026
a6582c1
port to 26.1-4
PTOM76 Mar 25, 2026
0e426c1
port to 26.1-5
PTOM76 Mar 25, 2026
a79b223
update shadow plugin version and modify version property in processRe…
PTOM76 Mar 25, 2026
b01f1db
update shadowJar configuration to include relocated snakeyaml dependency
PTOM76 Mar 25, 2026
7c9ea10
update fabric.mod.json and mixin configurations for compatibility wit…
PTOM76 Mar 25, 2026
9e1aee2
rename injection method from getRenderType to getRenderShape for comp…
PTOM76 Mar 25, 2026
1f6c2b1
fix parameter order in onTick method for consistency
PTOM76 Mar 25, 2026
4e2e7fa
add payload registration methods and update render context handling
PTOM76 Mar 25, 2026
af63bac
update compatdatapacks76 and legacyitemmodels versions for Minecraft …
PTOM76 Mar 25, 2026
64e7203
bump compatdatapacks76 version to 1.0.15.261 for Minecraft 26 compati…
PTOM76 Mar 25, 2026
4a61e2c
refactor SimpleHandledScreen: clean up background rendering and updat…
PTOM76 Mar 25, 2026
793b417
fix: ExampleGuiBlock
PTOM76 Mar 25, 2026
9fbbebd
feat: add CurseForge and Modrinth integration for project publishing
PTOM76 Mar 25, 2026
c0e8c3b
fix: update version number format in build.gradle for Modrinth integr…
PTOM76 Mar 25, 2026
184e577
fix: update versioning format in build.gradle for Minecraft 26 compat…
PTOM76 Mar 25, 2026
d892673
fix: update player entity handling in CompatibleSlot for consistency
PTOM76 Mar 25, 2026
b45121f
fix: improve player entity handling in CompatibleSlot for item pickup
PTOM76 Mar 26, 2026
d003290
fix: streamline payload type registration in client and server networ…
PTOM76 Mar 26, 2026
3837a53
chore: add littleobffallback
PTOM76 Mar 26, 2026
fb1b72f
add Player API
PTOM76 Mar 26, 2026
c80d89f
gradle
PTOM76 Mar 26, 2026
64d6ba6
fix playyer
PTOM76 Mar 26, 2026
7b8e775
bump version 3.5.3
PTOM76 Mar 31, 2026
bf43100
fix: update cloth-config-fabric version and adjust dependencies
PTOM76 Mar 31, 2026
9dcf7ab
fix: improve menu handling and add crafting remainder check
PTOM76 Apr 1, 2026
70191b0
feat: add cursor stack handling methods in ScreenHandlerUtil and Simp…
PTOM76 Apr 1, 2026
70e4f9c
fix: update littleobffallback dependency handling and adjust crafting…
PTOM76 Apr 3, 2026
03a000b
fix: update compatdatapacks76 version to 1.0.16.261
PTOM76 Apr 3, 2026
418bde3
fix: update compatdatapacks76 version to 1.0.17.261
PTOM76 Apr 3, 2026
a8698e3
fix: update compatdatapacks76 version to 1.0.16.261-SNAPSHOT and adju…
PTOM76 Apr 3, 2026
b81c418
fix: update sound event variants for chicken, cow, and pig entities
PTOM76 Apr 3, 2026
5497220
fix: update littleobffallback version to 0.0.3.261-SNAPSHOT
PTOM76 Apr 3, 2026
cacba97
fix: update fabric loader and API versions to 0.18.6 and 0.145.1+26.1…
PTOM76 Apr 3, 2026
a01f485
fix: enhance item group handling in registry and settings
PTOM76 Apr 3, 2026
9f2be9d
fix: refactor item group handling to use list for item IDs in registry
PTOM76 Apr 3, 2026
ef2f44d
fix: update littleobffallback version to 0.0.4.261-SNAPSHOT
PTOM76 Apr 3, 2026
2348a50
fix: update littleobffallback version to 0.0.5.261-SNAPSHOT
PTOM76 Apr 3, 2026
a983d5e
fix: update littleobffallback version to 0.0.7.261-SNAPSHOT
PTOM76 Apr 3, 2026
0ee6a68
fix: update littleobffallback version to 0.0.9.261-SNAPSHOT and refac…
PTOM76 Apr 3, 2026
e937bc9
fix: update littleobffallback version to 0.1.0.261-SNAPSHOT
PTOM76 Apr 3, 2026
20e2036
fix: update littleobffallback version to 0.1.1.261-SNAPSHOT
PTOM76 Apr 3, 2026
03ad80f
fix: update littleobffallback version to 0.1.6.261-SNAPSHOT
PTOM76 Apr 3, 2026
03e6ef6
fix: update littleobffallback version to 0.1.7.261-SNAPSHOT and refac…
PTOM76 Apr 3, 2026
4501d03
fix: update littleobffallback version to 0.1.8.261-SNAPSHOT
PTOM76 Apr 4, 2026
b1d6b2b
fix: update littleobffallback version to 0.2.0.261-SNAPSHOT
PTOM76 Apr 4, 2026
dd37b01
fix: update littleobffallback version to 0.2.1.261-SNAPSHOT
PTOM76 Apr 4, 2026
c5cc876
[cp] chore: bump version 3.6.0
PTOM76 Apr 4, 2026
581647f
fix: update littleobffallback version to 0.2.2.261-SNAPSHOT
PTOM76 Apr 4, 2026
b56000f
fix: update littleobffallback version to 0.2.4.261-SNAPSHOT
PTOM76 Apr 4, 2026
71b6fe1
fix: update littleobffallback version to 0.2.5.261-SNAPSHOT
PTOM76 Apr 4, 2026
5a8d6a8
fix: update littleobffallback version to 0.2.5.261-SNAPSHOT
PTOM76 Apr 4, 2026
9567904
feat: add new utility classes and methods for block and item handling
PTOM76 Apr 4, 2026
bc1d0d2
feat: introduce BlockHalfProperty and StairShapeProperty with compati…
PTOM76 Apr 5, 2026
52b10f1
[cp] changelog
PTOM76 Apr 5, 2026
c68e3c0
feat: add block and entity type registration methods to MidohraRegistry
PTOM76 Apr 5, 2026
b143ee4
fix: update littleobffallback version to 0.3.2 and increment mod vers…
PTOM76 Apr 5, 2026
f440332
fix: increment mod version to 3.6.2 in info.properties
PTOM76 Apr 5, 2026
dea8098
chore: update mod version to 3.6.3 in info.properties
PTOM76 Apr 5, 2026
75fe7d7
feat: enhance entity and item interactions with new utility methods
PTOM76 Apr 5, 2026
cce8fbb
fix: update mod version to 3.6.3-fix.1 in info.properties
PTOM76 Apr 5, 2026
194163f
feat: update build.gradle to enhance jar and shadowJar tasks for bett…
PTOM76 Apr 5, 2026
0ecfbcb
fix: update littleobffallback version to 0.3.3.261-SNAPSHOT and incre…
PTOM76 Apr 6, 2026
58b6a6d
fix: improve registry methods to return proper data types for DataCom…
PTOM76 Apr 6, 2026
712340b
fix: update littleobffallback version to 0.3.4.261-SNAPSHOT and incre…
PTOM76 Apr 8, 2026
5bc9f5d
feat: add compat APIs
PTOM76 Apr 10, 2026
f9e5e4e
bump version 3.6.4
PTOM76 Apr 10, 2026
e50304b
feat: enhance Midohra API with new entity interface and utility methods
PTOM76 Apr 11, 2026
40a2c88
gradle
PTOM76 Apr 11, 2026
185ee20
refactor: remove unused imports in ServerWorld.java
PTOM76 Apr 11, 2026
90b09b6
chore: update littleobffallback version to 0.3.5.261-SNAPSHOT
PTOM76 Apr 11, 2026
1928b92
use arch loom
PTOM76 Apr 11, 2026
0844886
gradle
PTOM76 Apr 11, 2026
42b0435
neoforge
PTOM76 Apr 11, 2026
9802ab2
neoforge
PTOM76 Apr 11, 2026
3f55b59
littleobffallback_version 0.3.6.261-SNAPSHOT
PTOM76 Apr 11, 2026
53fa4c8
bump littleobffallback_version to 0.3.7.261-SNAPSHOT
PTOM76 Apr 11, 2026
59545e8
bump version 3.6.5
PTOM76 Apr 11, 2026
9df2f67
feat: add wrappers for various projectile entities and enhance entity…
PTOM76 Apr 11, 2026
a3c86bd
littleobffallback_version=0.3.7.261-SNAPSHOT
PTOM76 Apr 11, 2026
1d5946c
bump littleobffallback_version to 0.3.8.261-SNAPSHOT
PTOM76 Apr 11, 2026
3322bfb
fix: update littleobffallback version to 0.3.9.261-SNAPSHOT
PTOM76 Apr 12, 2026
16b84bf
fix: update getYaw and getPitch methods to use view rotation
PTOM76 Apr 12, 2026
4bd048e
fix: increment mod version to 3.6.5-fix.5 and update changelog
PTOM76 Apr 12, 2026
635ab00
fix: update littleobffallback version to 0.4.1.261-SNAPSHOT
PTOM76 Apr 12, 2026
4655690
fix: update getPitch method to use view rotation
PTOM76 Apr 17, 2026
fa6b237
fix: refactor builder methods to use ExpectPlatform annotation and im…
PTOM76 Apr 17, 2026
25af015
fix: update fluid and event handling classes to use new imports and a…
PTOM76 Apr 18, 2026
8c5641b
fix: refactor registry client methods to use ExpectPlatform annotatio…
PTOM76 Apr 18, 2026
9d867ff
fix: implement ClientTickEventRegistry for NeoForge and add event reg…
PTOM76 Apr 18, 2026
1552ea9
fix: refactor command registration to use ExpectPlatform annotation a…
PTOM76 Apr 18, 2026
f5f12fa
fix: refactor AttackEntityEventRegistry to use ExpectPlatform annotat…
PTOM76 Apr 18, 2026
e19df23
fix: refactor event registration to use ExpectPlatform annotation and…
PTOM76 Apr 18, 2026
4859b4e
fix: refactor AttackEntityEventRegistry and LivingHurtEventRegistry t…
PTOM76 Apr 18, 2026
bddf65c
remove extra
PTOM76 Apr 18, 2026
ea962e8
fix: refactor FluidStorageUtil to use ExpectPlatform annotation and u…
PTOM76 Apr 18, 2026
06560b4
fix: refactor ArchRegistryClient to use CompatRegistryClient for part…
PTOM76 Apr 18, 2026
d7380f3
feat: implement CreativeModeTab event registration and refactor netwo…
PTOM76 Apr 18, 2026
6d25e76
update compatdatapacks76
PTOM76 Apr 19, 2026
7ac311c
refactor: update method names and imports for consistency with Fabric…
PTOM76 Apr 19, 2026
477e553
gradle
PTOM76 Apr 19, 2026
9cac7b4
gradle
PTOM76 Apr 19, 2026
890d812
gradle
PTOM76 Apr 19, 2026
a779961
fix
PTOM76 Apr 19, 2026
6dc0f99
fix
PTOM76 Apr 19, 2026
1acdfdf
info
PTOM76 Apr 19, 2026
aa4a618
[cp] bump version 3.6.6
PTOM76 Apr 19, 2026
30bcdf8
add support for Supplier wrappers in Typed*Wrapper classes and enhanc…
PTOM76 Apr 19, 2026
9554326
[cp] add setDisplayName method to CreativeTabBuilder for improved tex…
PTOM76 Apr 19, 2026
01ea628
[cp] add constructors and utility methods to enhance compatibility an…
PTOM76 Apr 19, 2026
a810368
[cp] add InventoryWrapper class and integrate it into Player for enha…
PTOM76 Apr 19, 2026
48db651
refactor InventoryWrapper to use Container instead of Inventory for i…
PTOM76 Apr 19, 2026
45ad322
[cp] replace InventoryWrapper with CompatPlayerInventory in getInvent…
PTOM76 Apr 19, 2026
4ff0eb7
remove arch api
PTOM76 Apr 19, 2026
342229e
fix wrapper
PTOM76 Apr 19, 2026
9af95d0
refactor PlatformUtil and PlatformUtilImpl for improved platform dete…
PTOM76 Apr 19, 2026
1ea9296
gradle
PTOM76 Apr 19, 2026
b8fe33a
update dependencies in build.gradle and gradle.properties for improve…
PTOM76 Apr 19, 2026
27684d5
refactor registry methods for improved structure and platform compati…
PTOM76 Apr 19, 2026
efa2707
refactor registry methods for improved structure and consistency
PTOM76 Apr 19, 2026
841c15b
refactor registry implementation to use a pending entry structure for…
PTOM76 Apr 19, 2026
36ce79d
comment out unused payload registration code in ClientPlayNetworkingI…
PTOM76 Apr 19, 2026
97cc943
comment out unused register method in ClientPlayNetworkingImpl
PTOM76 Apr 19, 2026
a319ef8
fix: use equals method for tab key comparison in CreativeModeTabEvent…
PTOM76 Apr 19, 2026
df50c98
gradle
PTOM76 Apr 19, 2026
3b1b151
gradle
PTOM76 Apr 19, 2026
6e5675d
feat: implement ExtendModInitializer and MCPitanLibFabric classes
PTOM76 Apr 21, 2026
05711e2
gradle
PTOM76 Apr 21, 2026
424a88c
tmp patch
PTOM76 Apr 26, 2026
f37998f
fix
PTOM76 Apr 28, 2026
98d89b7
[cp] feat: introduce compatibility interfaces and enhance existing cl…
PTOM76 May 2, 2026
3e30284
[cp] bump version 3.6.7
PTOM76 May 2, 2026
aa961e6
feat: add getModifiers method to CharEventArgs
PTOM76 May 2, 2026
bcf1dfe
gradle
PTOM76 May 2, 2026
920bf98
[cp] feat: add new FluidState and ITyped wrappers for enhanced fluid …
PTOM76 May 3, 2026
a6df298
[cp] chore: bump version 3.6.8
PTOM76 May 3, 2026
5ad0390
[cp] feat: introduce INonTypedSupplier interface and enhance item, bl…
PTOM76 May 10, 2026
7a5f8f6
[cp] bump version 3.6.9
PTOM76 May 10, 2026
de96ba8
feat: enhance SimpleContainerGui registration with custom ScreenFactory
PTOM76 May 10, 2026
c844619
[cp] refactor: update receiveSync method to use PacketByteBuf for imp…
PTOM76 May 10, 2026
b6ea417
feat: enhance TypedRecipeInputOrInventory for improved recipe input h…
PTOM76 May 10, 2026
b4d5f5d
[cp] fix: handle null block in TypedBlockItemWrapper constructor
PTOM76 May 23, 2026
68f84c9
[cp] bump version to 3.7.0
PTOM76 May 23, 2026
f275a3a
[cp] feat: add LICENSE and THIRD_PARTY_LICENSES files for legal compl…
PTOM76 May 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 44 additions & 0 deletions .github/workflows/auto-cherry-pick.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Auto Cherry-Pick
on:
push:
branches:
- "1.*" # 1.21.5, 1.21.4...のブランチでpushされたとき
pull_request:
types:
- closed # PRがmergeされたとき
jobs:
cherry-pick:
if: |
(github.event_name == 'push' ||
(github.event_name == 'pull_request' && github.event.pull_request.merged == true))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check
id: check
run: |
COMMIT_MSG=$(git log -1 --pretty=%B)
if echo "$COMMIT_MSG" | grep -q '^\[cp\]'; then
echo "pickable=true" >> $GITHUB_ENV
fi
- name: Setup Git
if: env.pickable == 'true'
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Chmod cherry-pick.sh
if: env.pickable == 'true'
run: |
if [ ! -f .github/workflows/cherry-pick.sh ]; then
echo "cherry-pick.sh not found"
exit 1
fi
git update-index --assume-unchanged .github/workflows/cherry-pick.sh
chmod +x .github/workflows/cherry-pick.sh
- name: Run cherry-pick.sh
if: env.pickable == 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: .github/workflows/cherry-pick.sh
52 changes: 52 additions & 0 deletions .github/workflows/cherry-pick.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#!/bin/bash
set -e

git fetch --all
CURRENT_BRANCH="${GITHUB_REF##*/}"
SHA=$(git log -1 --pretty=format:"%H")
MSG=$(git log -1 --pretty=%B)

echo "Current: $CURRENT_BRANCH"
echo "SHA: $SHA"

BRANCHES=$(git for-each-ref --format='%(refname:short)' refs/remotes/origin | grep -E '^origin/1\.' | sed 's|origin/||' | sort -Vr)

TARGETS=()
FOUND=0
while read -r b; do
if [ "$FOUND" = "1" ]; then
TARGETS+=("$b")
fi
if [ "$b" = "$CURRENT_BRANCH" ]; then
FOUND=1
fi
done <<< "$BRANCHES"

for TARGET_BRANCH in "${TARGETS[@]}"; do
if [ -z "$TARGET_BRANCH" ]; then
continue
fi

echo "Trying to cherry-pick to $TARGET_BRANCH..."

git reset --hard
git switch -c "$TARGET_BRANCH" "origin/$TARGET_BRANCH"

echo "Cherry-picking $SHA from $CURRENT_BRANCH to $TARGET_BRANCH..."
if git cherry-pick "$SHA"; then
git push origin "$TARGET_BRANCH"
echo "Cherry-pick successful. Pushed to $TARGET_BRANCH."
continue
fi

echo "Cherry-pick failed. Attempting to resolve conflicts..."

git cherry-pick --abort
gh auth setup-git
gh pr create \
--base "$TARGET_BRANCH" \
--head "$CURRENT_BRANCH" \
--title "Manual Cherry-pick needed: $SHA" \
--body "Cherry-pick of $SHA from $CURRENT_BRANCH to $TARGET_BRANCH failed due to conflicts."
exit 0
done
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ atlassian-ide-plugin.xml
*.zip
*.tar.gz
*.rar
*.php

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
Expand Down Expand Up @@ -114,5 +115,7 @@ gradle-app.setting
# Common working directory
run/

php/

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
!gradle-wrapper.jar
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 Pitan
Copyright (c) 2022-2026 Pitan

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
128 changes: 128 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# MCPitanLib
## License
- MIT License

## 日本語
MCPitanLibはライブラリです。 1つのjarで複数のMCバージョンを対応させるためのものです。 <br />
開発中であるため、予告なく仕様が変更されることがあったり、不具合があるかもしれません。 <br />
私専用につくっているため、他の方が使うことをあまり想定していません。 <br />

クロスバージョンかつクロスプラットフォームを目指しています。

### 対応状況
- アイテムの追加
- ブロックの追加
- エンティティの追加
- ブロックエンティティの追加
- クリエイティブタブの追加
- GUIの追加
- サウンドの追加

となります。

### 前提MOD
- MODローダー
- [FabricMC](https://fabricmc.net/)
- [Minecraft Forge](https://files.minecraftforge.net/)
- [NeoForge](https://neoforged.net/)
- Architectury API ([CurseForge](https://www.curseforge.com/minecraft/mc-mods/architectury-api) | [Modrinth](https://modrinth.com/mod/architectury-api))

### ダウンロード
- [CurseForge](https://www.curseforge.com/minecraft/mc-mods/mcpitanlibarch)
- [Modrinth](https://modrinth.com/mod/mcpitanlibarch)

### 使い方
`build.gradle`に以下のように記述してください。
```groovy
repositories {
maven {
url = "https://maven.pitan76.net/"
}
}

dependencies {
// FabricMC
modImplementation "net.pitan76:mcpitanlib-fabric:${rootProject.mcpitanlib_version}"

// Minecraft Forge
//modImplementation "net.pitan76:mcpitanlib-forge:${rootProject.mcpitanlib_version}"

// NeoForge
//modImplementation "net.pitan76:mcpitanlib-neoforge:${rootProject.mcpitanlib_version}"
}
```

`gradle.properties`に以下のように記述してください。
```properties
# Example: mcpitanlib_version=+1.18.2:3.3.3
mcpitanlib_version=+x.x.x:x.x.x
```

バージョンは[GitHub Packages](https://github.com/PTOM76/maven/packages/?q=net.pitan76.mcpitanlib) (3.3.3以降) or [maven.pitan76.net](https://maven.pitan76.net/net/pitan76/) (3.3.3以前)で確認してください。

MCPitanLibを用いたMOD開発は「common/src/main/java/net/pitan76/mcpitanlib/test/ExampleMod.java」を参考にしてください。

## English
MCPitanLib is a library. It is for supporting multiple MC versions with one jar. <br />
It is under development, so the specification may change without notice, and there may be bugs. <br />
I am creating it for my own use, so I don't expect others to use it much. <br />

It aims to be cross-version and cross-platform.

### Supported features
- Adding items
- Adding blocks
- Adding entities
- Adding block entities
- Adding creative tabs
- Adding GUIs
- Adding sounds

### Required MOD
- MOD Loader
- [FabricMC](https://fabricmc.net/)
- [Minecraft Forge](https://files.minecraftforge.net/)
- [NeoForge](https://neoforged.net/)
- [Architectury API](https://www.curseforge.com/minecraft/mc-mods/architectury-api) ([CurseForge](https://www.curseforge.com/minecraft/mc-mods/architectury-api) | [Modrinth](https://modrinth.com/mod/architectury-api))

### Download
- [CurseForge](https://www.curseforge.com/minecraft/mc-mods/mcpitanlibarch)
- [Modrinth](https://modrinth.com/mod/mcpitanlibarch)

### How to use
Write as follows in `build.gradle`.
```groovy
repositories {
maven {
url = "https://maven.pitan76.net/"
}
}

dependencies {
// FabricMC
modImplementation "net.pitan76:mcpitanlib-fabric${rootProject.mcpitanlib_version}"

// Minecraft Forge
//modImplementation "net.pitan76:mcpitanlib-forge${rootProject.mcpitanlib_version}"

// NeoForge
//modImplementation "net.pitan76:mcpitanlib-neoforge${rootProject.mcpitanlib_version}"
}
```

Write as follows in `gradle.properties`.
```properties
# Example: mcpitanlib_version=+1.18.2:3.2.4
mcpitanlib_version=+x.x.x:x.x.x
```

Please check the version at [GitHub Packages](https://github.com/PTOM76/maven/packages/?q=net.pitan76.mcpitanlib) (for versions 3.3.3 and later) or [maven.pitan76.net](https://maven.pitan76.net/net/pitan76/) (for versions before 3.3.3).

For MOD development using MCPitanLib, refer to "common/src/main/java/net/pitan76/mcpitanlib/test/ExampleMod.java".

## Note
### Auto Cherry-Pick (GitHub Actions)
コミットメッセージに [cp] を含むと、Actionsで自動的にCherry-Pickを行います。 <br />
そのコミットしたブランチからそれより下位のバージョンのブランチにCherry-Pickし、コンフリを起こした場合はそこで停止し、PRを作成します。<br />
今のところ、そのPRは使えないので閉じる必要があります。(今後はissueにする予定です。)

Loading
Loading