├── .github ├── ISSUE_TEMPLATE │ └── bug_report.md └── workflows │ └── build.yml ├── .gitignore ├── .vscode └── settings.json ├── CHANGE_LOG.md ├── LICENSE ├── README.md ├── build.gradle ├── common ├── build.gradle └── src │ └── main │ ├── java │ └── com │ │ └── github │ │ └── cao │ │ └── awa │ │ └── conium │ │ ├── Conium.kt │ │ ├── ConiumClientInitializer.kt │ │ ├── ConiumServerInitializer.kt │ │ ├── annotation │ │ ├── bedrock │ │ │ ├── BedrockScriptApi.kt │ │ │ └── BedrockScriptApiFacade.kt │ │ ├── mapping │ │ │ ├── Remap.kt │ │ │ └── StaticOnly.kt │ │ └── script │ │ │ └── javascript │ │ │ ├── JavaScriptApi.kt │ │ │ └── ScriptReadonly.kt │ │ ├── bedrock │ │ ├── block │ │ │ └── state │ │ │ │ └── BedrockBlockState.kt │ │ ├── entity │ │ │ ├── BedrockEntity.kt │ │ │ └── player │ │ │ │ ├── BedrockPlayer.kt │ │ │ │ ├── delegate │ │ │ │ └── BedrockPlayerDelegate.kt │ │ │ │ └── screen │ │ │ │ ├── BedrockOnScreenDisplay.kt │ │ │ │ └── title │ │ │ │ └── BedrockScreenDisplayTitle.kt │ │ ├── event │ │ │ ├── BedrockEvent.kt │ │ │ ├── after │ │ │ │ ├── BedrockWorldAfterEvents.kt │ │ │ │ └── item │ │ │ │ │ └── use │ │ │ │ │ ├── BedrockItemUseAfterEvent.kt │ │ │ │ │ └── on │ │ │ │ │ └── BedrockItemUseOnAfterEvent.kt │ │ │ ├── before │ │ │ │ ├── BedrockWorldBeforeEvents.kt │ │ │ │ └── item │ │ │ │ │ └── use │ │ │ │ │ ├── BedrockItemUseBeforeEvent.kt │ │ │ │ │ └── on │ │ │ │ │ └── BedrockItemUseOnBeforeEvent.kt │ │ │ └── context │ │ │ │ ├── BedrockEventContext.kt │ │ │ │ └── item │ │ │ │ └── use │ │ │ │ ├── BedrockItemUseEventContext.kt │ │ │ │ └── BedrockItemUseOnEventContext.kt │ │ ├── index │ │ │ ├── BedrockImportIndexes.kt │ │ │ └── d │ │ │ │ ├── IndexD.kt │ │ │ │ └── server │ │ │ │ └── ServerIndexD.kt │ │ ├── item │ │ │ └── stack │ │ │ │ └── BedrockItemStack.kt │ │ ├── raycast │ │ │ └── hit │ │ │ │ └── BlockRaycastHit.kt │ │ ├── script │ │ │ └── BedrockScriptAnonymousObjectMap.kt │ │ ├── system │ │ │ ├── AbstractBedrockSystem.kt │ │ │ ├── BedrockSystem.kt │ │ │ └── task │ │ │ │ └── ConiumTask.kt │ │ └── world │ │ │ ├── AbstractBedrockWorld.kt │ │ │ ├── BedrockWorld.kt │ │ │ └── dimension │ │ │ ├── BedrockDimension.kt │ │ │ └── BedrockDimensionLocation.kt │ │ ├── block │ │ ├── ConiumBlock.kt │ │ ├── builder │ │ │ ├── ConiumBlockBuilder.kt │ │ │ ├── bedrock │ │ │ │ └── BedrockSchemaBlockBuilder.kt │ │ │ └── conium │ │ │ │ └── ConiumSchemaBlockBuilder.kt │ │ ├── entity │ │ │ ├── ConiumBlockEntity.kt │ │ │ ├── event │ │ │ │ ├── chest │ │ │ │ │ ├── close │ │ │ │ │ │ ├── ConiumChestClosedEvent.kt │ │ │ │ │ │ ├── ConiumChestClosedEventMetadata.kt │ │ │ │ │ │ ├── ConiumChestClosingEvent.kt │ │ │ │ │ │ ├── ConiumChestClosingEventMetadata.kt │ │ │ │ │ │ └── trapped │ │ │ │ │ │ │ ├── ConiumTrappedChestClosedEvent.kt │ │ │ │ │ │ │ ├── ConiumTrappedChestClosedEventMetadata.kt │ │ │ │ │ │ │ ├── ConiumTrappedChestClosingEvent.kt │ │ │ │ │ │ │ └── ConiumTrappedChestClosingEventMetadata.kt │ │ │ │ │ └── open │ │ │ │ │ │ ├── ConiumChestOpenedEvent.kt │ │ │ │ │ │ ├── ConiumChestOpenedEventMetadata.kt │ │ │ │ │ │ ├── ConiumChestOpeningEvent.kt │ │ │ │ │ │ ├── ConiumChestOpeningEventMetadata.kt │ │ │ │ │ │ └── trapped │ │ │ │ │ │ ├── ConiumTrappedChestOpenedEvent.kt │ │ │ │ │ │ ├── ConiumTrappedChestOpenedEventMetadata.kt │ │ │ │ │ │ ├── ConiumTrappedChestOpeningEvent.kt │ │ │ │ │ │ └── ConiumTrappedChestOpeningEventMetadata.kt │ │ │ │ └── shulker │ │ │ │ │ ├── close │ │ │ │ │ ├── ConiumShulkerBoxClosedEvent.kt │ │ │ │ │ ├── ConiumShulkerBoxClosingEvent.kt │ │ │ │ │ ├── ConiumShulkerClosedEventMetadata.kt │ │ │ │ │ └── ConiumShulkerClosingEventMetadata.kt │ │ │ │ │ └── open │ │ │ │ │ ├── ConiumShulkerBoxOpenedEvent.kt │ │ │ │ │ ├── ConiumShulkerBoxOpeningEvent.kt │ │ │ │ │ ├── ConiumShulkerOpenedEventMetadata.kt │ │ │ │ │ └── ConiumShulkerOpeningEventMetadata.kt │ │ │ ├── setting │ │ │ │ └── ConiumBlockEntitySettings.kt │ │ │ └── template │ │ │ │ ├── ConiumBlockEntityTemplate.kt │ │ │ │ └── preset │ │ │ │ └── redstone │ │ │ │ └── ConiumBlockEntityOutputRedstonePowerTemplate.kt │ │ ├── event │ │ │ ├── breaking │ │ │ │ ├── ConiumBreakBlockEvent.kt │ │ │ │ ├── ConiumBreakBlockEventMetadata.kt │ │ │ │ ├── ConiumBreakingBlockEvent.kt │ │ │ │ ├── ConiumBreakingBlockEventMetadata.kt │ │ │ │ ├── ConiumBrokenBlockEvent.kt │ │ │ │ └── ConiumBrokenBlockEventMetadata.kt │ │ │ ├── place │ │ │ │ ├── ConiumPlaceBlockEvent.kt │ │ │ │ ├── ConiumPlaceBlockEventMetadata.kt │ │ │ │ ├── ConiumPlacedBlockEvent.kt │ │ │ │ └── ConiumPlacedBlockEventMetadata.kt │ │ │ ├── tick │ │ │ │ ├── ConiumBlockScheduleTickEvent.kt │ │ │ │ ├── ConiumBlockScheduleTickEventMetadata.kt │ │ │ │ ├── ConiumBlockScheduleTickedEvent.kt │ │ │ │ ├── ConiumBlockScheduleTickedEventMetadata.kt │ │ │ │ └── fluid │ │ │ │ │ ├── ConiumFluidScheduleTickEvent.kt │ │ │ │ │ ├── ConiumFluidScheduleTickEventMetadata.kt │ │ │ │ │ ├── ConiumFluidScheduleTickedEvent.kt │ │ │ │ │ └── ConiumFluidScheduleTickedEventMetadata.kt │ │ │ └── use │ │ │ │ ├── ConiumUseBlockEvent.kt │ │ │ │ ├── ConiumUseBlockEventMetadata.kt │ │ │ │ ├── ConiumUsedBlockEvent.kt │ │ │ │ └── ConiumUsedBlockEventMetadata.kt │ │ ├── setting │ │ │ └── ConiumBlockSettings.kt │ │ └── template │ │ │ ├── ConiumBlockTemplate.kt │ │ │ ├── bedrock │ │ │ ├── collision │ │ │ │ └── ConiumBedrockBlockCollisionBoxTemplate.kt │ │ │ ├── destructible │ │ │ │ ├── ConiumBedrockDestructibleByMiningTemplate.kt │ │ │ │ └── explosion │ │ │ │ │ └── ConiumBedrockDestructibleByExplosionTemplate.kt │ │ │ └── light │ │ │ │ └── ConiumBedrockLightEmissionTemplate.kt │ │ │ ├── collision │ │ │ └── ConiumBlockCollisionTemplate.kt │ │ │ ├── data │ │ │ └── ConiumBlockDataTemplate.kt │ │ │ ├── entity │ │ │ └── ConiumEnableBlockEntityTemplate.kt │ │ │ ├── explosion │ │ │ └── resistance │ │ │ │ └── ConiumExplosionResistanceTemplate.kt │ │ │ ├── instrument │ │ │ └── ConiumBlockInstrumentTemplate.kt │ │ │ ├── luminance │ │ │ └── ConiumLuminanceTemplate.kt │ │ │ ├── map │ │ │ ├── ConiumBedrockMapColorTemplate.kt │ │ │ └── ConiumMapColorTemplate.kt │ │ │ ├── mining │ │ │ └── ConiumHardnessTemplate.kt │ │ │ ├── path │ │ │ └── through │ │ │ │ └── ConiumBlockPathFindThroughTemplate.kt │ │ │ ├── piston │ │ │ └── ConiumBlockPistonBehaviorsTemplate.kt │ │ │ ├── preset │ │ │ └── ConiumBlockEntityPresetsTemplate.kt │ │ │ ├── redstone │ │ │ ├── ConiumBlockEmitsRedstonePowerTemplate.kt │ │ │ ├── ConiumBlockEmitsStrongRedstonePowerTemplate.kt │ │ │ └── ConiumBlockEmitsWeakRedstonePowerTemplate.kt │ │ │ ├── replaceable │ │ │ └── ConiumBlockReplaceableTemplate.kt │ │ │ └── velocity │ │ │ ├── ConiumBlockMovementVelocityTemplate.kt │ │ │ ├── jump │ │ │ └── ConiumBlockJumpVelocityTemplate.kt │ │ │ └── walk │ │ │ └── ConiumBlockWalkVelocityTemplate.kt │ │ ├── chunk │ │ └── event │ │ │ └── receive │ │ │ ├── ConiumReceiveChunkEvent.kt │ │ │ ├── ConiumReceiveChunkEventMetadata.kt │ │ │ ├── ConiumReceivedChunkEvent.kt │ │ │ └── ConiumReceivedChunkEventMetadata.kt │ │ ├── client │ │ ├── ConiumClient.kt │ │ └── entity │ │ │ └── renderer │ │ │ └── ConiumEntityRenderers.kt │ │ ├── codec │ │ └── ConiumPacketCodec.kt │ │ ├── component │ │ ├── ConiumComponentType.kt │ │ ├── ConiumComponentTypeBuilder.kt │ │ ├── ConiumComponentTypes.kt │ │ └── value │ │ │ └── ConiumValueCreator.kt │ │ ├── config │ │ └── ConiumConfig.kt │ │ ├── datapack │ │ ├── ConiumJsonDataLoader.kt │ │ ├── block │ │ │ └── ConiumBlockManager.kt │ │ ├── entity │ │ │ └── ConiumEntityManager.kt │ │ ├── inject │ │ │ └── item │ │ │ │ ├── ItemPropertyInject.kt │ │ │ │ ├── ItemPropertyInjectManager.kt │ │ │ │ ├── action │ │ │ │ ├── ItemPropertyInjectAction.kt │ │ │ │ └── handler │ │ │ │ │ ├── ItemPropertyInjectHandler.java │ │ │ │ │ ├── math │ │ │ │ │ ├── ItemPropertyInjectAddHandler.kt │ │ │ │ │ ├── ItemPropertyInjectDivideHandler.kt │ │ │ │ │ ├── ItemPropertyInjectMinusHandler.kt │ │ │ │ │ ├── ItemPropertyInjectMultiplyHandler.kt │ │ │ │ │ └── typed │ │ │ │ │ │ ├── BigIntegerNumberHandler.kt │ │ │ │ │ │ ├── DoubleNumberHandler.kt │ │ │ │ │ │ ├── FloatNumberHandler.kt │ │ │ │ │ │ ├── IntegerNumberHandler.kt │ │ │ │ │ │ ├── LongNumberHandler.kt │ │ │ │ │ │ └── NumberHandler.kt │ │ │ │ │ └── set │ │ │ │ │ └── ItemPropertyInjectSetHandler.kt │ │ │ │ └── component │ │ │ │ ├── ItemPropertyInjectComponent.kt │ │ │ │ └── ItemPropertyInjectComponentValue.kt │ │ ├── item │ │ │ ├── ConiumItemManager.kt │ │ │ └── fuel │ │ │ │ └── ConiumFuelRegistry.kt │ │ ├── recipe │ │ │ └── ConiumRecipeManager.kt │ │ ├── script │ │ │ └── ConiumScriptManager.kt │ │ └── worldgen │ │ │ └── ConiumPlacedFeatureManager.kt │ │ ├── entity │ │ ├── ConiumEntity.kt │ │ ├── attribute │ │ │ └── ConiumEntityAttributeRegistry.kt │ │ ├── builder │ │ │ ├── ConiumEntityBuilder.kt │ │ │ ├── bedrock │ │ │ │ └── BedrockSchemaEntityBuilder.kt │ │ │ └── conium │ │ │ │ └── ConiumSchemaEntityBuilder.kt │ │ ├── event │ │ │ ├── damage │ │ │ │ ├── ConiumEntityDamageEvent.kt │ │ │ │ ├── ConiumEntityDamageEventMetadata.kt │ │ │ │ ├── ConiumEntityDamagedEvent.kt │ │ │ │ └── ConiumEntityDamagedEventMetadata.kt │ │ │ ├── die │ │ │ │ ├── ConiumEntityDeadEvent.kt │ │ │ │ ├── ConiumEntityDeadEventMetadata.kt │ │ │ │ ├── ConiumEntityDieEvent.kt │ │ │ │ └── ConiumEntityDieEventMetadata.kt │ │ │ ├── fire │ │ │ │ ├── ConiumEntityOnFireEvent.kt │ │ │ │ ├── ConiumEntityOnFireEventMetadata.kt │ │ │ │ └── extinguish │ │ │ │ │ ├── ConiumEntityExtinguishFireEvent.kt │ │ │ │ │ ├── ConiumEntityExtinguishFireEventMetadata.kt │ │ │ │ │ ├── ConiumEntityExtinguishedFireEvent.kt │ │ │ │ │ └── ConiumEntityExtinguishedFireEventMetadata.kt │ │ │ ├── rest │ │ │ │ ├── sleep │ │ │ │ │ ├── ConiumEntitySleepEvent.kt │ │ │ │ │ ├── ConiumEntitySleepEventMetadata.kt │ │ │ │ │ ├── ConiumEntityTrySleepEvent.kt │ │ │ │ │ └── ConiumEntityTrySleepEventMetadata.kt │ │ │ │ └── wake │ │ │ │ │ ├── ConiumEntityWakeUpEvent.kt │ │ │ │ │ ├── ConiumEntityWakeUpEventMetadata.kt │ │ │ │ │ ├── ConiumEntityWakedUpEvent.kt │ │ │ │ │ └── ConiumEntityWakedUpEventMetadata.kt │ │ │ ├── sprint │ │ │ │ ├── ConiumEntitySprintEvent.kt │ │ │ │ ├── ConiumEntitySprintEventMetadata.kt │ │ │ │ ├── ConiumEntitySprintingEvent.kt │ │ │ │ ├── ConiumEntitySprintingEventMetadata.kt │ │ │ │ ├── ConiumEntityStopSprintEvent.kt │ │ │ │ └── ConiumEntityStopSprintEventMetadata.kt │ │ │ └── tick │ │ │ │ ├── ConiumEntityTickEvent.kt │ │ │ │ ├── ConiumEntityTickEventMetadata.kt │ │ │ │ ├── ConiumEntityTickedEvent.kt │ │ │ │ └── ConiumEntityTickedEventMetadata.kt │ │ ├── metadata │ │ │ └── ConiumEntityMetadata.kt │ │ ├── renderer │ │ │ ├── ConiumEntityRenderer.kt │ │ │ ├── model │ │ │ │ └── ConiumEntityModel.kt │ │ │ └── state │ │ │ │ └── ConiumEntityRenderState.kt │ │ ├── setting │ │ │ ├── ConiumAbstractEntitySettings.kt │ │ │ ├── ConiumClientEntitySettings.kt │ │ │ ├── ConiumEntitySettingValues.kt │ │ │ ├── ConiumEntitySettings.kt │ │ │ └── ConiumEntitySettingsWithTypeBuilder.kt │ │ └── template │ │ │ ├── ConiumEntityTemplate.kt │ │ │ ├── bedrock │ │ │ ├── collision │ │ │ │ └── ConiumBedrockEntityCollisionBoxTemplate.kt │ │ │ └── pushable │ │ │ │ └── ConiumBedrockEntityPushableTemplate.kt │ │ │ ├── dimension │ │ │ └── ConiumEntityDimensionTemplate.kt │ │ │ ├── pushable │ │ │ └── ConiumEntityPushableTemplate.kt │ │ │ └── renderer │ │ │ └── model │ │ │ └── ConiumEntityModelTemplate.kt │ │ ├── event │ │ ├── ConiumEvent.kt │ │ ├── context │ │ │ ├── ConiumArgOnlyEventContext.kt │ │ │ ├── ConiumEventContext.kt │ │ │ ├── ConiumEventContextBuilder.kt │ │ │ └── arising │ │ │ │ └── ConiumArisingEventContext.kt │ │ ├── metadata │ │ │ └── ConiumEventMetadata.kt │ │ ├── trigger │ │ │ ├── ConiumEventTrigger.kt │ │ │ └── ListTriggerable.kt │ │ └── type │ │ │ ├── ConiumEventArgTypes.kt │ │ │ └── ConiumEventType.kt │ │ ├── feature │ │ └── ConiumFeatureRegister.kt │ │ ├── function │ │ └── consumer │ │ │ ├── Consumer1.kt │ │ │ ├── Consumer2.kt │ │ │ ├── Consumer3.kt │ │ │ ├── Consumer4.kt │ │ │ ├── Consumer5.kt │ │ │ ├── Consumer6.kt │ │ │ ├── Consumer7.kt │ │ │ ├── obj │ │ │ ├── OConsumer1.kt │ │ │ ├── OConsumer2.kt │ │ │ ├── OConsumer3.kt │ │ │ ├── OConsumer4.kt │ │ │ ├── OConsumer5.kt │ │ │ └── OConsumer6.kt │ │ │ └── string │ │ │ └── obj │ │ │ ├── StrObjConsumer1.kt │ │ │ ├── StrObjConsumer2.kt │ │ │ ├── StrObjConsumer3.kt │ │ │ ├── StrObjConsumer4.kt │ │ │ ├── StrObjConsumer5.kt │ │ │ └── StrObjConsumer6.kt │ │ ├── hitokoto │ │ └── ConiumHitokoto.kt │ │ ├── intermediary │ │ └── mixin │ │ │ ├── ConiumEventMixinIntermediary.kt │ │ │ ├── block │ │ │ └── ConiumBlockEventMixinIntermediary.kt │ │ │ ├── chunk │ │ │ └── ConiumChunkEventMixinIntermediary.kt │ │ │ ├── entity │ │ │ └── ConiumEntityEventMixinIntermediary.kt │ │ │ ├── item │ │ │ └── ConiumItemEventMixinIntermediary.kt │ │ │ └── server │ │ │ └── ConiumServerEventMixinIntermediary.kt │ │ ├── item │ │ ├── ConiumItem.kt │ │ ├── builder │ │ │ ├── ConiumItemBuilder.kt │ │ │ ├── bedrock │ │ │ │ └── BedrockSchemaItemBuilder.kt │ │ │ └── conium │ │ │ │ └── ConiumSchemaItemBuilder.kt │ │ ├── event │ │ │ ├── ConiumItemEvent.kt │ │ │ ├── stack │ │ │ │ └── click │ │ │ │ │ ├── ConiumItemStackClickEvent.kt │ │ │ │ │ ├── ConiumItemStackClickEventMetadata.kt │ │ │ │ │ ├── ConiumItemStackClickedEvent.kt │ │ │ │ │ └── ConiumItemStackClickedEventMetadata.kt │ │ │ ├── tick │ │ │ │ └── inventory │ │ │ │ │ ├── ConiumItemInventoryTickEvent.kt │ │ │ │ │ ├── ConiumItemInventoryTickEventMetadata.kt │ │ │ │ │ ├── ConiumItemInventoryTickedEvent.kt │ │ │ │ │ └── ConiumItemInventoryTickedEventMetadata.kt │ │ │ └── use │ │ │ │ ├── ConiumItemUseEvent.kt │ │ │ │ ├── ConiumItemUseEventMetadata.kt │ │ │ │ ├── ConiumItemUsedEvent.kt │ │ │ │ ├── ConiumItemUsedEventMetadata.kt │ │ │ │ ├── block │ │ │ │ ├── ConiumItemUseOnBlockEvent.kt │ │ │ │ ├── ConiumItemUseOnBlockEventMetadata.kt │ │ │ │ ├── ConiumItemUsedOnBlockEvent.kt │ │ │ │ └── ConiumItemUsedOnBlockEventMetadata.kt │ │ │ │ ├── entity │ │ │ │ ├── ConiumItemUseOnEntityEvent.kt │ │ │ │ ├── ConiumItemUseOnEntityEventMetadata.kt │ │ │ │ ├── ConiumItemUsedOnEntityEvent.kt │ │ │ │ └── ConiumItemUsedOnEntityEventMetadata.kt │ │ │ │ └── usage │ │ │ │ ├── ConiumItemUsageTickEvent.kt │ │ │ │ ├── ConiumItemUsageTickEventMetadata.kt │ │ │ │ ├── ConiumItemUsageTickedEvent.kt │ │ │ │ └── ConiumItemUsageTickedEventMetadata.kt │ │ ├── setting │ │ │ └── ConiumItemSettings.kt │ │ └── template │ │ │ ├── ConiumItemTemplate.kt │ │ │ ├── action │ │ │ └── ConiumUseActionTemplate.kt │ │ │ ├── armor │ │ │ ├── ConiumArmorTemplate.kt │ │ │ └── ConiumWearableTemplate.kt │ │ │ ├── bedrock │ │ │ ├── animation │ │ │ │ └── ConiumBedrockUseAnimationTemplate.kt │ │ │ ├── damage │ │ │ │ └── ConiumBedrockDamageTemplate.kt │ │ │ ├── destory │ │ │ │ └── ConiumBedrockCanDestroyInCreativeTemplate.kt │ │ │ ├── durability │ │ │ │ └── ConiumBedrockDurabilityTemplate.kt │ │ │ ├── food │ │ │ │ └── ConiumBedrockFoodTemplate.kt │ │ │ ├── fuel │ │ │ │ └── ConiumBedrockFuelTemplate.kt │ │ │ ├── glint │ │ │ │ └── ConiumBedrockGlintTemplate.kt │ │ │ ├── stack │ │ │ │ └── size │ │ │ │ │ └── ConiumBedrockMaxStackSizeTemplate.kt │ │ │ └── wearable │ │ │ │ └── ConiumBedrockWearableTemplate.kt │ │ │ ├── consumable │ │ │ └── ConiumConsumableTemplate.kt │ │ │ ├── consume │ │ │ └── ConiumConsumeOnUsedTemplate.kt │ │ │ ├── convert │ │ │ └── block │ │ │ │ └── ConiumUsedOnBlockConvertToTemplate.kt │ │ │ ├── destory │ │ │ └── ConiumCanDestroyInCreativeTemplate.kt │ │ │ ├── durability │ │ │ └── ConiumDurabilityTemplate.kt │ │ │ ├── egg │ │ │ └── ConiumSpawnEggTemplate.kt │ │ │ ├── food │ │ │ └── ConiumFoodTemplate.kt │ │ │ ├── fuel │ │ │ └── ConiumFuelTemplate.kt │ │ │ ├── glint │ │ │ └── ConiumGlintTemplate.kt │ │ │ ├── ignite │ │ │ ├── ConiumClearEntityIgniteTemplate.kt │ │ │ └── ConiumIgniteEntityTemplate.kt │ │ │ ├── rarity │ │ │ ├── ConiumRarityTemplate.kt │ │ │ └── epic │ │ │ │ ├── ConiumCommonRarityTemplate.kt │ │ │ │ ├── ConiumEpicRarityTemplate.kt │ │ │ │ ├── ConiumRareRarityTemplate.kt │ │ │ │ └── ConiumUncommonRarityTemplate.kt │ │ │ ├── stack │ │ │ └── count │ │ │ │ └── ConiumStackMaxCountTemplate.kt │ │ │ └── tool │ │ │ ├── ConiumItemToolTemplate.kt │ │ │ ├── axe │ │ │ ├── ConiumItemAxeTemplate.kt │ │ │ ├── ConiumItemDiamondAxeTemplate.kt │ │ │ ├── ConiumItemGoldenAxeTemplate.kt │ │ │ ├── ConiumItemIronAxeTemplate.kt │ │ │ ├── ConiumItemNetheriteAxeTemplate.kt │ │ │ ├── ConiumItemStoneAxeTemplate.kt │ │ │ └── ConiumItemWoodenAxeTemplate.kt │ │ │ ├── mining │ │ │ └── ConiumForceMiningSpeedTemplate.kt │ │ │ └── pickaxe │ │ │ ├── ConiumItemDiamondPickaxeTemplate.kt │ │ │ ├── ConiumItemGoldenPickaxeTemplate.kt │ │ │ ├── ConiumItemIronPickaxeTemplate.kt │ │ │ ├── ConiumItemNetheritePickaxeTemplate.kt │ │ │ ├── ConiumItemPickaxeTemplate.kt │ │ │ ├── ConiumItemStonePickaxeTemplate.kt │ │ │ └── ConiumItemWoodenPickaxeTemplate.kt │ │ ├── kotlin │ │ └── extent │ │ │ ├── block │ │ │ ├── ConiumBlockKotlinExtents.kt │ │ │ └── ConiumMapColorKotlinExtents.kt │ │ │ ├── component │ │ │ ├── ConiumComponentMapExtents.kt │ │ │ └── ConiumComponentsExtents.kt │ │ │ ├── entity │ │ │ └── ConiumEntityKotlinExtents.kt │ │ │ ├── innate │ │ │ └── ConiumInnate.kt │ │ │ ├── item │ │ │ ├── ConiumArmorKotlinExtends.kt │ │ │ ├── ConiumItemKotlinExtents.kt │ │ │ └── ConiumItemStackKotlinExtents.kt │ │ │ ├── json │ │ │ └── ConiumJsonKotlinExtends.kt │ │ │ ├── manipulate │ │ │ └── ConiumManipulateKotlinExtends.kt │ │ │ ├── recipe │ │ │ └── ConiumRecipeTypeKotlinExtends.kt │ │ │ ├── registry │ │ │ └── ConiumRegistryEntryKotlinExtends.kt │ │ │ └── world │ │ │ └── ConiumWorldKotlinExtends.kt │ │ ├── mapping │ │ └── yarn │ │ │ ├── ScriptMappingImportIndexes.kt │ │ │ └── reference │ │ │ ├── YarnAbstractBlock.kt │ │ │ ├── YarnBlock.kt │ │ │ ├── YarnEntity.kt │ │ │ ├── YarnItem.kt │ │ │ ├── YarnItemConvertable.kt │ │ │ ├── YarnItems.kt │ │ │ ├── YarnLivingEntity.kt │ │ │ ├── YarnPlayerEntity.kt │ │ │ ├── YarnServerPlayerEntity.kt │ │ │ └── YarnToggleableFeature.kt │ │ ├── mixin │ │ ├── block │ │ │ ├── AbstractBlockMixin.java │ │ │ ├── BlockItemMixin.java │ │ │ ├── BlockMixin.java │ │ │ ├── BlockStateMixin.java │ │ │ └── entity │ │ │ │ └── shulker │ │ │ │ ├── ChestBlockEntityMixin.java │ │ │ │ └── ShulkerBoxBlockEntityMixin.java │ │ ├── client │ │ │ ├── MinecraftClientAccessor.java │ │ │ ├── interaction │ │ │ │ └── ClientPlayerInteractionManagerMixin.java │ │ │ └── play │ │ │ │ └── ClientPlayNetworkHandlerMixin.java │ │ ├── collection │ │ │ └── IdListMixin.java │ │ ├── component │ │ │ ├── attribute │ │ │ │ └── AttributeModifiersComponentBuilderMixin.java │ │ │ └── map │ │ │ │ └── builder │ │ │ │ └── ComponentMapBuilderAccessor.java │ │ ├── datapack │ │ │ └── DataPackContentsMixin.java │ │ ├── entity │ │ │ ├── EntityAccessor.java │ │ │ ├── EntityMixin.java │ │ │ ├── attribute │ │ │ │ └── DefaultAttributeRegistryMixin.java │ │ │ └── living │ │ │ │ ├── LivingEntityAccessor.java │ │ │ │ └── LivingEntityMixin.java │ │ ├── item │ │ │ ├── ItemMixin.java │ │ │ ├── fuel │ │ │ │ └── FuelRegistryMixin.java │ │ │ ├── setting │ │ │ │ └── ItemSettingsAccessor.java │ │ │ └── stack │ │ │ │ └── ItemStackMixin.java │ │ ├── recipe │ │ │ ├── ServerRecipeManagerAccessor.java │ │ │ └── property │ │ │ │ └── RecipePropertySetAccessor.java │ │ ├── registry │ │ │ ├── NamedRegistryEntryListMixin.java │ │ │ ├── RegistryEntryReferenceAccessor.java │ │ │ ├── RegistryEntryReferenceMixin.java │ │ │ └── SimpleRegistryMixin.java │ │ ├── renderer │ │ │ └── entity │ │ │ │ ├── EntityRenderDispatcherMixin.java │ │ │ │ └── EntityRenderersMixin.java │ │ ├── screen │ │ │ └── ScreenHandlerMixin.java │ │ ├── server │ │ │ ├── MinecraftServerMixin.java │ │ │ ├── interaction │ │ │ │ └── ServerPlayerInteractionManagerMixin.java │ │ │ ├── save │ │ │ │ └── SaveLoadingMixin.java │ │ │ └── world │ │ │ │ └── ServerWorldMixin.java │ │ └── world │ │ │ ├── WorldAccessor.java │ │ │ └── renderer │ │ │ └── WorldRendererMixin.java │ │ ├── nbt │ │ └── data │ │ │ ├── ConiumNbtDataSerializer.kt │ │ │ ├── RegistrableNbt.kt │ │ │ ├── color │ │ │ └── ConiumNbtDyeColorSerializer.kt │ │ │ ├── primary │ │ │ ├── ConiumNbtBooleanSerializer.kt │ │ │ ├── ConiumNbtByteSerializer.kt │ │ │ ├── ConiumNbtDoubleSerializer.kt │ │ │ ├── ConiumNbtFloatSerializer.kt │ │ │ ├── ConiumNbtIntSerializer.kt │ │ │ ├── ConiumNbtLongSerializer.kt │ │ │ └── ConiumNbtShortSerializer.kt │ │ │ └── string │ │ │ └── ConiumNbtStringSerializer.kt │ │ ├── network │ │ ├── ConiumPacket.kt │ │ ├── event │ │ │ ├── ConiumServerConfigurationConnectionEvent.kt │ │ │ └── ConiumServerConfigurationConnectionEventMetadata.kt │ │ ├── packet │ │ │ ├── client │ │ │ │ ├── ConiumClientPacket.kt │ │ │ │ ├── configuration │ │ │ │ │ ├── ConiumClientConfigurationPacket.kt │ │ │ │ │ └── registry │ │ │ │ │ │ └── SynchronizeRegistryPayload.kt │ │ │ │ └── play │ │ │ │ │ └── ConiumClientPlayPacket.kt │ │ │ ├── sender │ │ │ │ └── PacketSender.kt │ │ │ └── server │ │ │ │ ├── ConiumServerPacket.kt │ │ │ │ ├── configuration │ │ │ │ └── ConiumServerConfigurationPacket.kt │ │ │ │ └── play │ │ │ │ └── ConiumServerPlayPacket.kt │ │ └── registry │ │ │ ├── ConiumPacketRegister.kt │ │ │ └── ConiumPacketRegistry.kt │ │ ├── parameter │ │ ├── DynamicArgType.kt │ │ ├── DynamicArgs.kt │ │ ├── DynamicArgsBuilder.kt │ │ ├── DynamicArgsLifecycle.kt │ │ ├── ParameterSelective.kt │ │ ├── ParameterSelective0.kt │ │ ├── ParameterSelective1.kt │ │ ├── ParameterSelective2.kt │ │ ├── ParameterSelective3.kt │ │ ├── ParameterSelective4.kt │ │ ├── ParameterSelective5.kt │ │ ├── ParameterSelective6.kt │ │ ├── ParameterSelective7.kt │ │ ├── ParameterSelective8.kt │ │ └── type │ │ │ └── DynamicArgTypeBuilder.kt │ │ ├── random │ │ ├── ConiumRandom.kt │ │ └── event │ │ │ ├── ConiumRandomEvent.kt │ │ │ └── ConiumRandomEventMetadata.kt │ │ ├── raycast │ │ └── ConiumRaycast.kt │ │ ├── recipe │ │ ├── ConiumBedrockRecipeBuilder.kt │ │ └── template │ │ │ ├── ConiumRecipeTemplate.kt │ │ │ └── bedrock │ │ │ ├── furnace │ │ │ └── ConiumBedrockRecipeFurnaceTemplate.kt │ │ │ └── shape │ │ │ ├── ConiumBedrockRecipeShapedTemplate.kt │ │ │ └── ConiumBedrockRecipeShapelessTemplate.kt │ │ ├── registry │ │ ├── ConiumRegistryKeys.kt │ │ └── extend │ │ │ ├── ConiumDynamicIdList.java │ │ │ └── ConiumDynamicRegistry.java │ │ ├── script │ │ ├── ScriptExport.kt │ │ ├── eval │ │ │ └── ScriptEval.kt │ │ ├── field │ │ │ ├── SharedField.kt │ │ │ ├── SharedFieldByJvm.kt │ │ │ ├── SharedFieldByStatement.kt │ │ │ └── SharedFieldHandler.kt │ │ ├── index │ │ │ └── ConiumScriptCommonImportIndexes.kt │ │ ├── interaction │ │ │ └── NamedInteractionScript.kt │ │ ├── javascript │ │ │ ├── std │ │ │ │ └── collection │ │ │ │ │ ├── array │ │ │ │ │ └── Array.kt │ │ │ │ │ ├── iterator │ │ │ │ │ ├── JavascriptIterator.kt │ │ │ │ │ └── JavascriptIteratorResult.kt │ │ │ │ │ └── set │ │ │ │ │ └── Set.kt │ │ │ └── typescript │ │ │ │ └── TypescriptPrototype.kt │ │ ├── kts │ │ │ ├── ConiumScript.kt │ │ │ └── KotlinScriptProvider.kt │ │ ├── provider │ │ │ └── ConiumScriptProvider.kt │ │ └── translate │ │ │ ├── ConiumScriptTranslator.kt │ │ │ └── kts │ │ │ └── file │ │ │ ├── ConiumTypescriptFileTranslator.kt │ │ │ ├── obj │ │ │ └── anonymous │ │ │ │ └── ConiumTypescriptAnonymousObjectTranslator.kt │ │ │ └── statement │ │ │ ├── importing │ │ │ └── ConiumTypescriptImportTranslator.kt │ │ │ └── variable │ │ │ └── ConiumTypescriptDefineVariableTranslator.kt │ │ ├── server │ │ ├── ConiumDedicatedServer.kt │ │ ├── datapack │ │ │ ├── ConiumContentDatapack.kt │ │ │ └── ConiumServerLoadDatapacks.kt │ │ └── event │ │ │ ├── random │ │ │ ├── ConiumServerRandomEvent.kt │ │ │ └── ConiumServerRandomEventMetadata.kt │ │ │ └── tick │ │ │ ├── ConiumServerTickEvent.kt │ │ │ ├── ConiumServerTickEventMetadata.kt │ │ │ ├── ConiumServerTickTailEvent.kt │ │ │ └── ConiumServerTickTailEventMetadata.kt │ │ ├── setting │ │ └── ConiumSettings.kt │ │ ├── sprint │ │ └── SprintMovementEntity.java │ │ └── template │ │ ├── ConiumBuilderWithTemplates.kt │ │ ├── ConiumTemplate.kt │ │ ├── ConiumTemplateCreator.kt │ │ ├── ConiumTemplateFactor.kt │ │ └── ConiumTemplates.kt │ └── resources │ ├── META-INF │ └── jars │ │ └── fluxia-1.1.4-fix3.jar │ ├── assets │ └── conium │ │ ├── banner.txt │ │ ├── config │ │ └── default.conium.config.json │ │ ├── icon.png │ │ └── scripts │ │ ├── conium.bedrock.commons.kts │ │ ├── conium.bedrock.script.init.kts │ │ └── conium.commons.kts │ ├── conium.accesswidener │ └── conium.mixins.json ├── document ├── data-driven │ ├── README.md │ ├── bedrock │ │ └── README.md │ └── conium │ │ └── README.md └── script │ └── kotlin │ ├── README.md │ ├── dynamic-register │ └── README.md │ ├── event │ └── README.md │ └── reference │ └── README.md ├── fabric ├── build.gradle ├── gradle.properties └── src │ └── main │ ├── java │ └── com │ │ └── github │ │ └── cao │ │ └── awa │ │ └── coniumic │ │ ├── Coniumic.kt │ │ ├── ConiumicClient.kt │ │ ├── ConiumicServer.kt │ │ └── feature │ │ └── ConiumFabricFeatureRegister.kt │ └── resources │ ├── conium.accesswidener │ └── fabric.mod.json ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── idea └── appearance │ └── Cao_awa_colorful.icls ├── neoforge ├── build.gradle ├── gradle.properties └── src │ └── main │ ├── java │ └── com │ │ └── github │ │ └── cao │ │ └── awa │ │ └── neoconium │ │ ├── Neoconium.kt │ │ └── NeoconiumClient.kt │ └── resources │ ├── META-INF │ └── neoforge.mods.toml │ └── conium_transformer.cfg ├── planing ├── README.md └── data-driven │ └── bedrock.md ├── sample ├── datapacks │ ├── block_entity_sample │ │ ├── README.md │ │ ├── data │ │ │ └── awa │ │ │ │ ├── block │ │ │ │ └── conium_block.json │ │ │ │ └── script │ │ │ │ └── conium_block_script.kts │ │ └── pack.mcmeta │ ├── foods │ │ ├── README.md │ │ ├── data │ │ │ └── awa │ │ │ │ └── item │ │ │ │ └── conium_fire_apple.json │ │ └── pack.mcmeta │ ├── tests │ │ ├── data │ │ │ └── awa │ │ │ │ ├── block │ │ │ │ ├── bedrock_block.json │ │ │ │ └── conium_block.json │ │ │ │ ├── entity │ │ │ │ ├── bedrock_entity.json │ │ │ │ └── conium_entity.json │ │ │ │ ├── entity_geo │ │ │ │ └── bedrock_entity.geo.json │ │ │ │ ├── item │ │ │ │ ├── bedrock.json │ │ │ │ └── conium.json │ │ │ │ ├── property │ │ │ │ └── item │ │ │ │ │ └── flint.json │ │ │ │ ├── recipe │ │ │ │ ├── test_furnace.json │ │ │ │ ├── test_recipe.json │ │ │ │ └── test_recipe2.json │ │ │ │ └── script │ │ │ │ ├── conium_fools_day.kts │ │ │ │ ├── interaction.kts │ │ │ │ └── test.ts │ │ └── pack.mcmeta │ └── trtr │ │ ├── data │ │ └── trtr │ │ │ ├── block │ │ │ ├── acanthite.json │ │ │ ├── albite.json │ │ │ ├── alunite.json │ │ │ ├── anorthite.json │ │ │ ├── autunite.json │ │ │ ├── axle.json │ │ │ ├── bauxite.json │ │ │ ├── carnotite.json │ │ │ ├── chalcopyrite.json │ │ │ ├── cobbled_andesite.json │ │ │ ├── cobbled_diorite.json │ │ │ ├── cobbled_granite.json │ │ │ ├── cuprite.json │ │ │ ├── deepslate_acanthite.json │ │ │ ├── deepslate_autunite.json │ │ │ ├── deepslate_bauxite.json │ │ │ ├── deepslate_carnotite.json │ │ │ ├── deepslate_chalcopyrite.json │ │ │ ├── deepslate_cuprite.json │ │ │ ├── deepslate_galena.json │ │ │ ├── galena.json │ │ │ ├── limestone.json │ │ │ └── marble.json │ │ │ ├── item │ │ │ ├── kindling.json │ │ │ └── lit_kindling.json │ │ │ └── worldgen │ │ │ ├── configured_feature │ │ │ ├── ore_acanthite.json │ │ │ ├── ore_autunite.json │ │ │ ├── ore_bauxite.json │ │ │ ├── ore_carnotite.json │ │ │ ├── ore_chalcopyrite.json │ │ │ ├── ore_cuprite.json │ │ │ └── ore_galena.json │ │ │ └── placed_feature │ │ │ ├── ore_acanthite_middle.json │ │ │ ├── ore_autunite_middle.json │ │ │ ├── ore_bauxite_middle.json │ │ │ ├── ore_carnotite_middle.json │ │ │ ├── ore_chalcopyrite_middle.json │ │ │ ├── ore_cuprite_middle.json │ │ │ └── ore_galena_middle.json │ │ └── pack.mcmeta ├── resourcepacks │ ├── foods │ │ ├── README.md │ │ ├── assets │ │ │ └── awa │ │ │ │ ├── items │ │ │ │ └── conium_fire_apple.json │ │ │ │ ├── lang │ │ │ │ └── en_us.json │ │ │ │ ├── models │ │ │ │ └── item │ │ │ │ │ └── conium_fire_apple.json │ │ │ │ └── textures │ │ │ │ └── item │ │ │ │ └── conium_fire_apple.png │ │ └── pack.mcmeta │ ├── tests │ │ ├── assets │ │ │ └── awa │ │ │ │ ├── lang │ │ │ │ └── en_us.json │ │ │ │ ├── models │ │ │ │ └── item │ │ │ │ │ ├── bedrock.json │ │ │ │ │ └── conium.json │ │ │ │ └── textures │ │ │ │ ├── entity │ │ │ │ └── bat_v2.png │ │ │ │ └── item │ │ │ │ ├── bedrock.png │ │ │ │ └── conium.png │ │ └── pack.mcmeta │ ├── trtr │ │ ├── assets │ │ │ └── trtr │ │ │ │ ├── blockstates │ │ │ │ ├── acanthite.json │ │ │ │ ├── albite.json │ │ │ │ ├── alunite.json │ │ │ │ ├── anorthite.json │ │ │ │ ├── autunite.json │ │ │ │ ├── axle.json │ │ │ │ ├── bauxite.json │ │ │ │ ├── carnotite.json │ │ │ │ ├── chalcopyrite.json │ │ │ │ ├── cobbled_andesite.json │ │ │ │ ├── cobbled_diorite.json │ │ │ │ ├── cobbled_granite.json │ │ │ │ ├── cuprite.json │ │ │ │ ├── deepslate_acanthite.json │ │ │ │ ├── deepslate_autunite.json │ │ │ │ ├── deepslate_bauxite.json │ │ │ │ ├── deepslate_carnotite.json │ │ │ │ ├── deepslate_chalcopyrite.json │ │ │ │ ├── deepslate_cuprite.json │ │ │ │ ├── deepslate_galena.json │ │ │ │ ├── galena.json │ │ │ │ ├── limestone.json │ │ │ │ └── marble.json │ │ │ │ ├── items │ │ │ │ ├── acanthite.json │ │ │ │ ├── albite.json │ │ │ │ ├── alunite.json │ │ │ │ ├── anorthite.json │ │ │ │ ├── autunite.json │ │ │ │ ├── axle.json │ │ │ │ ├── bauxite.json │ │ │ │ ├── carnotite.json │ │ │ │ ├── chalcopyrite.json │ │ │ │ ├── cobbled_andesite.json │ │ │ │ ├── cobbled_diorite.json │ │ │ │ ├── cobbled_granite.json │ │ │ │ ├── cuprite.json │ │ │ │ ├── deepslate_acanthite.json │ │ │ │ ├── deepslate_autunite.json │ │ │ │ ├── deepslate_bauxite.json │ │ │ │ ├── deepslate_carnotite.json │ │ │ │ ├── deepslate_chalcopyrite.json │ │ │ │ ├── deepslate_cuprite.json │ │ │ │ ├── deepslate_galena.json │ │ │ │ ├── galena.json │ │ │ │ ├── limestone.json │ │ │ │ └── marble.json │ │ │ │ ├── lang │ │ │ │ ├── en_us.json │ │ │ │ └── zh_cn.json │ │ │ │ ├── models │ │ │ │ └── block │ │ │ │ │ ├── acanthite.json │ │ │ │ │ ├── albite.json │ │ │ │ │ ├── alunite.json │ │ │ │ │ ├── anorthite.json │ │ │ │ │ ├── autunite.json │ │ │ │ │ ├── axle.json │ │ │ │ │ ├── bauxite.json │ │ │ │ │ ├── carnotite.json │ │ │ │ │ ├── chalcopyrite.json │ │ │ │ │ ├── cobbled_andesite.json │ │ │ │ │ ├── cobbled_diorite.json │ │ │ │ │ ├── cobbled_granite.json │ │ │ │ │ ├── cuprite.json │ │ │ │ │ ├── deepslate_acanthite.json │ │ │ │ │ ├── deepslate_autunite.json │ │ │ │ │ ├── deepslate_bauxite.json │ │ │ │ │ ├── deepslate_carnotite.json │ │ │ │ │ ├── deepslate_chalcopyrite.json │ │ │ │ │ ├── deepslate_cuprite.json │ │ │ │ │ ├── deepslate_galena.json │ │ │ │ │ ├── galena.json │ │ │ │ │ ├── limestone.json │ │ │ │ │ └── marble.json │ │ │ │ └── textures │ │ │ │ ├── block │ │ │ │ ├── acanthite.png │ │ │ │ ├── albite.png │ │ │ │ ├── alunite.png │ │ │ │ ├── anorthite.png │ │ │ │ ├── autunite.png │ │ │ │ ├── axle.png │ │ │ │ ├── bauxite.png │ │ │ │ ├── carnotite.png │ │ │ │ ├── chalcopyrite.png │ │ │ │ ├── cobbled_andesite.png │ │ │ │ ├── cobbled_diorite.png │ │ │ │ ├── cobbled_granite.png │ │ │ │ ├── cuprite.png │ │ │ │ ├── deepslate_acanthite.png │ │ │ │ ├── deepslate_autunite.png │ │ │ │ ├── deepslate_bauxite.png │ │ │ │ ├── deepslate_carnotite.png │ │ │ │ ├── deepslate_chalcopyrite.png │ │ │ │ ├── deepslate_cuprite.png │ │ │ │ ├── deepslate_galena.png │ │ │ │ ├── deepslate_ilmenite.png │ │ │ │ ├── deepslate_magnetite.png │ │ │ │ ├── deepslate_pitchblende.png │ │ │ │ ├── frying_pan_bottom.png │ │ │ │ ├── frying_pan_side.png │ │ │ │ ├── frying_pan_top.png │ │ │ │ ├── galena.png │ │ │ │ ├── halite.png │ │ │ │ ├── ilmenite.png │ │ │ │ ├── limestone.png │ │ │ │ ├── magnetite.png │ │ │ │ ├── malachite.png │ │ │ │ ├── marble.png │ │ │ │ ├── mud_stove.png │ │ │ │ ├── niter.png │ │ │ │ ├── no_flint_gravel.png │ │ │ │ ├── orthoclase.png │ │ │ │ ├── pitchblende.png │ │ │ │ └── rutile.png │ │ │ │ └── item │ │ │ │ ├── acacia_plank.png │ │ │ │ ├── andesite_pebble.png │ │ │ │ ├── birch_plank.png │ │ │ │ ├── branch.png │ │ │ │ ├── cherry_plank.png │ │ │ │ ├── crushed_andesite.png │ │ │ │ ├── crushed_diorite.png │ │ │ │ ├── crushed_flint.png │ │ │ │ ├── crushed_granite.png │ │ │ │ ├── crushed_stone.png │ │ │ │ ├── dark_oak_plank.png │ │ │ │ ├── deepslate_pebble.png │ │ │ │ ├── diorite_pebble.png │ │ │ │ ├── dirt_ball.png │ │ │ │ ├── fibre_rope.png │ │ │ │ ├── flint_axe.png │ │ │ │ ├── flint_hoe.png │ │ │ │ ├── flint_knife.png │ │ │ │ ├── flint_spear.png │ │ │ │ ├── granite_pebble.png │ │ │ │ ├── jungle_plank.png │ │ │ │ ├── kindling.png │ │ │ │ ├── lit_kindling.png │ │ │ │ ├── mangrove_plank.png │ │ │ │ ├── oak_plank.png │ │ │ │ ├── pile_of_red_sand.png │ │ │ │ ├── pile_of_sand.png │ │ │ │ ├── plant_fibre.png │ │ │ │ ├── sharp_flint.png │ │ │ │ ├── short_stick.png │ │ │ │ ├── spruce_plank.png │ │ │ │ ├── stone_axe_part.png │ │ │ │ ├── stone_hammer.png │ │ │ │ ├── stone_hammer_part.png │ │ │ │ ├── stone_hilt_part.png │ │ │ │ ├── stone_hoe_part.png │ │ │ │ ├── stone_knife.png │ │ │ │ ├── stone_knife_part.png │ │ │ │ ├── stone_pebble.png │ │ │ │ ├── stone_pickaxe_part.png │ │ │ │ ├── stone_powder.png │ │ │ │ ├── stone_shovel_part.png │ │ │ │ ├── stone_spear.png │ │ │ │ └── stone_sword_part.png │ │ └── pack.mcmeta │ └── trtr_done │ │ ├── assets │ │ └── trtr │ │ │ └── textures │ │ │ ├── block │ │ │ ├── deepslate_ilmenite.png │ │ │ ├── deepslate_magnetite.png │ │ │ ├── deepslate_pitchblende.png │ │ │ ├── frying_pan_bottom.png │ │ │ ├── frying_pan_side.png │ │ │ ├── frying_pan_top.png │ │ │ ├── halite.png │ │ │ ├── ilmenite.png │ │ │ ├── limestone.png │ │ │ ├── magnetite.png │ │ │ ├── malachite.png │ │ │ ├── marble.png │ │ │ ├── mud_stove.png │ │ │ ├── niter.png │ │ │ ├── no_flint_gravel.png │ │ │ ├── orthoclase.png │ │ │ ├── pitchblende.png │ │ │ └── rutile.png │ │ │ └── item │ │ │ ├── acacia_plank.png │ │ │ ├── andesite_pebble.png │ │ │ ├── birch_plank.png │ │ │ ├── branch.png │ │ │ ├── cherry_plank.png │ │ │ ├── crushed_andesite.png │ │ │ ├── crushed_diorite.png │ │ │ ├── crushed_flint.png │ │ │ ├── crushed_granite.png │ │ │ ├── crushed_stone.png │ │ │ ├── dark_oak_plank.png │ │ │ ├── deepslate_pebble.png │ │ │ ├── diorite_pebble.png │ │ │ ├── dirt_ball.png │ │ │ ├── fibre_rope.png │ │ │ ├── flint_axe.png │ │ │ ├── flint_hoe.png │ │ │ ├── flint_knife.png │ │ │ ├── flint_spear.png │ │ │ ├── granite_pebble.png │ │ │ ├── jungle_plank.png │ │ │ ├── kindling.png │ │ │ ├── lit_kindling.png │ │ │ ├── mangrove_plank.png │ │ │ ├── oak_plank.png │ │ │ ├── pile_of_red_sand.png │ │ │ ├── pile_of_sand.png │ │ │ ├── plant_fibre.png │ │ │ ├── plant_stem.png │ │ │ ├── sharp_flint.png │ │ │ ├── short_stick.png │ │ │ ├── spruce_plank.png │ │ │ ├── stone_axe_part.png │ │ │ ├── stone_hammer.png │ │ │ ├── stone_hammer_part.png │ │ │ ├── stone_hilt_part.png │ │ │ ├── stone_hoe_part.png │ │ │ ├── stone_knife.png │ │ │ ├── stone_knife_part.png │ │ │ ├── stone_pebble.png │ │ │ ├── stone_pickaxe_part.png │ │ │ ├── stone_powder.png │ │ │ ├── stone_shovel_part.png │ │ │ ├── stone_spear.png │ │ │ └── stone_sword_part.png │ │ └── pack.mcmeta └── test.ts └── settings.gradle /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: "[Bug] the bug description " 5 | labels: bug, help wanted 6 | assignees: cao-awa 7 | 8 | --- 9 | 10 | ## Describe the bug 11 | A clear and concise description of what the bug is. 12 | 13 | ## Reproduce 14 | Steps to reproduce the behavior. 15 | 16 | ## Expected behavior 17 | A clear and concise description of what you expected to happen. 18 | 19 | ## Environment 20 | 1. Your Java version 21 | 2. Your Conium version 22 | 3. Your other mods 23 | 4. Your Minecraft version 24 | 25 | ## latest.log 26 | Upload ```latest.log``` to [mclogs](https://mclo.gs/) and paste the link here. 27 | 28 | ## Labels 29 | If this bug has damaged the world, game data, gameplay or found CVE vulnerability, please add ```emergency``` label to this issue. 30 | 31 | And If this bug still happens when removed all other mods, please add ```compatibility``` label to this issue. 32 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "java.configuration.updateBuildConfiguration": "automatic" 3 | } -------------------------------------------------------------------------------- /CHANGE_LOG.md: -------------------------------------------------------------------------------- 1 | > 1.0.0-alpha11 2 | 3 | # Conium event 4 | 1. Add classical event handle way (subscriber and metadata). 5 | 6 | # Item templates 7 | 1. 'used_on_block_convert_to' 8 | 2. 'consume_on_used' 9 | 10 | # Block register 11 | 1. Early register the block before world-gen state, let blocks able to participate the world generates 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/annotation/bedrock/BedrockScriptApi.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.annotation.bedrock 2 | 3 | annotation class BedrockScriptApi 4 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/annotation/bedrock/BedrockScriptApiFacade.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.annotation.bedrock 2 | 3 | annotation class BedrockScriptApiFacade(vararg val sapiType: String) 4 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/annotation/mapping/Remap.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.annotation.mapping 2 | 3 | @Target(AnnotationTarget.FILE) 4 | annotation class Remap -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/annotation/mapping/StaticOnly.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.annotation.mapping 2 | 3 | @Target(AnnotationTarget.CLASS, AnnotationTarget.FILE) 4 | annotation class StaticOnly -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/annotation/script/javascript/JavaScriptApi.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.annotation.script.javascript 2 | 3 | annotation class JavaScriptApi(vararg val refName: String) 4 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/annotation/script/javascript/ScriptReadonly.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.annotation.script.javascript 2 | 3 | annotation class ScriptReadonly 4 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/bedrock/block/state/BedrockBlockState.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.bedrock.block.state 2 | 3 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApi 4 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApiFacade 5 | import net.minecraft.block.BlockState 6 | 7 | @BedrockScriptApi 8 | @BedrockScriptApiFacade("Block") 9 | class BedrockBlockState(private val delegate: BlockState) { 10 | 11 | } 12 | 13 | val BlockState.bedrock: BedrockBlockState 14 | get() = BedrockBlockState(this) -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/bedrock/entity/player/delegate/BedrockPlayerDelegate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.bedrock.entity.player.delegate 2 | 3 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApi 4 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApiFacade 5 | import com.github.cao.awa.conium.bedrock.entity.player.BedrockPlayer 6 | import com.github.cao.awa.conium.bedrock.entity.player.bedrockPlayer 7 | import com.github.cao.awa.conium.script.javascript.std.collection.array.Array 8 | import net.minecraft.server.MinecraftServer 9 | 10 | @BedrockScriptApi 11 | @BedrockScriptApiFacade("Player[]") 12 | class BedrockPlayerDelegate( 13 | private val server: MinecraftServer 14 | ): Array() { 15 | override operator fun get(index: Int): BedrockPlayer { 16 | return this.server.playerManager.playerList[index].bedrockPlayer 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/bedrock/event/after/BedrockWorldAfterEvents.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.bedrock.event.after 2 | 3 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApi 4 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApiFacade 5 | import com.github.cao.awa.conium.bedrock.event.after.item.use.on.BedrockItemUseOnAfterEvent 6 | 7 | @BedrockScriptApi 8 | @BedrockScriptApiFacade("WorldAfterEvents") 9 | class BedrockWorldAfterEvents { 10 | companion object { 11 | val EVENTS: BedrockWorldAfterEvents = BedrockWorldAfterEvents() 12 | } 13 | 14 | @BedrockScriptApi 15 | @BedrockScriptApiFacade("WorldAfterEvents", "itemUseOn") 16 | val itemUseOn: BedrockItemUseOnAfterEvent = BedrockItemUseOnAfterEvent() 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/bedrock/event/before/BedrockWorldBeforeEvents.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.bedrock.event.before 2 | 3 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApi 4 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApiFacade 5 | import com.github.cao.awa.conium.bedrock.event.before.item.use.on.BedrockItemUseOnBeforeEvent 6 | 7 | @BedrockScriptApi 8 | @BedrockScriptApiFacade("WorldBeforeEvents") 9 | class BedrockWorldBeforeEvents { 10 | companion object { 11 | val EVENTS: BedrockWorldBeforeEvents = BedrockWorldBeforeEvents() 12 | } 13 | 14 | @BedrockScriptApi 15 | @BedrockScriptApiFacade("WorldBeforeEvents", "itemUseOn") 16 | val itemUseOn: BedrockItemUseOnBeforeEvent = BedrockItemUseOnBeforeEvent() 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/bedrock/item/stack/BedrockItemStack.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.bedrock.item.stack 2 | 3 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApi 4 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApiFacade 5 | import net.minecraft.item.ItemStack 6 | import net.minecraft.registry.Registries 7 | 8 | @BedrockScriptApi 9 | @BedrockScriptApiFacade("ItemStack") 10 | class BedrockItemStack(private val delegate: ItemStack) { 11 | val typeId: String get() = typeId() 12 | 13 | private fun typeId(): String = Registries.ITEM.getId(this.delegate.item).toString() 14 | } 15 | 16 | val ItemStack.bedrockItemStack: BedrockItemStack 17 | get() = BedrockItemStack(this) 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/bedrock/system/AbstractBedrockSystem.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.bedrock.system 2 | 3 | import com.github.cao.awa.catheter.receptacle.IntegerReceptacle 4 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApiFacade 5 | 6 | @BedrockScriptApiFacade("System") 7 | abstract class AbstractBedrockSystem { 8 | abstract fun runInterval(callback: () -> Unit, tickInterval: Int): IntegerReceptacle 9 | 10 | abstract fun clearRun(runId: IntegerReceptacle) 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/bedrock/system/task/ConiumTask.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.bedrock.system.task 2 | 3 | class ConiumTask(private val interval: Int = -1, private val action: () -> Unit) { 4 | private var tickingInterval: Int = this.interval 5 | 6 | fun tick() { 7 | if (this.interval == -1) { 8 | this.action() 9 | } else { 10 | if (this.tickingInterval-- == 0) { 11 | this.action() 12 | this.tickingInterval = this.interval 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/bedrock/world/dimension/BedrockDimensionLocation.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.bedrock.world.dimension 2 | 3 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApi 4 | import com.github.cao.awa.conium.annotation.bedrock.BedrockScriptApiFacade 5 | 6 | @BedrockScriptApi 7 | @BedrockScriptApiFacade("DimensionLocation") 8 | class BedrockDimensionLocation 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/block/builder/ConiumBlockBuilder.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.block.builder 2 | 3 | import com.github.cao.awa.conium.block.ConiumBlock 4 | import com.github.cao.awa.conium.block.setting.ConiumBlockSettings 5 | import com.github.cao.awa.conium.block.template.ConiumBlockTemplate 6 | import com.github.cao.awa.conium.template.ConiumBuilderWithTemplates 7 | import net.minecraft.util.Identifier 8 | 9 | abstract class ConiumBlockBuilder(val identifier: Identifier) : ConiumBuilderWithTemplates< 10 | ConiumBlockBuilder, 11 | ConiumBlockSettings, 12 | ConiumBlock, 13 | ConiumBlockTemplate>( 14 | ConiumBlock::create 15 | ) -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/block/template/bedrock/light/ConiumBedrockLightEmissionTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.block.template.bedrock.light 2 | 3 | import com.github.cao.awa.conium.block.template.luminance.ConiumLuminanceTemplate 4 | import com.github.cao.awa.conium.block.template.luminance.ConiumLuminanceTemplate.Companion.validateLuminance 5 | import com.github.cao.awa.conium.template.ConiumTemplates.BedrockBlock.LIGHT_EMISSION 6 | import com.google.gson.JsonElement 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | object ConiumBedrockLightEmissionTemplate { 10 | @JvmStatic 11 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumLuminanceTemplate = ConiumLuminanceTemplate(validateLuminance(element.asInt), LIGHT_EMISSION) 12 | } 13 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/block/template/map/ConiumBedrockMapColorTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.block.template.map 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.block.parseAndFindColor 4 | import com.github.cao.awa.conium.template.ConiumTemplates.BedrockBlock.MAP_COLOR 5 | import com.google.gson.JsonElement 6 | import net.minecraft.registry.RegistryWrapper 7 | 8 | object ConiumBedrockMapColorTemplate { 9 | @JvmStatic 10 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumMapColorTemplate = ConiumMapColorTemplate(parseAndFindColor(element.asString), MAP_COLOR) 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/block/template/mining/ConiumHardnessTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.block.template.mining 2 | 3 | import com.github.cao.awa.conium.block.template.ConiumBlockTemplate 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Block.HARDNESS 5 | import com.google.gson.JsonElement 6 | import net.minecraft.block.AbstractBlock 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumHardnessTemplate(private val hardness: Float, name: String = HARDNESS) : ConiumBlockTemplate(name = name) { 10 | companion object { 11 | @JvmStatic 12 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumHardnessTemplate = ConiumHardnessTemplate(element.asFloat) 13 | } 14 | 15 | override fun settings(settings: AbstractBlock.Settings) { 16 | // Set block hardness. 17 | settings.hardness(this.hardness) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/block/template/velocity/jump/ConiumBlockJumpVelocityTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.block.template.velocity.jump 2 | 3 | import com.github.cao.awa.conium.block.template.velocity.ConiumBlockMovementVelocityTemplate 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Block.JUMP_VELOCITY 5 | import com.google.gson.JsonElement 6 | import net.minecraft.registry.RegistryWrapper 7 | 8 | open class ConiumBlockJumpVelocityTemplate(jumpVelocity: Float) : ConiumBlockMovementVelocityTemplate(1.0F, jumpVelocity, JUMP_VELOCITY) { 9 | companion object { 10 | @JvmStatic 11 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumBlockJumpVelocityTemplate = ConiumBlockJumpVelocityTemplate(element.asFloat) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/block/template/velocity/walk/ConiumBlockWalkVelocityTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.block.template.velocity.walk 2 | 3 | import com.github.cao.awa.conium.block.template.velocity.ConiumBlockMovementVelocityTemplate 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Block.WALK_VELOCITY 5 | import com.google.gson.JsonElement 6 | import net.minecraft.registry.RegistryWrapper 7 | 8 | open class ConiumBlockWalkVelocityTemplate(walkVelocity: Float) : ConiumBlockMovementVelocityTemplate(walkVelocity, 1.0F, WALK_VELOCITY) { 9 | companion object { 10 | @JvmStatic 11 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumBlockWalkVelocityTemplate = ConiumBlockWalkVelocityTemplate(element.asFloat) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/chunk/event/receive/ConiumReceiveChunkEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.chunk.event.receive 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes.WORLD_CHUNK 6 | import net.minecraft.world.chunk.WorldChunk 7 | 8 | class ConiumReceiveChunkEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() { 9 | val worldChunk: WorldChunk = this.context[WORLD_CHUNK] 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/chunk/event/receive/ConiumReceivedChunkEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.chunk.event.receive 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes 6 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes.WORLD_CHUNK 7 | import net.minecraft.world.chunk.WorldChunk 8 | 9 | class ConiumReceivedChunkEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() { 10 | val worldChunk: WorldChunk = this.context[WORLD_CHUNK] 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/client/entity/renderer/ConiumEntityRenderers.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.client.entity.renderer 2 | 3 | import com.github.cao.awa.conium.entity.ConiumEntity 4 | import com.github.cao.awa.sinuatum.util.collection.CollectionFactor 5 | import net.fabricmc.api.EnvType 6 | import net.fabricmc.api.Environment 7 | import net.minecraft.client.render.entity.EntityRendererFactory 8 | import net.minecraft.entity.EntityType 9 | 10 | @Environment(EnvType.CLIENT) 11 | object ConiumEntityRenderers { 12 | @JvmField 13 | val renderers: MutableMap, EntityRendererFactory> = CollectionFactor.hashMap() 14 | 15 | @JvmStatic 16 | fun clearRenderers() = this.renderers.clear() 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/component/value/ConiumValueCreator.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.component.value 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.manipulate.doCast 4 | import com.google.gson.JsonElement 5 | 6 | fun interface ConiumValueCreator { 7 | fun createValue(element: JsonElement): T 8 | 9 | fun castValue(value: X): T { 10 | if (value is JsonElement) { 11 | return createValue(value) 12 | } 13 | return value.doCast() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/ItemPropertyInject.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item 2 | 3 | import com.github.cao.awa.conium.datapack.inject.item.component.ItemPropertyInjectComponent 4 | import com.github.cao.awa.conium.kotlin.extent.manipulate.doCast 5 | import com.google.gson.JsonObject 6 | 7 | @JvmRecord 8 | data class ItemPropertyInject(val target: String, val components: List>) { 9 | companion object { 10 | @JvmStatic 11 | fun generic(target: String, components: List>): ItemPropertyInject = ItemPropertyInject(target, components.doCast()) 12 | 13 | @JvmStatic 14 | fun deserialize(json: JsonObject): ItemPropertyInject = generic(json["target"].asString, ItemPropertyInjectComponent.unverified(json["components"].asJsonArray)) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/action/ItemPropertyInjectAction.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item.action 2 | 3 | enum class ItemPropertyInjectAction { 4 | SET, 5 | SET_PRESET, 6 | MINUS, 7 | ADD, 8 | DIVIDE, 9 | MULTIPLY; 10 | 11 | companion object { 12 | @JvmStatic 13 | fun of(action: String): ItemPropertyInjectAction { 14 | return when (action) { 15 | "set" -> SET 16 | "set_preset" -> SET_PRESET 17 | "minus" -> MINUS 18 | "add" -> ADD 19 | "divide" -> DIVIDE 20 | "multiply" -> MULTIPLY 21 | else -> throw IllegalArgumentException("No that action can be completed: '$action'") 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/action/handler/math/ItemPropertyInjectAddHandler.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item.action.handler.math 2 | 3 | import com.github.cao.awa.conium.datapack.inject.item.action.ItemPropertyInjectAction 4 | import com.github.cao.awa.conium.datapack.inject.item.action.handler.ItemPropertyInjectHandler 5 | import com.github.cao.awa.conium.datapack.inject.item.action.handler.math.typed.NumberHandler 6 | 7 | class ItemPropertyInjectAddHandler : ItemPropertyInjectHandler() { 8 | override fun doHandle(source: T, value: T): T { 9 | if (source is Number && value is Number) { 10 | return NumberHandler.doHandles(source, value, ItemPropertyInjectAction.ADD) 11 | } 12 | return source 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/action/handler/math/ItemPropertyInjectDivideHandler.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item.action.handler.math 2 | 3 | import com.github.cao.awa.conium.datapack.inject.item.action.ItemPropertyInjectAction 4 | import com.github.cao.awa.conium.datapack.inject.item.action.handler.ItemPropertyInjectHandler 5 | import com.github.cao.awa.conium.datapack.inject.item.action.handler.math.typed.NumberHandler 6 | 7 | class ItemPropertyInjectDivideHandler : ItemPropertyInjectHandler() { 8 | override fun doHandle(source: T, value: T): T { 9 | if (source is Number && value is Number) { 10 | return NumberHandler.doHandles(source, value, ItemPropertyInjectAction.DIVIDE) 11 | } 12 | return source 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/action/handler/math/ItemPropertyInjectMinusHandler.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item.action.handler.math 2 | 3 | import com.github.cao.awa.conium.datapack.inject.item.action.ItemPropertyInjectAction 4 | import com.github.cao.awa.conium.datapack.inject.item.action.handler.ItemPropertyInjectHandler 5 | import com.github.cao.awa.conium.datapack.inject.item.action.handler.math.typed.NumberHandler 6 | 7 | class ItemPropertyInjectMinusHandler : ItemPropertyInjectHandler() { 8 | override fun doHandle(source: T, value: T): T { 9 | if (source is Number && value is Number) { 10 | return NumberHandler.doHandles(source, value, ItemPropertyInjectAction.MINUS) 11 | } 12 | return source 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/action/handler/math/ItemPropertyInjectMultiplyHandler.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item.action.handler.math 2 | 3 | import com.github.cao.awa.conium.datapack.inject.item.action.ItemPropertyInjectAction 4 | import com.github.cao.awa.conium.datapack.inject.item.action.handler.ItemPropertyInjectHandler 5 | import com.github.cao.awa.conium.datapack.inject.item.action.handler.math.typed.NumberHandler 6 | 7 | class ItemPropertyInjectMultiplyHandler : ItemPropertyInjectHandler() { 8 | override fun doHandle(source: T, value: T): T { 9 | if (source is Number && value is Number) { 10 | return NumberHandler.doHandles(source, value, ItemPropertyInjectAction.MULTIPLY) 11 | } 12 | return source 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/action/handler/math/typed/BigIntegerNumberHandler.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item.action.handler.math.typed 2 | 3 | import com.github.cao.awa.conium.datapack.inject.item.action.ItemPropertyInjectAction 4 | import java.math.BigInteger 5 | 6 | class BigIntegerNumberHandler : NumberHandler() { 7 | override fun doHandle(first: BigInteger, second: BigInteger, action: ItemPropertyInjectAction): BigInteger { 8 | return when (action) { 9 | ItemPropertyInjectAction.ADD -> first.add(second) 10 | ItemPropertyInjectAction.MINUS -> first.subtract(second) 11 | ItemPropertyInjectAction.DIVIDE -> first.divide(second) 12 | ItemPropertyInjectAction.MULTIPLY -> first.multiply(second) 13 | else -> first 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/action/handler/math/typed/DoubleNumberHandler.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item.action.handler.math.typed 2 | 3 | import com.github.cao.awa.conium.datapack.inject.item.action.ItemPropertyInjectAction 4 | 5 | class DoubleNumberHandler : NumberHandler() { 6 | override fun doHandle(first: Double, second: Double, action: ItemPropertyInjectAction): Double { 7 | return when (action) { 8 | ItemPropertyInjectAction.ADD -> first + second 9 | ItemPropertyInjectAction.MINUS -> first - second 10 | ItemPropertyInjectAction.DIVIDE -> first / second 11 | ItemPropertyInjectAction.MULTIPLY -> first * second 12 | else -> first 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/action/handler/math/typed/FloatNumberHandler.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item.action.handler.math.typed 2 | 3 | import com.github.cao.awa.conium.datapack.inject.item.action.ItemPropertyInjectAction 4 | 5 | class FloatNumberHandler : NumberHandler() { 6 | override fun doHandle(first: Float, second: Float, action: ItemPropertyInjectAction): Float { 7 | return when (action) { 8 | ItemPropertyInjectAction.ADD -> first + second 9 | ItemPropertyInjectAction.MINUS -> first - second 10 | ItemPropertyInjectAction.DIVIDE -> first / second 11 | ItemPropertyInjectAction.MULTIPLY -> first * second 12 | else -> first 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/action/handler/math/typed/IntegerNumberHandler.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item.action.handler.math.typed 2 | 3 | import com.github.cao.awa.conium.datapack.inject.item.action.ItemPropertyInjectAction 4 | 5 | class IntegerNumberHandler : NumberHandler() { 6 | override fun doHandle(first: Int, second: Int, action: ItemPropertyInjectAction): Int { 7 | return when (action) { 8 | ItemPropertyInjectAction.ADD -> first + second 9 | ItemPropertyInjectAction.MINUS -> first - second 10 | ItemPropertyInjectAction.DIVIDE -> first / second 11 | ItemPropertyInjectAction.MULTIPLY -> first * second 12 | else -> first 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/action/handler/math/typed/LongNumberHandler.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item.action.handler.math.typed 2 | 3 | import com.github.cao.awa.conium.datapack.inject.item.action.ItemPropertyInjectAction 4 | 5 | class LongNumberHandler : NumberHandler() { 6 | override fun doHandle(first: Long, second: Long, action: ItemPropertyInjectAction): Long { 7 | return when (action) { 8 | ItemPropertyInjectAction.ADD -> first + second 9 | ItemPropertyInjectAction.MINUS -> first - second 10 | ItemPropertyInjectAction.DIVIDE -> first / second 11 | ItemPropertyInjectAction.MULTIPLY -> first * second 12 | else -> first 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/datapack/inject/item/action/handler/set/ItemPropertyInjectSetHandler.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.datapack.inject.item.action.handler.set 2 | 3 | import com.github.cao.awa.conium.datapack.inject.item.action.handler.ItemPropertyInjectHandler 4 | 5 | class ItemPropertyInjectSetHandler : ItemPropertyInjectHandler() { 6 | override fun doHandle(source: T, value: T): T = value 7 | } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/attribute/ConiumEntityAttributeRegistry.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.attribute 2 | 3 | import com.github.cao.awa.sinuatum.util.collection.CollectionFactor 4 | import net.minecraft.entity.EntityType 5 | import net.minecraft.entity.LivingEntity 6 | import net.minecraft.entity.attribute.DefaultAttributeContainer 7 | 8 | object ConiumEntityAttributeRegistry { 9 | @JvmField 10 | val attributes: MutableMap, DefaultAttributeContainer> = CollectionFactor.hashMap() 11 | 12 | @JvmStatic 13 | fun resetAttributes() = this.attributes.clear() 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/event/fire/extinguish/ConiumEntityExtinguishFireEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.event.fire.extinguish 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes.ENTITY 6 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes.INT 7 | import net.minecraft.entity.Entity 8 | 9 | class ConiumEntityExtinguishFireEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() { 10 | val entity: Entity = this.context[ENTITY] 11 | val leftFireTicks: Int = this.context[INT] 12 | } 13 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/event/fire/extinguish/ConiumEntityExtinguishedFireEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.event.fire.extinguish 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes.ENTITY 6 | import net.minecraft.entity.Entity 7 | 8 | class ConiumEntityExtinguishedFireEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() { 9 | val entity: Entity = this.context[ENTITY] 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/event/sprint/ConiumEntitySprintEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.event.sprint 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes.ENTITY 6 | import net.minecraft.entity.Entity 7 | 8 | class ConiumEntitySprintEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() { 9 | val entity: Entity = this.context[ENTITY] 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/event/sprint/ConiumEntitySprintingEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.event.sprint 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes.ENTITY 6 | import net.minecraft.entity.Entity 7 | 8 | class ConiumEntitySprintingEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() { 9 | val entity: Entity = this.context[ENTITY] 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/event/sprint/ConiumEntityStopSprintEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.event.sprint 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes.ENTITY 6 | import net.minecraft.entity.Entity 7 | 8 | class ConiumEntityStopSprintEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() { 9 | val entity: Entity = this.context[ENTITY] 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/event/tick/ConiumEntityTickEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.event.tick 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes.ENTITY 6 | import net.minecraft.entity.Entity 7 | 8 | class ConiumEntityTickEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() { 9 | val entity: Entity = this.context[ENTITY] 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/event/tick/ConiumEntityTickedEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.event.tick 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes.ENTITY 6 | import net.minecraft.entity.Entity 7 | 8 | class ConiumEntityTickedEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() { 9 | val entity: Entity = this.context[ENTITY] 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/metadata/ConiumEntityMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.metadata 2 | 3 | import com.github.cao.awa.conium.entity.ConiumEntity 4 | import com.github.cao.awa.conium.entity.setting.ConiumEntitySettings 5 | import net.minecraft.entity.EntityType 6 | 7 | class ConiumEntityMetadata( 8 | val type: EntityType, 9 | val settings: ConiumEntitySettings 10 | ) -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/renderer/state/ConiumEntityRenderState.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.renderer.state 2 | 3 | import net.fabricmc.api.EnvType 4 | import net.fabricmc.api.Environment 5 | import net.minecraft.client.render.entity.state.LivingEntityRenderState 6 | 7 | @Environment(EnvType.CLIENT) 8 | class ConiumEntityRenderState : LivingEntityRenderState() -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/setting/ConiumEntitySettings.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.setting 2 | 3 | import com.github.cao.awa.conium.entity.ConiumEntity 4 | import com.github.cao.awa.conium.entity.template.ConiumEntityTemplate 5 | import net.minecraft.entity.EntityType 6 | 7 | class ConiumEntitySettings : ConiumAbstractEntitySettings() { 8 | companion object { 9 | @JvmStatic 10 | fun create(templates: MutableList, type: EntityType.Builder): ConiumEntitySettings { 11 | return ConiumEntitySettings().also { 12 | templates.forEach { template -> 13 | template.prepare(ConiumEntitySettingsWithTypeBuilder(type, it)) 14 | } 15 | } 16 | } 17 | } 18 | 19 | override fun newInstance(): ConiumEntitySettings = ConiumEntitySettings() 20 | } 21 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/setting/ConiumEntitySettingsWithTypeBuilder.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.setting 2 | 3 | import com.github.cao.awa.conium.entity.ConiumEntity 4 | import net.minecraft.entity.EntityType 5 | 6 | class ConiumEntitySettingsWithTypeBuilder(val builder: EntityType.Builder, val settings: ConiumEntitySettings) 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/entity/template/bedrock/pushable/ConiumBedrockEntityPushableTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.entity.template.bedrock.pushable 2 | 3 | import com.github.cao.awa.conium.entity.template.pushable.ConiumEntityPushableTemplate 4 | import com.github.cao.awa.conium.template.ConiumTemplates.BedrockEntity.PUSHABLE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.registry.RegistryWrapper 7 | 8 | object ConiumBedrockEntityPushableTemplate { 9 | @JvmStatic 10 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumEntityPushableTemplate = ConiumEntityPushableTemplate.create(element, registryLookup, PUSHABLE) 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/event/context/ConiumArgOnlyEventContext.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.event.context 2 | 3 | open class ConiumArgOnlyEventContext : ConiumEventContext() { 4 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/event/metadata/ConiumEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.event.metadata 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | 5 | abstract class ConiumEventMetadata: ConiumEventContext( 6 | 7 | ) { 8 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/event/trigger/ConiumEventTrigger.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.event.trigger 2 | 3 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 4 | 5 | data class ConiumEventTrigger( 6 | val callback: (M) -> Unit, 7 | val targetIdentity: (Any?) -> Boolean 8 | ) 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/feature/ConiumFeatureRegister.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.feature 2 | 3 | import net.minecraft.util.Identifier 4 | 5 | abstract class ConiumFeatureRegister { 6 | companion object { 7 | @JvmField 8 | var IMPL: ConiumFeatureRegister = object : ConiumFeatureRegister() { 9 | override fun placedFeature(id: Identifier?) { 10 | // Nothing here. 11 | } 12 | } 13 | } 14 | 15 | abstract fun placedFeature(id: Identifier?) 16 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/Consumer1.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer 2 | 3 | import java.util.function.Consumer 4 | 5 | @FunctionalInterface 6 | fun interface Consumer1 : Consumer 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/Consumer2.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer 2 | 3 | import java.util.function.BiConsumer 4 | 5 | @FunctionalInterface 6 | fun interface Consumer2 : BiConsumer 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/Consumer3.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer 2 | 3 | import org.apache.logging.log4j.util.TriConsumer 4 | 5 | @FunctionalInterface 6 | fun interface Consumer3 : TriConsumer 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/Consumer4.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer 2 | 3 | @FunctionalInterface 4 | fun interface Consumer4 { 5 | fun accept(i1: I1, i2: I2, i3: I3, i4: I4) 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/Consumer5.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer 2 | 3 | @FunctionalInterface 4 | fun interface Consumer5 { 5 | fun accept(i1: I1, i2: I2, i3: I3, i4: I4, i5: I5) 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/Consumer6.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer 2 | 3 | @FunctionalInterface 4 | fun interface Consumer6 { 5 | fun accept(i1: I1, i2: I2, i3: I3, i4: I4, i5: I5, i6: I6) 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/Consumer7.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer 2 | 3 | @FunctionalInterface 4 | fun interface Consumer7 { 5 | fun accept(i1: I1, i2: I2, i3: I3, i4: I4, i5: I5, i6: I6, i7: I7) 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/obj/OConsumer1.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer1 4 | 5 | @FunctionalInterface 6 | fun interface OConsumer1 : Consumer1 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/obj/OConsumer2.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer2 4 | 5 | @FunctionalInterface 6 | fun interface OConsumer2 : Consumer2 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/obj/OConsumer3.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer3 4 | 5 | @FunctionalInterface 6 | fun interface OConsumer3 : Consumer3 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/obj/OConsumer4.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer4 4 | 5 | @FunctionalInterface 6 | fun interface OConsumer4 : Consumer4 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/obj/OConsumer5.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer5 4 | 5 | @FunctionalInterface 6 | fun interface OConsumer5 : Consumer5 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/obj/OConsumer6.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer6 4 | 5 | @FunctionalInterface 6 | fun interface OConsumer6 : Consumer6 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/string/obj/StrObjConsumer1.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.string.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer2 4 | 5 | @FunctionalInterface 6 | fun interface StrObjConsumer1 : Consumer2 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/string/obj/StrObjConsumer2.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.string.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer3 4 | 5 | @FunctionalInterface 6 | fun interface StrObjConsumer2 : Consumer3 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/string/obj/StrObjConsumer3.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.string.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer4 4 | 5 | @FunctionalInterface 6 | fun interface StrObjConsumer3 : Consumer4 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/string/obj/StrObjConsumer4.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.string.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer5 4 | 5 | @FunctionalInterface 6 | fun interface StrObjConsumer4 : Consumer5 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/string/obj/StrObjConsumer5.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.string.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer6 4 | 5 | @FunctionalInterface 6 | fun interface StrObjConsumer5 : Consumer6 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/function/consumer/string/obj/StrObjConsumer6.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.function.consumer.string.obj 2 | 3 | import com.github.cao.awa.conium.function.consumer.Consumer7 4 | 5 | @FunctionalInterface 6 | fun interface StrObjConsumer6 : Consumer7 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/builder/ConiumItemBuilder.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.builder 2 | 3 | import com.github.cao.awa.conium.item.ConiumItem 4 | import com.github.cao.awa.conium.item.setting.ConiumItemSettings 5 | import com.github.cao.awa.conium.item.template.ConiumItemTemplate 6 | import com.github.cao.awa.conium.template.ConiumBuilderWithTemplates 7 | import net.minecraft.util.Identifier 8 | 9 | abstract class ConiumItemBuilder(val identifier: Identifier) : ConiumBuilderWithTemplates< 10 | ConiumItemBuilder, 11 | ConiumItemSettings, 12 | ConiumItem, 13 | ConiumItemTemplate>( 14 | ConiumItem::create 15 | ) 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/event/ConiumItemEvent.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.event 2 | 3 | import com.github.cao.awa.conium.event.ConiumEvent 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | import com.github.cao.awa.conium.event.type.ConiumEventType 6 | import com.github.cao.awa.conium.parameter.ParameterSelective 7 | import net.minecraft.item.Item 8 | 9 | abstract class ConiumItemEvent

