Skip to content

OpenBagTwo/chappeau

Repository files navigation

OpenBagTwo's Custom Items

This repo contains a resourcepack that adds custom items to the game without replacing the original items.

It requires no mods, and use of any datapacks is purely optional (the datapack in this repo allows you to obtain items in survival / without commands, and I strongly recommend the Armor Statues Datapack for infinite posability and placement possibilities). As such, it should be broadly compatible across recent versions of Java Minecraft.

The limitation is that these are items and as such, if you place them as blocks, they will lose all their NBT data and return to their default appearances.

The sections below list the commands to give yourself each custom item.

To display these items around your world, you have a few options. The first and most obvious is to place them in an item frame. You can then turn the item frame invisible using commands (with Armor Statues installed this is literally just /trigger if_invisble). Another option is to give your item to an armor stand, either to wear (if the item is a carved pumpkin) or to hold in their main hand / off-hand (you'll first need to use commands or the Armor Statues book to get an armor stand with arms). From there, armor statues can also be turned invisible using commands or the Armor Statues book. Finally, any items that replace carved pumpkins can be dispensed onto a mob's head.

Note that these commands are all for Minecraft 1.20.4 and below. The syntax is:

/give @s someitem[custom_model_data=somenumber]

for Minecraft 1.20.5-1.21.3

and

/give @s someitem[custom_model_data={floats:[somenumber]}]

for Minecraft 1.21.4+

Available Items

Caffeinated Beverages

Coffee (Small)

Base Item: Potion (any)

Custom Data Slot: 1

Command to Obtain: /give @s minecraft:potion{CustomModelData:1,Potion:"minecraft:swiftness"}

or any other potion effect

Coffee (Large)

Base Item: Potion (any)

Custom Data Slot: 2

Command to Obtain: /give @s minecraft:potion{CustomModelData:2,Potion:"minecraft:long_swiftness"}

or any other potion effect

Espresso

Base Item: Potion (any)

Custom Data Slot: 3

Command to Obtain: /give @s minecraft:potion{CustomModelData:3,Potion:"minecraft:strong_swiftness"}

or any other potion effect

Corrupted Cores

Aquarium Core

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 3

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:3}

"Filename" for 3D printing: aquarium_core.gcode

Fact Sphere

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 6

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:6}

"Filename" for 3D printing: fact_sphere.gcode

Morgan Freeman Core

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 4

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:4}

"Filename" for 3D printing: morgan_freeman_core.gcode

Rick (the Advenute Core)

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 7

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:7}

"Filename" for 3D printing: rick.gcode

Space Core

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 5

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:5}

"Filename" for 3D printing: space_core.gcode

Wheatley

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 2

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:2}

"Filename" for 3D printing: wheatley.gcode

Totems of HermitCraft

The twenty eight custom Totems of Undying created by u/BrazenWolf_ of the r/HermitCraft subreddit and representing the members of HermitCraft Season 9 are included are included in this resource pack.

Base Item: Totem of Undying

Custom Data Slot: 901-928

Example Command to Obtain: /give @s minecraft:totem_of_undying{CustomModelData:927} (for GrumBot)

"Filenames" for 3D printing:

  • bdubs.gcode
  • beef.gcode
  • cleo.gcode
  • cubfan.gcode
  • docm77.gcode
  • etho.gcode
  • false.gcode
  • gem.gcode
  • grian.gcode
  • hypno.gcode
  • ijevin.gcode
  • impulse.gcode
  • joehills.gcode
  • keralis.gcode
  • mumbo.gcode
  • pearl.gcode
  • renking.gcode
  • scar.gcode
  • stress.gcode
  • tango.gcode
  • tfc.gcode
  • welsknight.gcode
  • xb.gcode
  • xisuma.gcode
  • zedaph.gcode
  • impulsedwarf.gcode
  • grumbot.gcode

Hermit Eggs

The twenty custom Hermit eggs created by RubikOwl and Danny for iJevin's 2022 Egg Hunt are available both as wearable carved pumpkins and as throwable (chicken) eggs. The custom data slots are the same regardless.

Base Item: Carved Pumpkin (wearable) or Egg

Custom Data Slot: 2220-2239

Example Command to Obtain: /give @s minecraft:egg{CustomModelData:2227} (for Gregg, Grian's son)

"Filenames" for 3D printing:

  • gold.gcode
  • bdubs.gcode
  • beef.gcode
  • cleo.gcode
  • cubfan.gcode
  • docm77.gcode
  • false.gcode
  • grian.gcode
  • hypno.gcode
  • ijevin.gcode
  • impulse.gcode
  • joehills.gcode
  • pearl.gcode
  • scar.gcode
  • stress.gcode
  • welsknight.gcode
  • xb.gcode
  • xisuma.gcode
  • zedaph.gcode

(these should line up with the totem filenames for the participating Hermits)

Miscellaneous

Cursed Goomba (HIM)

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 1

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:1}

"Filename" for 3D printing: him.gcode

