Skip to content

Commit

Permalink
Merge branch '1.19.x' into 1.20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Sep 13, 2024
2 parents 1067113 + ef3fe91 commit c63a8c3
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 53 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// 1.20.1 2023-12-14T22:24:33.8524886 Registrate Provider for create_jetpack [Recipes, Advancements, Loot Tables, Tags (blocks), Tags (items), Tags (fluids), Tags (entity_types), Blockstates, Item models, Lang (en_us/en_ud)]
// 1.20.1 2024-09-13T10:27:23.1037164 Registrate Provider for create_jetpack [Recipes, Advancements, Loot Tables, Tags (blocks), Tags (items), Tags (fluids), Tags (entity_types), Blockstates, Item models, Lang (en_us/en_ud)]
673a48952547e61209ce76274272e9c4e05c8189 assets/create_jetpack/blockstates/jetpack.json
ba8e314e1e6dbb6c25dd5e837cef04f8d96412a1 assets/create_jetpack/blockstates/netherite_jetpack.json
8fc46b31bb026ff32b7fd81282d80fe74294d823 assets/create_jetpack/lang/en_ud.json
48f8d6961c693a1d279b084961196134511d7874 assets/create_jetpack/lang/en_us.json
a2f5d170a0eb9d1686d1c97de51bdb52eee864af assets/create_jetpack/lang/en_ud.json
6ddfd5b5dd3936d400790105f3eb7aca1572d326 assets/create_jetpack/lang/en_us.json
bd5c42a96cb08087f0d25032556133e56a265410 assets/create_jetpack/models/block/jetpack.json
a9f4853187ae09ad01356339f4acf9b3e8189ebd assets/create_jetpack/models/block/netherite_jetpack.json
0ce5da71b5721fc16e0368dd0e1214de5a56fab3 assets/create_jetpack/models/item/jetpack.json
6c53b1a6ed28929b7a0a090edf6101e610f842fc assets/create_jetpack/models/item/jetpack_placeable.json
f01edd57ce03744767e9ab7b7e68c80d9834a50c assets/create_jetpack/models/item/netherite_jetpack.json
6c53b1a6ed28929b7a0a090edf6101e610f842fc assets/create_jetpack/models/item/netherite_jetpack_placeable.json
45715b49eb3f91a62054f6c2a9d82115b8e188fb data/create/tags/items/pressurized_air_sources.json
5ed56d93c148c56074a3b6ac38087d3019ef249a data/create_jetpack/loot_tables/blocks/jetpack.json
f8aafebedfbb7eb6ae616ef02ceb65d53836cb34 data/create_jetpack/loot_tables/blocks/netherite_jetpack.json
04e37ca748611d77665e04326b133ad24f1e10a5 data/create_jetpack/loot_tables/blocks/jetpack.json
81f9ea6d670c6740c897b98d16301ff51c3860c1 data/create_jetpack/loot_tables/blocks/netherite_jetpack.json
45715b49eb3f91a62054f6c2a9d82115b8e188fb data/minecraft/tags/blocks/mineable/pickaxe.json
14 changes: 0 additions & 14 deletions src/generated/resources/.cache/cache

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
"item.create_jetpack.netherite_jetpack.tooltip.control3": "]⅁[ ssǝɹԀ",
"item.create_jetpack.netherite_jetpack.tooltip.control4": "]H[ ssǝɹԀ",
"item.create_jetpack.netherite_jetpack.tooltip.summary": "ɹıɐ pǝzıɹnssǝɹd buısn uoıʇɐʇıʌǝן sʍoןןⱯ",
"item.create_jetpack.netherite_jetpack_placeable": "ǝןqɐǝɔɐןԀ ʞɔɐdʇǝſ ǝʇıɹǝɥʇǝN"
"item.create_jetpack.netherite_jetpack_placeable": "ǝןqɐǝɔɐןԀ ʞɔɐdʇǝſ ǝʇıɹǝɥʇǝN",
"key.categories.movement.jetpack": "ʞɔɐdʇǝſ ǝʇɐǝɹƆ"
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
"item.create_jetpack.netherite_jetpack.tooltip.control3": "Press [G]",
"item.create_jetpack.netherite_jetpack.tooltip.control4": "Press [H]",
"item.create_jetpack.netherite_jetpack.tooltip.summary": "Allows levitation using pressurized air",
"item.create_jetpack.netherite_jetpack_placeable": "Netherite Jetpack Placeable"
"item.create_jetpack.netherite_jetpack_placeable": "Netherite Jetpack Placeable",
"key.categories.movement.jetpack": "Create Jetpack"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:copy_name",
"source": "block_entity"
},
{
"function": "minecraft:copy_nbt",
"ops": [
Expand All @@ -31,9 +27,9 @@
"function": "minecraft:copy_nbt",
"ops": [
{
"op": "replace",
"source": "Enchantments",
"target": "Enchantments"
"op": "merge",
"source": "VanillaTag",
"target": "{}"
}
],
"source": "block_entity"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:copy_name",
"source": "block_entity"
},
{
"function": "minecraft:copy_nbt",
"ops": [
Expand All @@ -31,9 +27,9 @@
"function": "minecraft:copy_nbt",
"ops": [
{
"op": "replace",
"source": "Enchantments",
"target": "Enchantments"
"op": "merge",
"source": "VanillaTag",
"target": "{}"
}
],
"source": "block_entity"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import net.minecraft.world.level.block.Block
import net.minecraft.world.level.storage.loot.LootPool
import net.minecraft.world.level.storage.loot.LootTable
import net.minecraft.world.level.storage.loot.entries.LootItem
import net.minecraft.world.level.storage.loot.functions.CopyNameFunction
import net.minecraft.world.level.storage.loot.functions.CopyNbtFunction
import net.minecraft.world.level.storage.loot.predicates.ExplosionCondition
import net.minecraft.world.level.storage.loot.providers.nbt.ContextNbtProvider
Expand Down Expand Up @@ -125,14 +124,13 @@ object Content {
.setRolls(ConstantValue.exactly(1F))
.add(
LootItem.lootTableItem(getItem())
.apply(CopyNameFunction.copyName(CopyNameFunction.NameSource.BLOCK_ENTITY))
.apply(
CopyNbtFunction.copyData(ContextNbtProvider.BLOCK_ENTITY)
.copy("Air", "Air")
)
.apply(
CopyNbtFunction.copyData(ContextNbtProvider.BLOCK_ENTITY)
.copy("Enchantments", "Enchantments")
.copy("VanillaTag", "{}", CopyNbtFunction.MergeStrategy.MERGE)
)
)
)
Expand Down Expand Up @@ -190,6 +188,8 @@ object Content {
fun register(modBus: IEventBus) {
REGISTRATE.registerEventListeners(modBus)

REGISTRATE.addRawLang("key.categories.movement.jetpack", "Create Jetpack")

LOADING_CONTEXT.registerConfig(ModConfig.Type.COMMON, Configs.SERVER_SPEC)
LOADING_CONTEXT.registerConfig(ModConfig.Type.CLIENT, Configs.CLIENT_SPEC)

Expand Down

0 comments on commit c63a8c3

Please sign in to comment.