( 10 | eventType: ConiumEventType 11 | ) : ConiumEvent(eventType) 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/fuel/ConiumFuelTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.fuel 2 | 3 | import com.github.cao.awa.conium.Conium 4 | import com.github.cao.awa.conium.item.ConiumItem 5 | import com.github.cao.awa.conium.item.template.ConiumItemTemplate 6 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.FUEL 7 | import com.google.gson.JsonElement 8 | import net.minecraft.registry.RegistryWrapper 9 | 10 | class ConiumFuelTemplate(private val duration: Int, name: String = FUEL) : ConiumItemTemplate(name = name) { 11 | companion object { 12 | @JvmStatic 13 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumFuelTemplate = ConiumFuelTemplate(element.asInt) 14 | } 15 | 16 | override fun complete(target: ConiumItem) { 17 | Conium.coniumItemManager!!.addFuel(target, this.duration) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/rarity/epic/ConiumCommonRarityTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.rarity.epic 2 | 3 | import com.github.cao.awa.conium.item.template.rarity.ConiumRarityTemplate 4 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 5 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.COMMON_RARITY 6 | import com.google.gson.JsonElement 7 | import net.minecraft.registry.RegistryWrapper 8 | import net.minecraft.util.Rarity 9 | 10 | class ConiumCommonRarityTemplate : ConiumRarityTemplate(Rarity.COMMON, COMMON_RARITY) { 11 | companion object { 12 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumCommonRarityTemplate = element.createIfJsonObject(::ConiumCommonRarityTemplate, notSupported())!! 13 | } 14 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/rarity/epic/ConiumEpicRarityTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.rarity.epic 2 | 3 | import com.github.cao.awa.conium.item.template.rarity.ConiumRarityTemplate 4 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 5 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.EPIC_RARITY 6 | import com.google.gson.JsonElement 7 | import net.minecraft.registry.RegistryWrapper 8 | import net.minecraft.util.Rarity 9 | 10 | class ConiumEpicRarityTemplate : ConiumRarityTemplate(Rarity.EPIC, EPIC_RARITY) { 11 | companion object { 12 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumEpicRarityTemplate = element.createIfJsonObject(::ConiumEpicRarityTemplate, notSupported())!! 13 | } 14 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/rarity/epic/ConiumRareRarityTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.rarity.epic 2 | 3 | import com.github.cao.awa.conium.item.template.rarity.ConiumRarityTemplate 4 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 5 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.RARE_RARITY 6 | import com.google.gson.JsonElement 7 | import net.minecraft.registry.RegistryWrapper 8 | import net.minecraft.util.Rarity 9 | 10 | class ConiumRareRarityTemplate : ConiumRarityTemplate(Rarity.RARE, RARE_RARITY) { 11 | companion object { 12 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumRareRarityTemplate = element.createIfJsonObject(::ConiumRareRarityTemplate, notSupported())!! 13 | } 14 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/rarity/epic/ConiumUncommonRarityTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.rarity.epic 2 | 3 | import com.github.cao.awa.conium.item.template.rarity.ConiumRarityTemplate 4 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 5 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.UNCOMMON_RARITY 6 | import com.google.gson.JsonElement 7 | import net.minecraft.registry.RegistryWrapper 8 | import net.minecraft.util.Rarity 9 | 10 | class ConiumUncommonRarityTemplate : ConiumRarityTemplate(Rarity.UNCOMMON, UNCOMMON_RARITY) { 11 | companion object { 12 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumUncommonRarityTemplate = element.createIfJsonObject(::ConiumUncommonRarityTemplate, notSupported())!! 13 | } 14 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/stack/count/ConiumStackMaxCountTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.stack.count 2 | 3 | import com.github.cao.awa.conium.item.template.ConiumItemTemplate 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.STACK_MAX_COUNT 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.Item 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumStackMaxCountTemplate(private val stackMaxCount: Int) : ConiumItemTemplate(name = STACK_MAX_COUNT) { 10 | companion object { 11 | @JvmStatic 12 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumStackMaxCountTemplate = ConiumStackMaxCountTemplate(validateStackSize(element.asInt)) 13 | } 14 | 15 | override fun settings(settings: Item.Settings) { 16 | // Set stack max count. 17 | settings.maxCount(this.stackMaxCount) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/axe/ConiumItemDiamondAxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.axe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.DIAMOND_AXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemDiamondAxeTemplate : ConiumItemAxeTemplate( 10 | ToolMaterial.DIAMOND, 11 | 5.0F, 12 | -3.0F, 13 | name = DIAMOND_AXE, 14 | ) { 15 | companion object { 16 | @JvmStatic 17 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemDiamondAxeTemplate = element.createIfJsonObject(::ConiumItemDiamondAxeTemplate, notSupported())!! 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/axe/ConiumItemGoldenAxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.axe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.GOLDEN_AXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemGoldenAxeTemplate : ConiumItemAxeTemplate( 10 | ToolMaterial.GOLD, 11 | 6.0F, 12 | -3.0F, 13 | name = GOLDEN_AXE 14 | ) { 15 | companion object { 16 | @JvmStatic 17 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemGoldenAxeTemplate = element.createIfJsonObject(::ConiumItemGoldenAxeTemplate, notSupported())!! 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/axe/ConiumItemIronAxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.axe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.IRON_AXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemIronAxeTemplate : ConiumItemAxeTemplate( 10 | ToolMaterial.IRON, 11 | 6.0F, 12 | -3.1F, 13 | name = IRON_AXE 14 | ) { 15 | companion object { 16 | @JvmStatic 17 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemIronAxeTemplate = element.createIfJsonObject(::ConiumItemIronAxeTemplate, notSupported())!! 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/axe/ConiumItemNetheriteAxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.axe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.NETHERITE_AXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemNetheriteAxeTemplate : ConiumItemAxeTemplate( 10 | ToolMaterial.NETHERITE, 11 | 5F, 12 | -3.0F, 13 | name = NETHERITE_AXE 14 | ) { 15 | companion object { 16 | @JvmStatic 17 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemNetheriteAxeTemplate = element.createIfJsonObject(::ConiumItemNetheriteAxeTemplate, notSupported())!! 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/axe/ConiumItemStoneAxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.axe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.STONE_AXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemStoneAxeTemplate : ConiumItemAxeTemplate( 10 | ToolMaterial.STONE, 11 | 7.0F, 12 | -3.2F, 13 | name = STONE_AXE, 14 | ) { 15 | companion object { 16 | @JvmStatic 17 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemStoneAxeTemplate = element.createIfJsonObject(::ConiumItemStoneAxeTemplate, notSupported())!! 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/axe/ConiumItemWoodenAxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.axe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.WOODEN_AXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemWoodenAxeTemplate : ConiumItemAxeTemplate( 10 | ToolMaterial.WOOD, 11 | 6.0F, 12 | -3.2F, 13 | name = WOODEN_AXE 14 | ) { 15 | companion object { 16 | @JvmStatic 17 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemWoodenAxeTemplate = element.createIfJsonObject(::ConiumItemWoodenAxeTemplate, notSupported())!! 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/pickaxe/ConiumItemDiamondPickaxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.pickaxe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.DIAMOND_PICKAXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemDiamondPickaxeTemplate : ConiumItemPickaxeTemplate( 10 | ToolMaterial.DIAMOND, 11 | name = DIAMOND_PICKAXE, 12 | ) { 13 | companion object { 14 | @JvmStatic 15 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemDiamondPickaxeTemplate = element.createIfJsonObject(::ConiumItemDiamondPickaxeTemplate, notSupported())!! 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/pickaxe/ConiumItemGoldenPickaxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.pickaxe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.GOLDEN_PICKAXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemGoldenPickaxeTemplate : ConiumItemPickaxeTemplate( 10 | ToolMaterial.GOLD, 11 | name = GOLDEN_PICKAXE 12 | ) { 13 | companion object { 14 | @JvmStatic 15 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemGoldenPickaxeTemplate = element.createIfJsonObject(::ConiumItemGoldenPickaxeTemplate, notSupported())!! 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/pickaxe/ConiumItemIronPickaxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.pickaxe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.IRON_PICKAXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemIronPickaxeTemplate : ConiumItemPickaxeTemplate( 10 | ToolMaterial.IRON, 11 | name = IRON_PICKAXE, 12 | ) { 13 | companion object { 14 | @JvmStatic 15 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemIronPickaxeTemplate = element.createIfJsonObject(::ConiumItemIronPickaxeTemplate, notSupported())!! 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/pickaxe/ConiumItemNetheritePickaxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.pickaxe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.NETHERITE_PICKAXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemNetheritePickaxeTemplate : ConiumItemPickaxeTemplate( 10 | ToolMaterial.NETHERITE, 11 | name = NETHERITE_PICKAXE 12 | ) { 13 | companion object { 14 | @JvmStatic 15 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemNetheritePickaxeTemplate = element.createIfJsonObject(::ConiumItemNetheritePickaxeTemplate, notSupported())!! 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/pickaxe/ConiumItemStonePickaxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.pickaxe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.STONE_PICKAXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemStonePickaxeTemplate : ConiumItemPickaxeTemplate( 10 | ToolMaterial.STONE, 11 | name = STONE_PICKAXE, 12 | ) { 13 | companion object { 14 | @JvmStatic 15 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemStonePickaxeTemplate = element.createIfJsonObject(::ConiumItemStonePickaxeTemplate, notSupported())!! 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/item/template/tool/pickaxe/ConiumItemWoodenPickaxeTemplate.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.item.template.tool.pickaxe 2 | 3 | import com.github.cao.awa.conium.kotlin.extent.json.createIfJsonObject 4 | import com.github.cao.awa.conium.template.ConiumTemplates.Item.WOODEN_PICKAXE 5 | import com.google.gson.JsonElement 6 | import net.minecraft.item.ToolMaterial 7 | import net.minecraft.registry.RegistryWrapper 8 | 9 | class ConiumItemWoodenPickaxeTemplate : ConiumItemPickaxeTemplate( 10 | ToolMaterial.WOOD, 11 | name = WOODEN_PICKAXE 12 | ) { 13 | companion object { 14 | @JvmStatic 15 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumItemWoodenPickaxeTemplate = element.createIfJsonObject(::ConiumItemWoodenPickaxeTemplate, notSupported())!! 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/kotlin/extent/item/ConiumArmorKotlinExtends.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.kotlin.extent.item 2 | 3 | import net.minecraft.item.equipment.EquipmentType 4 | import net.minecraft.util.Identifier 5 | 6 | val EquipmentType.identifier: Identifier get() = Identifier.ofVanilla("armor." + asString()) 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/kotlin/extent/item/ConiumItemStackKotlinExtents.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.kotlin.extent.item 2 | 3 | import net.minecraft.component.MergedComponentMap 4 | import net.minecraft.item.ItemStack 5 | 6 | val ItemStack.mergedComponents: MergedComponentMap? get() = this.components as? MergedComponentMap -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/kotlin/extent/manipulate/ConiumManipulateKotlinExtends.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.kotlin.extent.manipulate 2 | 3 | import com.github.cao.awa.sinuatum.function.ecception.consumer.ExceptingConsumer 4 | import com.github.cao.awa.sinuatum.function.ecception.function.ExceptingFunction 5 | import com.github.cao.awa.sinuatum.manipulate.Manipulate 6 | 7 | fun X.op(function: ExceptingFunction) = Manipulate.op(this, function) 8 | 9 | fun X.make(function: ExceptingConsumer) = Manipulate.make(this, function) 10 | 11 | fun X.doCast(): R = Manipulate.cast(this) 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/kotlin/extent/recipe/ConiumRecipeTypeKotlinExtends.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.kotlin.extent.recipe 2 | 3 | import net.minecraft.recipe.RecipeType 4 | 5 | val RecipeType<*>.coniumName: String 6 | get() = when (this) { 7 | RecipeType.SMELTING -> "smelting" 8 | RecipeType.BLASTING -> "blasting" 9 | RecipeType.SMOKING -> "smoking" 10 | RecipeType.CAMPFIRE_COOKING -> "campfire" 11 | else -> "" 12 | } 13 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/kotlin/extent/registry/ConiumRegistryEntryKotlinExtends.kt: -------------------------------------------------------------------------------- 1 | @file:Suppress("UNCHECKED_CAST") 2 | 3 | package com.github.cao.awa.conium.kotlin.extent.registry 4 | 5 | import com.github.cao.awa.conium.mixin.registry.RegistryEntryReferenceAccessor 6 | import com.github.cao.awa.sinuatum.util.collection.CollectionFactor 7 | import net.minecraft.registry.entry.RegistryEntry 8 | import net.minecraft.registry.tag.TagKey 9 | 10 | // Access tags in reference registry entry. 11 | var RegistryEntry.Reference.tags: Set> 12 | // Get or create the tags. 13 | get() = (this as RegistryEntryReferenceAccessor).tags ?: CollectionFactor.hashSet() 14 | // Set the tags. 15 | set(value) = (this as RegistryEntryReferenceAccessor).tags(value) 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/kotlin/extent/world/ConiumWorldKotlinExtends.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.kotlin.extent.world 2 | 3 | import net.minecraft.server.command.ServerCommandSource 4 | import net.minecraft.server.network.ServerPlayerEntity 5 | import net.minecraft.server.world.ServerWorld 6 | 7 | fun ServerWorld.executeCommand(player: ServerPlayerEntity, command: String) { 8 | val commandSource: ServerCommandSource = player.commandSource 9 | 10 | this.server.commandManager.executeWithPrefix( 11 | commandSource, 12 | command 13 | ) 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mapping/yarn/reference/YarnBlock.kt: -------------------------------------------------------------------------------- 1 | @file:Suppress("unused") 2 | @file:Remap 3 | 4 | package com.github.cao.awa.conium.mapping.yarn.reference 5 | 6 | import com.github.cao.awa.conium.annotation.mapping.Remap 7 | import com.github.cao.awa.conium.mapping.yarn.* 8 | 9 | /** 10 | * See the mapping [Block](https://mappings.dev/1.21.4/net/minecraft/world/level/block/Block.html). 11 | * 12 | * @author cao_awa 13 | * 14 | * @since 1.0.0 15 | */ 16 | 17 | val Block.name: Text by Block::name 18 | val Block.blastResistance: Float by Block::blastResistance 19 | val Block.defaultState: BlockState by Block::defaultState 20 | val Block.jumpVelocityMultiplier: Float by Block::jumpVelocityMultiplier 21 | val Block.slipperiness: Float by Block::slipperiness 22 | val Block.stateManager: StateManager by Block::stateManager 23 | val Block.velocityMultiplier: Float by Block::velocityMultiplier 24 | 25 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mapping/yarn/reference/YarnItemConvertable.kt: -------------------------------------------------------------------------------- 1 | @file:Suppress("unused") 2 | @file:Remap 3 | 4 | package com.github.cao.awa.conium.mapping.yarn.reference 5 | 6 | import com.github.cao.awa.conium.annotation.mapping.Remap 7 | import com.github.cao.awa.conium.mapping.yarn.* 8 | import net.minecraft.item.Item 9 | import net.minecraft.item.ItemConvertible 10 | 11 | /** 12 | * See the mapping [ItemConvertible](https://mappings.dev/1.21.4/net/minecraft/world/level/ItemLike.html). 13 | * 14 | * @author cao_awa 15 | * 16 | * @since 1.0.0 17 | */ 18 | 19 | fun ItemConvertible.asItem(): Item = this.asItem() -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mapping/yarn/reference/YarnToggleableFeature.kt: -------------------------------------------------------------------------------- 1 | @file:Suppress("unused") 2 | @file:Remap 3 | 4 | package com.github.cao.awa.conium.mapping.yarn.reference 5 | 6 | import com.github.cao.awa.conium.annotation.mapping.Remap 7 | import com.github.cao.awa.conium.mapping.yarn.* 8 | import net.minecraft.resource.featuretoggle.ToggleableFeature 9 | 10 | /** 11 | * See the mapping [ToggleableFeature](https://mappings.dev/1.21.4/net/minecraft/world/flag/FeatureElement.html). 12 | * 13 | * @author cao_awa 14 | * 15 | * @since 1.0.0 16 | */ 17 | 18 | val ToggleableFeature.requiredFeatures: FeatureSet by ToggleableFeature::requiredFeatures -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/block/AbstractBlockMixin.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.block; 2 | 3 | import net.minecraft.block.AbstractBlock; 4 | import net.minecraft.block.BlockState; 5 | import net.minecraft.entity.player.PlayerEntity; 6 | import net.minecraft.util.ActionResult; 7 | import net.minecraft.util.hit.BlockHitResult; 8 | import net.minecraft.util.math.BlockPos; 9 | import net.minecraft.world.World; 10 | import org.spongepowered.asm.mixin.Mixin; 11 | import org.spongepowered.asm.mixin.gen.Invoker; 12 | 13 | @Mixin(AbstractBlock.class) 14 | public interface AbstractBlockMixin { 15 | @Invoker("onUse") 16 | ActionResult invokeOnUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit); 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/block/BlockMixin.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.block; 2 | 3 | import net.minecraft.block.Block; 4 | import org.spongepowered.asm.mixin.Mixin; 5 | 6 | @Mixin(Block.class) 7 | public class BlockMixin { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/client/MinecraftClientAccessor.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.client; 2 | 3 | import net.minecraft.client.MinecraftClient; 4 | import net.minecraft.resource.ReloadableResourceManagerImpl; 5 | import org.spongepowered.asm.mixin.Mixin; 6 | import org.spongepowered.asm.mixin.gen.Accessor; 7 | 8 | @Mixin(MinecraftClient.class) 9 | public interface MinecraftClientAccessor { 10 | @Accessor("resourceManager") 11 | ReloadableResourceManagerImpl resourceManager(); 12 | } 13 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/component/map/builder/ComponentMapBuilderAccessor.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.component.map.builder; 2 | 3 | import it.unimi.dsi.fastutil.objects.Reference2ObjectMap; 4 | import net.minecraft.component.ComponentMap; 5 | import net.minecraft.component.ComponentType; 6 | import org.spongepowered.asm.mixin.Mixin; 7 | import org.spongepowered.asm.mixin.gen.Accessor; 8 | 9 | @Mixin(ComponentMap.Builder.class) 10 | public interface ComponentMapBuilderAccessor { 11 | @Accessor 12 | Reference2ObjectMap, Object> getComponents(); 13 | } 14 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/entity/EntityAccessor.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.entity; 2 | 3 | import net.minecraft.entity.Entity; 4 | import net.minecraft.entity.EntityDimensions; 5 | import org.spongepowered.asm.mixin.Mixin; 6 | import org.spongepowered.asm.mixin.gen.Accessor; 7 | 8 | @Mixin(Entity.class) 9 | public interface EntityAccessor { 10 | @Accessor("dimensions") 11 | EntityDimensions dimensions(); 12 | 13 | @Accessor("dimensions") 14 | void dimensions(EntityDimensions dimensions); 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/entity/living/LivingEntityAccessor.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.entity.living; 2 | 3 | import net.minecraft.entity.LivingEntity; 4 | import net.minecraft.entity.attribute.EntityAttributeModifier; 5 | import org.spongepowered.asm.mixin.Mixin; 6 | import org.spongepowered.asm.mixin.gen.Accessor; 7 | 8 | @Mixin(LivingEntity.class) 9 | public abstract class LivingEntityAccessor { 10 | @Accessor("SPRINTING_SPEED_BOOST") 11 | public static EntityAttributeModifier getAttributeSprintingSpeedBoost() { 12 | throw new AssertionError(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/item/ItemMixin.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.item; 2 | 3 | import net.minecraft.item.Item; 4 | import org.spongepowered.asm.mixin.Mixin; 5 | 6 | @Mixin(Item.class) 7 | public class ItemMixin { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/item/setting/ItemSettingsAccessor.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.item.setting; 2 | 3 | import net.minecraft.component.ComponentMap; 4 | import net.minecraft.item.Item; 5 | import org.spongepowered.asm.mixin.Mixin; 6 | import org.spongepowered.asm.mixin.gen.Accessor; 7 | 8 | @Mixin(Item.Settings.class) 9 | public interface ItemSettingsAccessor { 10 | @Accessor 11 | ComponentMap.Builder getComponents(); 12 | } 13 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/recipe/property/RecipePropertySetAccessor.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.recipe.property; 2 | 3 | import net.minecraft.recipe.Ingredient; 4 | import net.minecraft.recipe.RecipePropertySet; 5 | import org.spongepowered.asm.mixin.Mixin; 6 | import org.spongepowered.asm.mixin.gen.Invoker; 7 | 8 | import java.util.Collection; 9 | 10 | @Mixin(RecipePropertySet.class) 11 | public interface RecipePropertySetAccessor { 12 | @Invoker("of") 13 | static RecipePropertySet of(Collection ingredients) { 14 | throw new AssertionError(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/registry/NamedRegistryEntryListMixin.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.registry; 2 | 3 | import net.minecraft.registry.entry.RegistryEntry; 4 | import net.minecraft.registry.entry.RegistryEntryList; 5 | import org.spongepowered.asm.mixin.Mixin; 6 | import org.spongepowered.asm.mixin.gen.Invoker; 7 | 8 | import java.util.List; 9 | 10 | @Mixin(RegistryEntryList.Named.class) 11 | public interface NamedRegistryEntryListMixin { 12 | @Invoker 13 | void invokeSetEntries(List> entries); 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/registry/RegistryEntryReferenceAccessor.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.registry; 2 | 3 | import net.minecraft.registry.RegistryKey; 4 | import net.minecraft.registry.entry.RegistryEntry; 5 | import net.minecraft.registry.tag.TagKey; 6 | import org.spongepowered.asm.mixin.Mixin; 7 | import org.spongepowered.asm.mixin.gen.Accessor; 8 | import org.spongepowered.asm.mixin.gen.Invoker; 9 | 10 | import java.util.Collection; 11 | import java.util.Set; 12 | 13 | @Mixin(RegistryEntry.Reference.class) 14 | public interface RegistryEntryReferenceAccessor { 15 | @Invoker("setRegistryKey") 16 | void registryKey(RegistryKey registryKey); 17 | 18 | @Accessor("tags") 19 | Set> getTags(); 20 | 21 | @Invoker("setTags") 22 | void tags(Collection> tags); 23 | 24 | @Invoker("setValue") 25 | void value(T value); 26 | } 27 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/world/WorldAccessor.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.world; 2 | 3 | import net.minecraft.entity.Entity; 4 | import net.minecraft.world.World; 5 | import net.minecraft.world.entity.EntityLookup; 6 | import org.spongepowered.asm.mixin.Mixin; 7 | import org.spongepowered.asm.mixin.gen.Invoker; 8 | 9 | @Mixin(World.class) 10 | public interface WorldAccessor { 11 | @Invoker("getEntityLookup") 12 | EntityLookup getWorldEntityLookup(); 13 | @Invoker("canHaveWeather") 14 | boolean canWorldHaveWeather(); 15 | @Invoker("initWeatherGradients") 16 | void initWorldWeatherGradients(); 17 | @Invoker("tickBlockEntities") 18 | void tickWorldBlockEntities(); 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/mixin/world/renderer/WorldRendererMixin.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.mixin.world.renderer; 2 | 3 | import net.minecraft.client.render.WorldRenderer; 4 | import org.spongepowered.asm.mixin.Mixin; 5 | 6 | @Mixin(WorldRenderer.class) 7 | public class WorldRendererMixin { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/network/event/ConiumServerConfigurationConnectionEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.network.event 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | import com.github.cao.awa.conium.event.type.ConiumEventArgTypes.SERVER_CONFIGURATION_NETWORK_HANDLER 6 | import com.github.cao.awa.conium.script.index.SERVER 7 | import net.minecraft.server.MinecraftServer 8 | import net.minecraft.server.network.ServerConfigurationNetworkHandler 9 | 10 | class ConiumServerConfigurationConnectionEventMetadata(val context: ConiumEventContext): ConiumEventMetadata() { 11 | val serverConfigurationNetworkHandler: ServerConfigurationNetworkHandler = this.context[SERVER_CONFIGURATION_NETWORK_HANDLER] 12 | val server: MinecraftServer = this.context[SERVER] 13 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/network/packet/client/ConiumClientPacket.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.network.packet.client 2 | 3 | import com.github.cao.awa.conium.network.ConiumPacket 4 | import net.minecraft.client.MinecraftClient 5 | import net.minecraft.client.network.ClientPlayerEntity 6 | import net.minecraft.network.packet.CustomPayload.Id 7 | import net.minecraft.network.packet.s2c.common.CustomPayloadS2CPacket 8 | 9 | abstract class ConiumClientPacket(identifier: Id) : ConiumPacket(identifier) { 10 | override fun createPacket(): CustomPayloadS2CPacket = CustomPayloadS2CPacket(this) 11 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/network/packet/sender/PacketSender.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.network.packet.sender 2 | 3 | import net.minecraft.network.packet.Packet 4 | 5 | class PacketSender(val sender: (Packet<*>) -> Unit) { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/network/packet/server/ConiumServerPacket.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.network.packet.server 2 | 3 | import com.github.cao.awa.conium.network.ConiumPacket 4 | import net.minecraft.network.packet.CustomPayload.Id 5 | import net.minecraft.network.packet.c2s.common.CustomPayloadC2SPacket 6 | import net.minecraft.server.MinecraftServer 7 | import net.minecraft.server.network.ServerPlayerEntity 8 | 9 | abstract class ConiumServerPacket(identifier: Id) : ConiumPacket(identifier) { 10 | override fun createPacket(): CustomPayloadC2SPacket = CustomPayloadC2SPacket(this) 11 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/parameter/DynamicArgType.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.parameter 2 | 3 | class DynamicArgType(val key: String, vararg val dynamicArgs: DynamicArgs<*, T?>?) -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/parameter/ParameterSelective.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.parameter 2 | 3 | /** 4 | * The parameter selectable and arise-able interface, that contract some arguments and let context arises. 5 | * 6 | * @see DynamicArgs 7 | * @see DynamicArgType 8 | * @see DynamicArgsBuilder 9 | * @see DynamicArgsLifecycle 10 | * @see ParameterSelective0 11 | * @see ParameterSelective1 12 | * @see ParameterSelective2 13 | * @see ParameterSelective3 14 | * @see ParameterSelective4 15 | * @see ParameterSelective5 16 | * @see ParameterSelective6 17 | * @see ParameterSelective7 18 | * @see ParameterSelective8 19 | * 20 | * @author cao_awa 21 | * 22 | * @since 1.0.0 23 | */ 24 | interface ParameterSelective -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/parameter/ParameterSelective0.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.parameter 2 | 3 | @FunctionalInterface 4 | fun interface ParameterSelective0 : ParameterSelective { 5 | fun arise(): R 6 | 7 | operator fun invoke() = arise() 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/parameter/ParameterSelective1.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.parameter 2 | 3 | @FunctionalInterface 4 | fun interface ParameterSelective1 : ParameterSelective { 5 | fun arise(p1: P): R 6 | 7 | operator fun invoke(p1: P) = arise(p1) 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/parameter/ParameterSelective2.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.parameter 2 | 3 | @FunctionalInterface 4 | fun interface ParameterSelective2 : ParameterSelective { 5 | fun arise(p1: P1, p2: P2): R 6 | 7 | operator fun invoke(p1: P1, p2: P2) = arise(p1, p2) 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/parameter/ParameterSelective3.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.parameter 2 | 3 | @FunctionalInterface 4 | fun interface ParameterSelective3 : ParameterSelective { 5 | fun arise(p1: P1, p2: P2, p3: P3): R 6 | 7 | operator fun invoke(p1: P1, p2: P2, p3: P3) = arise(p1, p2, p3) 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/parameter/ParameterSelective4.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.parameter 2 | 3 | @FunctionalInterface 4 | fun interface ParameterSelective4 : ParameterSelective { 5 | fun arise(p1: P1, p2: P2, p3: P3, p4: P4): R 6 | 7 | operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4) = arise(p1, p2, p3, p4) 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/parameter/ParameterSelective5.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.parameter 2 | 3 | @FunctionalInterface 4 | fun interface ParameterSelective5 : ParameterSelective { 5 | fun arise(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5): R 6 | 7 | operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5) = arise(p1, p2, p3, p4, p5) 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/parameter/ParameterSelective6.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.parameter 2 | 3 | @FunctionalInterface 4 | fun interface ParameterSelective6 : ParameterSelective { 5 | fun arise(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6): R 6 | 7 | operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6) = arise(p1, p2, p3, p4, p5, p6) 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/parameter/ParameterSelective7.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.parameter 2 | 3 | @FunctionalInterface 4 | fun interface ParameterSelective7 : ParameterSelective { 5 | fun arise(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7): R 6 | 7 | operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7) = arise(p1, p2, p3, p4, p5, p6, p7) 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/parameter/ParameterSelective8.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.parameter 2 | 3 | @FunctionalInterface 4 | fun interface ParameterSelective8 : ParameterSelective { 5 | fun arise(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8): R 6 | 7 | operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8) = arise(p1, p2, p3, p4, p5, p6, p7, p8) 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/random/ConiumRandom.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.random 2 | 3 | import com.github.cao.awa.conium.item.template.durability.ConiumDurabilityTemplate 4 | import java.util.* 5 | import net.minecraft.util.math.random.Random as MinecraftRandom 6 | 7 | object ConiumRandom { 8 | val RANDOM: Random = Random() 9 | 10 | @JvmStatic 11 | fun tryChance(chance: IntRange, random: MinecraftRandom): Boolean = chance === ConiumDurabilityTemplate.defaultChance || random.nextBetween(chance.first, chance.last) == 0 12 | 13 | @JvmStatic 14 | fun nextBoolean(): Boolean = this.RANDOM.nextBoolean() 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/random/event/ConiumRandomEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.random.event 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | 6 | class ConiumRandomEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/registry/extend/ConiumDynamicIdList.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.registry.extend; 2 | 3 | public interface ConiumDynamicIdList { 4 | default void clearDynamic() { 5 | conium$clearDynamic(); 6 | } 7 | 8 | void conium$clearDynamic(); 9 | 10 | default void addDynamic(T value) { 11 | conium$add(value); 12 | } 13 | 14 | void conium$add(T value); 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/registry/extend/ConiumDynamicRegistry.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.registry.extend; 2 | 3 | import net.minecraft.registry.RegistryKey; 4 | import net.minecraft.registry.entry.RegistryEntry; 5 | import net.minecraft.util.Identifier; 6 | 7 | import java.util.function.Supplier; 8 | 9 | @SuppressWarnings("unchecked") 10 | public interface ConiumDynamicRegistry { 11 | default void clearDynamic() { 12 | conium$clearDynamic(); 13 | } 14 | 15 | void conium$clearDynamic(); 16 | 17 | default RegistryKey getKey(Identifier identifier) { 18 | return (RegistryKey) conium$getKey(identifier); 19 | } 20 | 21 | RegistryKey conium$getKey(Identifier identifier); 22 | 23 | default boolean isPresent(Identifier identifier) { 24 | return conium$isPresent(identifier); 25 | } 26 | 27 | boolean conium$isPresent(Identifier identifier); 28 | } 29 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/script/eval/ScriptEval.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.script.eval 2 | 3 | class ScriptEval(val codes: String, val source: String, vararg val defaultImports: String) 4 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/script/field/SharedField.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.script.field 2 | 3 | abstract class SharedField { 4 | abstract fun toStatement(exportName: String): String 5 | } 6 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/script/field/SharedFieldByJvm.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.script.field 2 | 3 | import com.github.cao.awa.conium.parameter.ParameterSelective1 4 | import kotlin.reflect.KClass 5 | 6 | class SharedFieldByJvm(val type: KClass<*>, val name: String, val value: ParameterSelective1) : SharedField() { 7 | override fun toStatement(exportName: String): String { 8 | val builder = StringBuilder() 9 | 10 | builder.append("val ") 11 | builder.append(this.name) 12 | builder.append(":") 13 | builder.append(this.type.simpleName) 14 | builder.append(" get()=") 15 | builder.append("Manipulate.cast(accessExportedField(this,") 16 | builder.append("\"${exportName}\"") 17 | builder.append(",") 18 | builder.append("\"${this.name}\"") 19 | builder.append("))\n") 20 | 21 | return builder.toString() 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/script/field/SharedFieldByStatement.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.script.field 2 | 3 | class SharedFieldByStatement(private val statement: String) : SharedField() { 4 | override fun toStatement(exportName: String): String = "${this.statement}\n" 5 | } 6 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/script/field/SharedFieldHandler.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.script.field 2 | 3 | import com.github.cao.awa.conium.parameter.ParameterSelective1 4 | import com.github.cao.awa.conium.script.ScriptExport 5 | import com.github.cao.awa.sinuatum.util.collection.CollectionFactor 6 | import kotlin.reflect.KClass 7 | 8 | class SharedFieldHandler { 9 | private val fields: HashMap = CollectionFactor.hashMap() 10 | 11 | operator fun invoke(name: String, type: KClass, value: ParameterSelective1) { 12 | this.fields[name] = SharedFieldByJvm(type, name, value) 13 | } 14 | 15 | operator fun invoke(name: String, statement: String) { 16 | this.fields[name] = SharedFieldByStatement(statement) 17 | } 18 | 19 | operator fun invoke(export: ScriptExport) { 20 | export.fields = this.fields 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/script/interaction/NamedInteractionScript.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.script.interaction 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.context.arising.ConiumArisingEventContext 5 | 6 | @JvmRecord 7 | data class NamedInteractionScript(val name: String, val context: ConiumArisingEventContext<*>, val result: (Any) -> R) -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/script/javascript/std/collection/array/Array.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.script.javascript.std.collection.array 2 | 3 | abstract class Array { 4 | abstract operator fun get(index: Int): T 5 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/script/javascript/std/collection/iterator/JavascriptIterator.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.script.javascript.std.collection.iterator 2 | 3 | class JavascriptIterator(private val delegate: MutableIterator): MutableIterator> { 4 | val done: Boolean get() = hasNext() 5 | 6 | override operator fun next(): JavascriptIteratorResult { 7 | if (hasNext()) { 8 | return JavascriptIteratorResult(false, this.delegate.next()) 9 | } else { 10 | return JavascriptIteratorResult(true, null) 11 | } 12 | } 13 | 14 | override fun remove(): Unit = this.delegate.remove() 15 | 16 | override operator fun hasNext(): Boolean = this.delegate.hasNext() 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/script/javascript/std/collection/iterator/JavascriptIteratorResult.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.script.javascript.std.collection.iterator 2 | 3 | class JavascriptIteratorResult(val done: Boolean, val value: V?) 4 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/script/kts/KotlinScriptProvider.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.script.kts 2 | 3 | import com.github.cao.awa.conium.script.provider.ConiumScriptProvider 4 | 5 | class KotlinScriptProvider: ConiumScriptProvider() { 6 | override fun eval(code: String) { 7 | TODO("Not yet implemented") 8 | } 9 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/script/provider/ConiumScriptProvider.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.script.provider 2 | 3 | abstract class ConiumScriptProvider { 4 | abstract fun eval(code: String) 5 | } -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/server/datapack/ConiumContentDatapack.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.server.datapack 2 | 3 | import com.github.cao.awa.sinuatum.util.collection.CollectionFactor 4 | import net.minecraft.util.Identifier 5 | 6 | class ConiumContentDatapack(val identifier: Identifier) { 7 | val contents: MutableMap = CollectionFactor.linkedHashMap() 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/server/datapack/ConiumServerLoadDatapacks.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.server.datapack 2 | 3 | import com.github.cao.awa.sinuatum.util.collection.CollectionFactor 4 | import net.minecraft.util.Identifier 5 | 6 | class ConiumServerLoadDatapacks { 7 | val datapacks: MutableMap = CollectionFactor.hashMap() 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/server/event/random/ConiumServerRandomEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.server.event.random 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | 6 | class ConiumServerRandomEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/server/event/tick/ConiumServerTickEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.server.event.tick 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | 6 | class ConiumServerTickEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/server/event/tick/ConiumServerTickTailEventMetadata.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.server.event.tick 2 | 3 | import com.github.cao.awa.conium.event.context.ConiumEventContext 4 | import com.github.cao.awa.conium.event.metadata.ConiumEventMetadata 5 | 6 | class ConiumServerTickTailEventMetadata(val context: ConiumEventContext) : ConiumEventMetadata() 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/sprint/SprintMovementEntity.java: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.sprint; 2 | 3 | public interface SprintMovementEntity { 4 | default boolean canStartSprint() { 5 | return conium$canStartSprint(); 6 | } 7 | 8 | default void setCanStartSprint(boolean canStartSprint) { 9 | conium$setCanStartSprint(canStartSprint); 10 | } 11 | 12 | boolean conium$canStartSprint(); 13 | void conium$setCanStartSprint(boolean canStartSprint); 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/template/ConiumTemplateCreator.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.template 2 | 3 | import com.google.gson.JsonElement 4 | import net.minecraft.registry.RegistryWrapper 5 | 6 | @JvmRecord 7 | data class ConiumTemplateCreator( 8 | val name: String, 9 | val subtype: String, 10 | val factor: ConiumTemplateFactor, 11 | val isBedrock: Boolean 12 | ) { 13 | val notBedrock: Boolean get() = !this.isBedrock 14 | 15 | fun createResult(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): Result> = this.factor.createResult(element, registryLookup) 16 | 17 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumTemplate<*, *> = this.factor.create(element, registryLookup) 18 | } 19 | -------------------------------------------------------------------------------- /common/src/main/java/com/github/cao/awa/conium/template/ConiumTemplateFactor.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.conium.template 2 | 3 | import com.google.gson.JsonElement 4 | import net.minecraft.registry.RegistryWrapper 5 | 6 | fun interface ConiumTemplateFactor { 7 | fun createResult(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): Result> = runCatching { create(element, registryLookup) } 8 | 9 | fun create(element: JsonElement, registryLookup: RegistryWrapper.WrapperLookup): ConiumTemplate<*, *> 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/resources/META-INF/jars/fluxia-1.1.4-fix3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/common/src/main/resources/META-INF/jars/fluxia-1.1.4-fix3.jar -------------------------------------------------------------------------------- /common/src/main/resources/assets/conium/banner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # ______ _ 3 | # .' ___ | (_) 4 | # / .' \_| .--. _ .--. __ __ _ _ .--..--. 5 | # | | / .'`\ \[ `.-. | [ |[ | | | [ `.-. .-. | 6 | # \ `.___.'\| \__. | | | | | | | | \_/ |, | | | | | | 7 | # `.____ .' '.__.' [___||__][___]'.__.'_/[___||__||__] 8 | # 9 | # v1.0.0-alpha11 10 | # -------------------------------------------------------------------------------- /common/src/main/resources/assets/conium/config/default.conium.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "enable_debug": false, 3 | "enable_bedrock_script": true 4 | } -------------------------------------------------------------------------------- /common/src/main/resources/assets/conium/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/common/src/main/resources/assets/conium/icon.png -------------------------------------------------------------------------------- /common/src/main/resources/assets/conium/scripts/conium.bedrock.commons.kts: -------------------------------------------------------------------------------- 1 | import com.github.cao.awa.conium.bedrock.index.* 2 | import com.github.cao.awa.conium.script.index.* 3 | 4 | ScriptExport( 5 | "ConiumBedrockCommons", 6 | { handler -> 7 | handler("world", AbstractBedrockWorld::class, BedrockEventContext::accessWorld) 8 | } 9 | ) 10 | -------------------------------------------------------------------------------- /common/src/main/resources/assets/conium/scripts/conium.bedrock.script.init.kts: -------------------------------------------------------------------------------- 1 | import com.github.cao.awa.conium.bedrock.index.* 2 | import com.github.cao.awa.conium.script.index.* 3 | 4 | request( 5 | SERVER_TICK 6 | ) { server -> 7 | BedrockEventContext.system.tick(server) 8 | 9 | true 10 | } 11 | 12 | // IMPORT: ConiumBedrockCommons 13 | -------------------------------------------------------------------------------- /common/src/main/resources/assets/conium/scripts/conium.commons.kts: -------------------------------------------------------------------------------- 1 | import com.github.cao.awa.conium.script.index.* 2 | import com.github.cao.awa.conium.mapping.yarn.* 3 | import com.github.cao.awa.conium.mapping.yarn.reference.* 4 | 5 | ScriptExport("ConiumCommons") 6 | -------------------------------------------------------------------------------- /common/src/main/resources/conium.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | 3 | accessible method net/minecraft/block/entity/BlockEntityType create (Ljava/lang/String;Lnet/minecraft/block/entity/BlockEntityType$BlockEntityFactory;[Lnet/minecraft/block/Block;)Lnet/minecraft/block/entity/BlockEntityType; 4 | accessible method net/minecraft/block/Blocks register (Lnet/minecraft/registry/RegistryKey;Ljava/util/function/Function;Lnet/minecraft/block/AbstractBlock$Settings;)Lnet/minecraft/block/Block; 5 | -------------------------------------------------------------------------------- /document/script/kotlin/dynamic-register/README.md: -------------------------------------------------------------------------------- 1 | # Dynamic register 2 | Use ``register`` method to register elements in script context. -------------------------------------------------------------------------------- /fabric/gradle.properties: -------------------------------------------------------------------------------- 1 | loom.platform = fabric 2 | platform_name = fabric 3 | -------------------------------------------------------------------------------- /fabric/src/main/java/com/github/cao/awa/coniumic/Coniumic.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.coniumic 2 | 3 | import com.github.cao.awa.conium.Conium 4 | import com.github.cao.awa.conium.feature.ConiumFeatureRegister 5 | import com.github.cao.awa.coniumic.feature.ConiumFabricFeatureRegister 6 | import net.fabricmc.api.ModInitializer 7 | import org.apache.logging.log4j.LogManager 8 | 9 | class Coniumic : ModInitializer { 10 | companion object { 11 | private val LOGGER = LogManager.getLogger("Coniumic") 12 | } 13 | 14 | override fun onInitialize() { 15 | LOGGER.info("Conium fabric bootstrap running") 16 | 17 | Conium().onInitialize() 18 | 19 | ConiumFeatureRegister.IMPL = ConiumFabricFeatureRegister() 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /fabric/src/main/resources/conium.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | 3 | accessible method net/minecraft/block/entity/BlockEntityType create (Ljava/lang/String;Lnet/minecraft/block/entity/BlockEntityType$BlockEntityFactory;[Lnet/minecraft/block/Block;)Lnet/minecraft/block/entity/BlockEntityType; 4 | accessible method net/minecraft/block/Blocks register (Lnet/minecraft/registry/RegistryKey;Ljava/util/function/Function;Lnet/minecraft/block/AbstractBlock$Settings;)Lnet/minecraft/block/Block; -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /neoforge/gradle.properties: -------------------------------------------------------------------------------- 1 | loom.platform = neoforge 2 | platform_name = neoforge -------------------------------------------------------------------------------- /neoforge/src/main/java/com/github/cao/awa/neoconium/Neoconium.kt: -------------------------------------------------------------------------------- 1 | package com.github.cao.awa.neoconium 2 | 3 | import com.github.cao.awa.conium.Conium 4 | import net.neoforged.api.distmarker.Dist 5 | import net.neoforged.bus.api.IEventBus 6 | import net.neoforged.bus.api.SubscribeEvent 7 | import net.neoforged.fml.common.Mod 8 | import net.neoforged.neoforge.common.NeoForge 9 | import net.neoforged.neoforge.network.event.RegisterPayloadHandlersEvent 10 | 11 | /** 12 | * Not supported yet now. 13 | */ 14 | @Mod("conium", dist = [Dist.CLIENT, Dist.DEDICATED_SERVER]) 15 | class Neoconium(bus: IEventBus) { 16 | init { 17 | Conium().onInitialize() 18 | 19 | NeoForge.EVENT_BUS.register(this) 20 | } 21 | 22 | @SubscribeEvent 23 | fun register(event: RegisterPayloadHandlersEvent) { 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /neoforge/src/main/resources/conium_transformer.cfg: -------------------------------------------------------------------------------- 1 | public net.minecraft.block.entity.BlockEntityType create(Ljava/lang/String;Lnet/minecraft/block/entity/BlockEntityType$BlockEntityFactory;[Lnet/minecraft/block/Block;)Lnet/minecraft/block/entity/BlockEntityType; 2 | public net.minecraft.block.Blocks register(Lnet/minecraft/registry/RegistryKey;Ljava/util/function/Function;Lnet/minecraft/block/AbstractBlock$Settings;)Lnet/minecraft/block/Block; -------------------------------------------------------------------------------- /planing/data-driven/bedrock.md: -------------------------------------------------------------------------------- 1 | # Bedrock data driven plans 2 | 3 | ## In feature 4 | Planning in feature to add 'menu_category' in item description. 5 | 6 | ## Entity template 7 | Add more entity templates support. -------------------------------------------------------------------------------- /sample/datapacks/block_entity_sample/README.md: -------------------------------------------------------------------------------- 1 | # Block entity sample 2 | Conium allows data-driven to load block entity data and could change data(or components) by the script. 3 | 4 | This sample is shown conium loading a block entity with two data ('test1'and'inc'), and requesting an event context, that lets data 'inc' increment when player used a block. 5 | 6 | 7 | -------------------------------------------------------------------------------- /sample/datapacks/block_entity_sample/data/awa/block/conium_block.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "awa:conium_block", 4 | "templates": { 5 | "enable_block_entity": "awa:conium_block", 6 | "data": { 7 | "test1": { 8 | "type": "string", 9 | "value": "www" 10 | }, 11 | "inc": { 12 | "type": "int", 13 | "value": 0 14 | }, 15 | "inventory":{ 16 | "type": "9x3", 17 | "ui": "generic9x3" 18 | } 19 | }, 20 | "block_entity_presets": { 21 | "output_redstone_power": { 22 | "depends":"on_used", 23 | "output_type": "once", 24 | "output_level": 7 25 | } 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /sample/datapacks/block_entity_sample/data/awa/script/conium_block_script.kts: -------------------------------------------------------------------------------- 1 | request( 2 | USE_BLOCK, 3 | SERVER_WORLD, 4 | BLOCK_ENTITY 5 | ) { block, world, blockEntity -> 6 | blockEntity as ConiumBlockEntity 7 | 8 | val currentValue: Int = blockEntity["inc"] as Int 9 | 10 | println("Current inc value is $currentValue") 11 | 12 | blockEntity["inc"] = currentValue + 1 13 | 14 | true 15 | } -------------------------------------------------------------------------------- /sample/datapacks/block_entity_sample/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "description": "Conium block entity test pack", 4 | "pack_format": 48 5 | } 6 | } -------------------------------------------------------------------------------- /sample/datapacks/foods/README.md: -------------------------------------------------------------------------------- 1 | # Foods 2 | Just foods. 3 | 4 | ## Notice 5 | This sample needs resource pack 'foods' in resourcespacks sample. -------------------------------------------------------------------------------- /sample/datapacks/foods/data/awa/item/conium_fire_apple.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "awa:conium_fire_apple", 4 | "templates": { 5 | "max_count": 64, 6 | "ignite": 5, 7 | "food": { 8 | "nutrition": 5, 9 | "saturation": 1.0, 10 | "can_always_eat": true 11 | }, 12 | "glint": true, 13 | "rarity": "epic" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /sample/datapacks/foods/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "description": "Food!", 4 | "pack_format": 48 5 | } 6 | } -------------------------------------------------------------------------------- /sample/datapacks/tests/data/awa/block/bedrock_block.json: -------------------------------------------------------------------------------- 1 | { 2 | "minecraft:block": { 3 | "description": { 4 | "identifier": "awa:bedrock_block" 5 | }, 6 | "components": { 7 | "minecraft:destructible_by_mining": { 8 | "seconds_to_destroy": 3 9 | }, 10 | "minecraft:map_color": "#ffffff", 11 | "minecraft:light_emission": 15, 12 | "minecraft:collision_box": { 13 | "origin": [ 14 | -8, 15 | 0, 16 | -8 17 | ], 18 | "size": [ 19 | 5, 20 | 5, 21 | 5 22 | ] 23 | } 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /sample/datapacks/tests/data/awa/block/conium_block.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "awa:conium_block", 4 | "templates": { 5 | "hardness": 10, 6 | "map_color": "#FF0000", 7 | "replaceable": true, 8 | "piston_behavior": "ignore", 9 | "walk_velocity": 0.1, 10 | "luminance": 5, 11 | "collision": { 12 | "origin": [ 13 | 0, 14 | 0, 15 | 0 16 | ], 17 | "size": [ 18 | 5, 19 | 5, 20 | 5 21 | ] 22 | }, 23 | "path_find_through": { 24 | "land": true, 25 | "water": true, 26 | "air": true 27 | }, 28 | "enable_block_entity": "awa:conium_block", 29 | "data": { 30 | "test1": { 31 | "type": "string", 32 | "value": "www" 33 | }, 34 | "inc": { 35 | "type": "int", 36 | "value": 0 37 | } 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /sample/datapacks/tests/data/awa/entity/bedrock_entity.json: -------------------------------------------------------------------------------- 1 | { 2 | "minecraft:entity" : { 3 | "description": { 4 | "identifier": "awa:bedrock_entity" 5 | }, 6 | "components": { 7 | "minecraft:collision_box": { 8 | "height": 1, 9 | "width": 1 10 | }, 11 | "minecraft:pushable": { 12 | "is_pushable": true, 13 | "is_pushable_by_piston": true 14 | } 15 | }, 16 | "component_groups": { 17 | "awa:g1": { 18 | "minecraft:collision_box": { 19 | "height": 2, 20 | "width": 2 21 | } 22 | }, 23 | "awa:g2": { 24 | "minecraft:collision_box": { 25 | "height": 3, 26 | "width": 3 27 | } 28 | } 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /sample/datapacks/tests/data/awa/property/item/flint.json: -------------------------------------------------------------------------------- 1 | { 2 | "target": "minecraft:flint", 3 | "components": [ 4 | { 5 | "type": "conium:test", 6 | "value": 1234 7 | } 8 | ] 9 | } -------------------------------------------------------------------------------- /sample/datapacks/tests/data/awa/recipe/test_furnace.json: -------------------------------------------------------------------------------- 1 | { 2 | "minecraft:recipe_furnace": { 3 | "description": { 4 | "identifier": "awa:test_recipe2" 5 | }, 6 | "tags": [ 7 | "furnace", 8 | "blast_furnace" 9 | ], 10 | "group": "wood", 11 | "input": "minecraft:bedrock", 12 | "output": { 13 | "item": "minecraft:grass_block", 14 | "count": 4 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample/datapacks/tests/data/awa/recipe/test_recipe.json: -------------------------------------------------------------------------------- 1 | { 2 | "minecraft:recipe_shaped": { 3 | "description": { 4 | "identifier": "awa:test_recipe" 5 | }, 6 | "group": "wood", 7 | "pattern": [ 8 | "###", 9 | " # " 10 | ], 11 | "key": { 12 | "#": { 13 | "item": "minecraft:bedrock" 14 | } 15 | }, 16 | "result": { 17 | "item": "minecraft:grass_block" 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /sample/datapacks/tests/data/awa/recipe/test_recipe2.json: -------------------------------------------------------------------------------- 1 | { 2 | "minecraft:recipe_shapeless": { 3 | "description": { 4 | "identifier": "awa:test_recipe2" 5 | }, 6 | "group": "wood", 7 | "ingredients": [ 8 | "minecraft:grass_block", 9 | "minecraft:grass_block", 10 | "minecraft:grass_block" 11 | ], 12 | "result": { 13 | "item": "minecraft:diamond_block" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/datapacks/tests/data/awa/script/interaction.kts: -------------------------------------------------------------------------------- 1 | export( 2 | "awa:test_glint", 3 | false, 4 | ITEM_USED_ON_BLOCK, 5 | ITEM_USAGE_CONTEXT 6 | ) { item, context -> 7 | return@export (context.player?.isCreative ?: false) 8 | } 9 | 10 | request( 11 | USE_BLOCK, 12 | SERVER_WORLD, 13 | BLOCK_ENTITY 14 | ) { block, world, blockEntity -> 15 | (blockEntity as? ConiumBlockEntity).let { 16 | val currentValue: Int = it["inc"] 17 | 18 | println("Current inc value is $currentValue") 19 | 20 | it["inc"] = currentValue + 1 21 | } 22 | true 23 | } -------------------------------------------------------------------------------- /sample/datapacks/tests/data/awa/script/test.ts: -------------------------------------------------------------------------------- 1 | import { world, system } from "@minecraft/server"; 2 | 3 | const context = world.beforeEvents.itemUseOn.subscribe((event: ItemUseOnBeforeEvent) => { 4 | if (event.itemStack.typeId === "minecraft:stick") { 5 | event.source.runCommand("/say Hello Conium!"); 6 | } 7 | }); 8 | 9 | world.beforeEvents.itemUseOn.subscribe((event: ItemUseOnBeforeEvent) => { 10 | if (event.itemStack.typeId === "minecraft:diamond") { 11 | event.source.runCommand("/say Bye Bedrock!"); 12 | 13 | world.beforeEvents.itemUseOn.unsubscribe(context); 14 | 15 | event.cancel = true; 16 | } 17 | }); 18 | 19 | 20 | -------------------------------------------------------------------------------- /sample/datapacks/tests/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "description": "Conium general test pack", 4 | "pack_format": 48 5 | } 6 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/acanthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:acanthite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/albite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:albite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/alunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:alunite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/anorthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:anorthite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/autunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:autunite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/axle.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:axle", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/bauxite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:bauxite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/carnotite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:carnotite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/chalcopyrite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:chalcopyrite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/cobbled_andesite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:cobbled_andesite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/cobbled_diorite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:cobbled_diorite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/cobbled_granite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:cobbled_granite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/cuprite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:cuprite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/deepslate_acanthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:deepslate_acanthite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/deepslate_autunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:deepslate_autunite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/deepslate_bauxite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:deepslate_bauxite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/deepslate_carnotite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:deepslate_carnotite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/deepslate_chalcopyrite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:deepslate_chalcopyrite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/deepslate_cuprite.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:deepslate_cuprite", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/deepslate_galena.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:deepslate_galena", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/galena.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:galena", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/limestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:limestone", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/block/marble.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:marble", 4 | "templates": { 5 | "hardness": 1.5 6 | } 7 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/item/kindling.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:kindling", 4 | "templates": { 5 | "used_on_block_convert_to": { 6 | "block": "minecraft:fire", 7 | "result": { 8 | "item": "minecraft:lit_kindling", 9 | "count": 1 10 | } 11 | }, 12 | "consume_on_used": { 13 | "used_on_block": "minecraft:fire" 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/item/lit_kindling.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_style": "conium", 3 | "identifier": "trtr:lit_kindling", 4 | "templates": { 5 | "ignite": 100, 6 | "consume_on_used": { 7 | "used_on_entity": true 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/configured_feature/ore_acanthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:ore", 3 | "config": { 4 | "discard_chance_on_air_exposure": 0.3, 5 | "size": 8, 6 | "targets": [ 7 | { 8 | "state": { 9 | "Name": "trtr:acanthite" 10 | }, 11 | "target": { 12 | "predicate_type": "minecraft:tag_match", 13 | "tag": "minecraft:stone_ore_replaceables" 14 | } 15 | }, 16 | { 17 | "state": { 18 | "Name": "trtr:deepslate_acanthite" 19 | }, 20 | "target": { 21 | "predicate_type": "minecraft:tag_match", 22 | "tag": "minecraft:deepslate_ore_replaceables" 23 | } 24 | } 25 | ] 26 | } 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/configured_feature/ore_autunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:ore", 3 | "config": { 4 | "discard_chance_on_air_exposure": 0.3, 5 | "size": 8, 6 | "targets": [ 7 | { 8 | "state": { 9 | "Name": "trtr:autunite" 10 | }, 11 | "target": { 12 | "predicate_type": "minecraft:tag_match", 13 | "tag": "minecraft:stone_ore_replaceables" 14 | } 15 | }, 16 | { 17 | "state": { 18 | "Name": "trtr:deepslate_autunite" 19 | }, 20 | "target": { 21 | "predicate_type": "minecraft:tag_match", 22 | "tag": "minecraft:deepslate_ore_replaceables" 23 | } 24 | } 25 | ] 26 | } 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/configured_feature/ore_bauxite.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:ore", 3 | "config": { 4 | "discard_chance_on_air_exposure": 0.3, 5 | "size": 8, 6 | "targets": [ 7 | { 8 | "state": { 9 | "Name": "trtr:bauxite" 10 | }, 11 | "target": { 12 | "predicate_type": "minecraft:tag_match", 13 | "tag": "minecraft:stone_ore_replaceables" 14 | } 15 | }, 16 | { 17 | "state": { 18 | "Name": "trtr:deepslate_bauxite" 19 | }, 20 | "target": { 21 | "predicate_type": "minecraft:tag_match", 22 | "tag": "minecraft:deepslate_ore_replaceables" 23 | } 24 | } 25 | ] 26 | } 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/configured_feature/ore_carnotite.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:ore", 3 | "config": { 4 | "discard_chance_on_air_exposure": 0.3, 5 | "size": 8, 6 | "targets": [ 7 | { 8 | "state": { 9 | "Name": "trtr:carnotite" 10 | }, 11 | "target": { 12 | "predicate_type": "minecraft:tag_match", 13 | "tag": "minecraft:stone_ore_replaceables" 14 | } 15 | }, 16 | { 17 | "state": { 18 | "Name": "trtr:deepslate_carnotite" 19 | }, 20 | "target": { 21 | "predicate_type": "minecraft:tag_match", 22 | "tag": "minecraft:deepslate_ore_replaceables" 23 | } 24 | } 25 | ] 26 | } 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/configured_feature/ore_chalcopyrite.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:ore", 3 | "config": { 4 | "discard_chance_on_air_exposure": 0.3, 5 | "size": 8, 6 | "targets": [ 7 | { 8 | "state": { 9 | "Name": "trtr:chalcopyrite" 10 | }, 11 | "target": { 12 | "predicate_type": "minecraft:tag_match", 13 | "tag": "minecraft:stone_ore_replaceables" 14 | } 15 | }, 16 | { 17 | "state": { 18 | "Name": "trtr:deepslate_chalcopyrite" 19 | }, 20 | "target": { 21 | "predicate_type": "minecraft:tag_match", 22 | "tag": "minecraft:deepslate_ore_replaceables" 23 | } 24 | } 25 | ] 26 | } 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/configured_feature/ore_cuprite.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:ore", 3 | "config": { 4 | "discard_chance_on_air_exposure": 0.3, 5 | "size": 8, 6 | "targets": [ 7 | { 8 | "state": { 9 | "Name": "trtr:cuprite" 10 | }, 11 | "target": { 12 | "predicate_type": "minecraft:tag_match", 13 | "tag": "minecraft:stone_ore_replaceables" 14 | } 15 | }, 16 | { 17 | "state": { 18 | "Name": "trtr:deepslate_cuprite" 19 | }, 20 | "target": { 21 | "predicate_type": "minecraft:tag_match", 22 | "tag": "minecraft:deepslate_ore_replaceables" 23 | } 24 | } 25 | ] 26 | } 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/configured_feature/ore_galena.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:ore", 3 | "config": { 4 | "discard_chance_on_air_exposure": 0.3, 5 | "size": 8, 6 | "targets": [ 7 | { 8 | "state": { 9 | "Name": "trtr:galena" 10 | }, 11 | "target": { 12 | "predicate_type": "minecraft:tag_match", 13 | "tag": "minecraft:stone_ore_replaceables" 14 | } 15 | }, 16 | { 17 | "state": { 18 | "Name": "trtr:deepslate_galena" 19 | }, 20 | "target": { 21 | "predicate_type": "minecraft:tag_match", 22 | "tag": "minecraft:deepslate_ore_replaceables" 23 | } 24 | } 25 | ] 26 | } 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/placed_feature/ore_acanthite_middle.json: -------------------------------------------------------------------------------- 1 | { 2 | "feature": "trtr:ore_acanthite", 3 | "placement": [ 4 | { 5 | "type": "minecraft:count", 6 | "count": 10 7 | }, 8 | { 9 | "type": "minecraft:in_square" 10 | }, 11 | { 12 | "type": "minecraft:height_range", 13 | "height": { 14 | "type": "minecraft:trapezoid", 15 | "max_inclusive": { 16 | "absolute": 96 17 | }, 18 | "min_inclusive": { 19 | "absolute": -64 20 | } 21 | } 22 | }, 23 | { 24 | "type": "minecraft:biome" 25 | } 26 | ] 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/placed_feature/ore_autunite_middle.json: -------------------------------------------------------------------------------- 1 | { 2 | "feature": "trtr:ore_autunite", 3 | "placement": [ 4 | { 5 | "type": "minecraft:count", 6 | "count": 10 7 | }, 8 | { 9 | "type": "minecraft:in_square" 10 | }, 11 | { 12 | "type": "minecraft:height_range", 13 | "height": { 14 | "type": "minecraft:uniform", 15 | "max_inclusive": { 16 | "absolute": 48 17 | }, 18 | "min_inclusive": { 19 | "absolute": -64 20 | } 21 | } 22 | }, 23 | { 24 | "type": "minecraft:biome" 25 | } 26 | ] 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/placed_feature/ore_bauxite_middle.json: -------------------------------------------------------------------------------- 1 | { 2 | "feature": "trtr:ore_bauxite", 3 | "placement": [ 4 | { 5 | "type": "minecraft:count", 6 | "count": 64 7 | }, 8 | { 9 | "type": "minecraft:in_square" 10 | }, 11 | { 12 | "type": "minecraft:height_range", 13 | "height": { 14 | "type": "minecraft:uniform", 15 | "max_inclusive": { 16 | "absolute": 48 17 | }, 18 | "min_inclusive": { 19 | "absolute": -64 20 | } 21 | } 22 | }, 23 | { 24 | "type": "minecraft:biome" 25 | } 26 | ] 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/placed_feature/ore_carnotite_middle.json: -------------------------------------------------------------------------------- 1 | { 2 | "feature": "trtr:ore_carnotite", 3 | "placement": [ 4 | { 5 | "type": "minecraft:count", 6 | "count": 10 7 | }, 8 | { 9 | "type": "minecraft:in_square" 10 | }, 11 | { 12 | "type": "minecraft:height_range", 13 | "height": { 14 | "type": "minecraft:trapezoid", 15 | "max_inclusive": { 16 | "absolute": 96 17 | }, 18 | "min_inclusive": { 19 | "absolute": -64 20 | } 21 | } 22 | }, 23 | { 24 | "type": "minecraft:biome" 25 | } 26 | ] 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/placed_feature/ore_chalcopyrite_middle.json: -------------------------------------------------------------------------------- 1 | { 2 | "feature": "trtr:ore_chalcopyrite", 3 | "placement": [ 4 | { 5 | "type": "minecraft:count", 6 | "count": 10 7 | }, 8 | { 9 | "type": "minecraft:in_square" 10 | }, 11 | { 12 | "type": "minecraft:height_range", 13 | "height": { 14 | "type": "minecraft:trapezoid", 15 | "max_inclusive": { 16 | "absolute": 96 17 | }, 18 | "min_inclusive": { 19 | "absolute": -64 20 | } 21 | } 22 | }, 23 | { 24 | "type": "minecraft:biome" 25 | } 26 | ] 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/placed_feature/ore_cuprite_middle.json: -------------------------------------------------------------------------------- 1 | { 2 | "feature": "trtr:ore_cuprite", 3 | "placement": [ 4 | { 5 | "type": "minecraft:count", 6 | "count": 10 7 | }, 8 | { 9 | "type": "minecraft:in_square" 10 | }, 11 | { 12 | "type": "minecraft:height_range", 13 | "height": { 14 | "type": "minecraft:trapezoid", 15 | "max_inclusive": { 16 | "absolute": 96 17 | }, 18 | "min_inclusive": { 19 | "absolute": -64 20 | } 21 | } 22 | }, 23 | { 24 | "type": "minecraft:biome" 25 | } 26 | ] 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/data/trtr/worldgen/placed_feature/ore_galena_middle.json: -------------------------------------------------------------------------------- 1 | { 2 | "feature": "trtr:ore_galena", 3 | "placement": [ 4 | { 5 | "type": "minecraft:count", 6 | "count": 10 7 | }, 8 | { 9 | "type": "minecraft:in_square" 10 | }, 11 | { 12 | "type": "minecraft:height_range", 13 | "height": { 14 | "type": "minecraft:trapezoid", 15 | "max_inclusive": { 16 | "absolute": 96 17 | }, 18 | "min_inclusive": { 19 | "absolute": -64 20 | } 21 | } 22 | }, 23 | { 24 | "type": "minecraft:biome" 25 | } 26 | ] 27 | } -------------------------------------------------------------------------------- /sample/datapacks/trtr/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "description": "Trtr sample data pack", 4 | "pack_format": 48 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/foods/README.md: -------------------------------------------------------------------------------- 1 | # Foods 2 | Just foods. 3 | 4 | -------------------------------------------------------------------------------- /sample/resourcepacks/foods/assets/awa/items/conium_fire_apple.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "minecraft:model", 4 | "model": "awa:item/conium_fire_apple" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/foods/assets/awa/lang/en_us.json: -------------------------------------------------------------------------------- 1 | { 2 | "item.awa.conium_fire_apple": "Fire apple" 3 | } -------------------------------------------------------------------------------- /sample/resourcepacks/foods/assets/awa/models/item/conium_fire_apple.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:item/generated", 3 | "textures": { 4 | "layer0": "awa:item/conium_fire_apple" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/foods/assets/awa/textures/item/conium_fire_apple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/foods/assets/awa/textures/item/conium_fire_apple.png -------------------------------------------------------------------------------- /sample/resourcepacks/foods/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "description": "Food!", 4 | "pack_format": 48 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/tests/assets/awa/lang/en_us.json: -------------------------------------------------------------------------------- 1 | { 2 | "item.awa.conium": "A conium", 3 | "item.awa.bedrock": "A bedrock" 4 | } -------------------------------------------------------------------------------- /sample/resourcepacks/tests/assets/awa/models/item/bedrock.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:item/generated", 3 | "textures": { 4 | "layer0": "awa:item/bedrock" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/tests/assets/awa/models/item/conium.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:item/generated", 3 | "textures": { 4 | "layer0": "awa:item/conium" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/tests/assets/awa/textures/entity/bat_v2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/tests/assets/awa/textures/entity/bat_v2.png -------------------------------------------------------------------------------- /sample/resourcepacks/tests/assets/awa/textures/item/bedrock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/tests/assets/awa/textures/item/bedrock.png -------------------------------------------------------------------------------- /sample/resourcepacks/tests/assets/awa/textures/item/conium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/tests/assets/awa/textures/item/conium.png -------------------------------------------------------------------------------- /sample/resourcepacks/tests/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "description": "Test resource pack", 4 | "pack_format": 48 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/acanthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/acanthite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/albite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/albite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/alunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/alunite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/anorthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/anorthite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/autunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/autunite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/axle.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/axle" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/bauxite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/bauxite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/carnotite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/carnotite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/chalcopyrite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/chalcopyrite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/cobbled_andesite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/cobbled_andesite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/cobbled_diorite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/cobbled_diorite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/cobbled_granite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/cobbled_granite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/cuprite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/cuprite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/deepslate_acanthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/deepslate_acanthite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/deepslate_autunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/deepslate_autunite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/deepslate_bauxite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/deepslate_bauxite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/deepslate_carnotite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/deepslate_carnotite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/deepslate_chalcopyrite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/deepslate_chalcopyrite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/deepslate_cuprite.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/deepslate_cuprite" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/deepslate_galena.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/deepslate_galena" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/galena.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/galena" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/limestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/limestone" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/blockstates/marble.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "trtr:block/marble" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/acanthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/acanthite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/albite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/albite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/alunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/alunite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/anorthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/anorthite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/autunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/autunite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/axle.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/axle" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/bauxite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/bauxite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/carnotite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/carnotite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/chalcopyrite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/chalcopyrite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/cobbled_andesite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/cobbled_andesite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/cobbled_diorite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/cobbled_diorite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/cobbled_granite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/cobbled_granite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/cuprite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/cuprite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/deepslate_acanthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/deepslate_acanthite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/deepslate_autunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/deepslate_autunite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/deepslate_bauxite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/deepslate_bauxite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/deepslate_carnotite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/deepslate_carnotite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/deepslate_chalcopyrite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/deepslate_chalcopyrite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/deepslate_cuprite.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/deepslate_cuprite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/deepslate_galena.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/deepslate_galena" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/galena.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/galena" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/limestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/limestone" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/items/marble.json: -------------------------------------------------------------------------------- 1 | { 2 | "model": { 3 | "type": "model", 4 | "model": "trtr:block/marble" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/acanthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/acanthite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/albite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/albite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/alunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/alunite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/anorthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/anorthite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/autunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/autunite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/axle.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/limestone" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/bauxite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/bauxite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/carnotite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/carnotite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/chalcopyrite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/chalcopyrite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/cobbled_andesite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/cobbled_andesite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/cobbled_diorite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/cobbled_diorite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/cobbled_granite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/cobbled_granite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/cuprite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/cuprite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/deepslate_acanthite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/deepslate_acanthite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/deepslate_autunite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/deepslate_autunite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/deepslate_bauxite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/deepslate_bauxite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/deepslate_carnotite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/deepslate_carnotite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/deepslate_chalcopyrite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/deepslate_chalcopyrite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/deepslate_cuprite.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/deepslate_cuprite" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/deepslate_galena.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/deepslate_galena" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/galena.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/galena" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/limestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/limestone" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/models/block/marble.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "trtr:block/marble" 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/acanthite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/acanthite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/albite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/albite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/alunite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/alunite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/anorthite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/anorthite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/autunite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/autunite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/axle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/axle.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/bauxite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/bauxite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/carnotite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/carnotite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/chalcopyrite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/chalcopyrite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/cobbled_andesite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/cobbled_andesite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/cobbled_diorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/cobbled_diorite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/cobbled_granite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/cobbled_granite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/cuprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/cuprite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_acanthite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_acanthite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_autunite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_autunite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_bauxite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_bauxite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_carnotite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_carnotite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_chalcopyrite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_chalcopyrite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_cuprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_cuprite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_galena.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_galena.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_ilmenite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_ilmenite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_magnetite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_magnetite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_pitchblende.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/deepslate_pitchblende.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/frying_pan_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/frying_pan_bottom.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/frying_pan_side.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/frying_pan_side.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/frying_pan_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/frying_pan_top.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/galena.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/galena.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/halite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/halite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/ilmenite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/ilmenite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/limestone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/limestone.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/magnetite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/magnetite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/malachite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/malachite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/marble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/marble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/mud_stove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/mud_stove.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/niter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/niter.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/no_flint_gravel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/no_flint_gravel.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/orthoclase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/orthoclase.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/pitchblende.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/pitchblende.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/block/rutile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/block/rutile.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/acacia_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/acacia_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/andesite_pebble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/andesite_pebble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/birch_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/birch_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/branch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/branch.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/cherry_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/cherry_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/crushed_andesite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/crushed_andesite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/crushed_diorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/crushed_diorite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/crushed_flint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/crushed_flint.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/crushed_granite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/crushed_granite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/crushed_stone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/crushed_stone.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/dark_oak_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/dark_oak_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/deepslate_pebble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/deepslate_pebble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/diorite_pebble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/diorite_pebble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/dirt_ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/dirt_ball.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/fibre_rope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/fibre_rope.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/flint_axe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/flint_axe.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/flint_hoe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/flint_hoe.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/flint_knife.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/flint_knife.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/flint_spear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/flint_spear.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/granite_pebble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/granite_pebble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/jungle_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/jungle_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/kindling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/kindling.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/lit_kindling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/lit_kindling.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/mangrove_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/mangrove_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/oak_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/oak_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/pile_of_red_sand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/pile_of_red_sand.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/pile_of_sand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/pile_of_sand.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/plant_fibre.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/plant_fibre.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/sharp_flint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/sharp_flint.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/short_stick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/short_stick.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/spruce_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/spruce_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_axe_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_axe_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_hammer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_hammer.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_hammer_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_hammer_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_hilt_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_hilt_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_hoe_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_hoe_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_knife.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_knife.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_knife_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_knife_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_pebble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_pebble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_pickaxe_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_pickaxe_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_powder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_powder.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_shovel_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_shovel_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_spear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_spear.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/assets/trtr/textures/item/stone_sword_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr/assets/trtr/textures/item/stone_sword_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "description": "Trtr sample resource pack", 4 | "pack_format": 48 5 | } 6 | } -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/deepslate_ilmenite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/deepslate_ilmenite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/deepslate_magnetite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/deepslate_magnetite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/deepslate_pitchblende.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/deepslate_pitchblende.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/frying_pan_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/frying_pan_bottom.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/frying_pan_side.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/frying_pan_side.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/frying_pan_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/frying_pan_top.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/halite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/halite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/ilmenite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/ilmenite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/limestone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/limestone.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/magnetite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/magnetite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/malachite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/malachite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/marble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/marble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/mud_stove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/mud_stove.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/niter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/niter.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/no_flint_gravel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/no_flint_gravel.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/orthoclase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/orthoclase.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/pitchblende.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/pitchblende.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/block/rutile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/block/rutile.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/acacia_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/acacia_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/andesite_pebble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/andesite_pebble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/birch_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/birch_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/branch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/branch.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/cherry_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/cherry_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/crushed_andesite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/crushed_andesite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/crushed_diorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/crushed_diorite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/crushed_flint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/crushed_flint.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/crushed_granite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/crushed_granite.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/crushed_stone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/crushed_stone.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/dark_oak_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/dark_oak_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/deepslate_pebble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/deepslate_pebble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/diorite_pebble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/diorite_pebble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/dirt_ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/dirt_ball.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/fibre_rope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/fibre_rope.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/flint_axe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/flint_axe.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/flint_hoe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/flint_hoe.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/flint_knife.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/flint_knife.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/flint_spear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/flint_spear.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/granite_pebble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/granite_pebble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/jungle_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/jungle_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/kindling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/kindling.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/lit_kindling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/lit_kindling.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/mangrove_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/mangrove_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/oak_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/oak_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/pile_of_red_sand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/pile_of_red_sand.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/pile_of_sand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/pile_of_sand.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/plant_fibre.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/plant_fibre.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/plant_stem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/plant_stem.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/sharp_flint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/sharp_flint.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/short_stick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/short_stick.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/spruce_plank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/spruce_plank.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_axe_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_axe_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_hammer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_hammer.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_hammer_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_hammer_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_hilt_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_hilt_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_hoe_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_hoe_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_knife.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_knife.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_knife_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_knife_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_pebble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_pebble.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_pickaxe_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_pickaxe_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_powder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_powder.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_shovel_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_shovel_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_spear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_spear.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_sword_part.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cao-awa/Conium/5f81db34705b06d029a7800f7452867d9991f85d/sample/resourcepacks/trtr_done/assets/trtr/textures/item/stone_sword_part.png -------------------------------------------------------------------------------- /sample/resourcepacks/trtr_done/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "description": "Trtr sample resource pack", 4 | "pack_format": 48 5 | } 6 | } -------------------------------------------------------------------------------- /sample/test.ts: -------------------------------------------------------------------------------- 1 | import { world, system, DimensionLocation } from "@minecraft/server"; 2 | 3 | function countdown(targetLocation: DimensionLocation) { 4 | const players = world.getPlayers(); 5 | 6 | players[0].onScreenDisplay.setTitle("Get ready!", { 7 | stayDuration: 220, 8 | fadeInDuration: 2, 9 | fadeOutDuration: 4, 10 | subtitle: "10", 11 | }); 12 | 13 | let countdown = 10; 14 | 15 | const intervalId = system.runInterval(() => { 16 | countdown--; 17 | players[0].onScreenDisplay.updateSubtitle(countdown.toString()); 18 | 19 | if (countdown == 0) { 20 | system.clearRun(intervalId); 21 | } 22 | }, 20); 23 | } -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | maven { url = 'https://maven.fabricmc.net/' } 4 | maven { url = 'https://maven.neoforged.net/releases' } 5 | maven { url "https://maven.architectury.dev/" } 6 | gradlePluginPortal() 7 | } 8 | } 9 | 10 | rootProject.name = 'conium' 11 | 12 | include 'common' 13 | include 'fabric' 14 | include 'neoforge' 15 | --------------------------------------------------------------------------------