Double-Pointed Needles

Base Item: Stone or Iron Sword

Custom Data Slot: 1

Command to Obtain: /give @s minecraft:stone_sword{CustomModelData:1} (or substitute iron_sword)

"Filename" for 3D printing: dpn.gcode

Ghast Legs

Base Item: Ghast Tear

Custom Data Slot: 1

Command to Obtain: /give @s minecraft:ghast_tear{CustomModelData:1}

"Filename" for 3D Printing: ghast-legs.gcode

Special Note: this item is meant to complement the ghast head dropped via the More Mob Heads and Armor Statues datapacks from Vanilla Tweaks. Explicitly: after placing an armor stand, use the Statues book to give it arms, then set the pose to "Attention." Once that's done, place a ghast head on its head slot and a ghast legs in either hand slot. Set the stand to invisible, and you'll yourself a tiny floating ghast!

Infinity Armor Statue

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 1001

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:1001}

"Filename" for 3D printing: infinity_armor_statue.gcode

Infinity Armor (Helmet Only)

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 1002

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:1002}

"Filename" for 3D printing: infinity_armor_helmet.gcode

Andorian Wig

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 1701

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:1701}

"Filename" for 3D printing: andorian.gcode

Jameson-Type Cyborg

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 2001

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:2001}

Note: when placed on the head of an player, mob or item stand, this model will render on the ground next to the entity. This is intentional.

"Filename" for 3D printing: jameson.gcode

Little Cursed Goomba (Mini-Him)

Base Item: Brown Mushroom

Custom Data Slot: 1

Command to Obtain: /give @s minecraft:brown_mushroom{CustomModelData:1}

"Filename" for 3D printing: mini-him.gcode

Base Item: Ender Pearl

Custom Data Slot: 1

Command to Obtain: /give @s minecraft:ender_pearl{CustomModelData:1}

"Filename" for 3D printing: moonescent_pearl.gcode

Bonus: use an Eye of Ender instead to recieve a "5am Pearl"

Oddish

Base Item: Grass

Custom Data Slot: 1

Command to Obtain: /give @s minecraft:grass{CustomModelData:1}

"Filename" for 3D printing: oddish.gcode

Bonus: use seagrass instead of regular grass and you'll get a yellow oddish, which is part of OpenBagTwo family lore. Put in a radish beetroot instead, and you'll get a red variant dubbed an "Ancestor."

Shadow Dweller (OC)

Base Item: Carved Pumpkin (wearable)

Custom Data Slot: 1000

Command to Obtain: /give @s minecraft:carved_pumpkin{CustomModelData:1000}

"Filename" for 3D printing: shadow_dweller_mask.gcode

Steam Deck

Base Item: Poisonous Potato (please do not eat)

Custom Data Slot: 1

Command to Obtain: /give @s minecraft:poisonous_potato{CustomModelData:1}

"Filename" for 3D printing: steam_deck.gcode

Datapack (Optional)

This repo also contains a datapack for obtaining some of these items in survival.

Coffee and Espresso

With the datapack installed in your world, any brewing stand named "Hairo V60" or "Chemex" will brew coffee and espresso instead of potions (they'll all still have their original effects, just with custom names and textures).

"3D printing" custom items

To obtain any of the other custom items, craft a hopper and, using an anvil, name it "Enderman 3 Pro". Directly below where you place this hopper, place a glow item frame, face up.

Then, load any of the base (replaced) items listed above in the first slot, and in the second slot, place a piece of paper with the names listed for each item above (all will be lowercase, with underscores instead of spaces, and ending in ".gcode").

With the datapack running, the base item will then be removed from the hopper, and the custom item will appear on the heated bed glow item frame.

Credits and Acknowledgements

The Steam Deck was modeled by me, from scratch, in Blockbench.

The Cursed Goomba model is courtesy of Alesan99

Hermit Totem models and textures are provided courtesy of u/BrazenWolf_ and can be downloaded separately.

The model for Wheatley comes from bunbunny via sketchfab and is available under a Creative Commons Attribution license.

Several models were remapped and baked in Blender then converted using voxelizer. Most were either designed in or edited using Blockbench.

Textures were edited using a combination of Blockbench, PikoPixel and GIMP.

The resource pack structure was modeled after a template created by CraisinLord and demoed in this video.

The data pack structure takes cues from VanillaTweaks, specifically the "Silence Mobs" packs.

PearlescentMoon textures are all courtesy of PearlescentMoon.

The Hermit egg model and textures were extracted from the official Hermitcraft Season 9 world download obtained from the official website and were originally created by Danny.

Many thanks to the creators of this /give command generator as I was trying to suss out the correct syntax.

Some other tutorials and resources that were instrumental in the development of this datapack:

License

This resourcepack, datapack and their respecitve contents--including model assets and textures--are licensed by me (OpenBagTwo) under GPLv3. If you require a more permissive license, I recommend making your own pack and assets using the source material, templates, programs and tutorials linked above.