跳到正文

Ashen’s Datapack Athenaeum

作者:Ashen_Arrow

Datapacks made easy

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

What It Is:

ADA is a datapack built for easier datapack making.

Features:

  • 100+ scoreboards to store data and statistics.
  • Tons of tags to make datapacks easier to make.
  • Tons of predicates for easier datapack making.
  • Raycasting engine to make guns, longer sight, etc.
  • Projectiles with motion engine to make custom projectiles easily.
  • Create custom blocks instantly with block displays.
  • Customizable settings.
  • Command to clear the chat.
  • Test dummys.
  • Command to delete all entities from the world except for certain entities such as block – displays, armor stands, players, etc.
  • Math, such as multiplication, division, logarithm, and more.
  • Randomizers
  • And more!

How To Use:

Players

Drag this datapack in the datapack folder with any other datapacks that require this one.

Creators

Use this datapack in your datapack folder and make your own datapack in the same folder. This datapack allows you to make your own datapack and use the tags, predicates, engines, and more from my datapack (without copying code). When you publish your datapack, make sure you leave a link to this datapack, because your datapack will require this one to be installed. Look below for tutorials.

Tutorials:

Getting Started

Inside of your load file, put this string of code to detect if ADA is installed:

execute if score check installed matches 1 run say My Datapack

Create a new mcfunction file, you will then run this mcfunction if ADA is installed from your load file using this line of code:

execute if score check installed matches 1 run function [​namespace]:[​mcfunction]

Inside of [​namespace], put your namespace. Inside of [​mcfunction], put your new mcfunction file name.

Custom Blocks

First create a custom block display model using block display studio. Click the link HERE to use it.

Once you’ve created your custom model, make a new mcfunction file called place. Inside of the place.mcfunction file, put your summon command for your custom model. After your summon command, put this command:

function ub:block_displays/apply_block/block

Run your place function in a Minecraft world, and enjoy your custom block!

Gun

First, create a new scoreboard that detects when you right click a carrot on a stick:

scoreboard objectives add shoot minecraft.used:carrot_on_a_stick

Inside of your tick file, put this command:

execute as @a at @s if score @s shoot matches 1.. at @s run function ub:raycast/classic/start_raycast

The command will detect if the score shoot matches 1 and it will shoot a bullet. To reset the score after you shoot, use this command:

execute as @a at @s if score @s shoot matches 1.. run scoreboard players set @s shoot 0

You are now finished with the gun, if you want to see bullet trails use this command:

/function ub:settings/raycast/trail/on
Boat Launcher

First, create a new scoreboard that detects when you right click a warped fungus on a stick:

scoreboard objectives add launch minecraft.used:warped_fungus_on_a_stick

Inside of your tick file, put this command:

execute as @a at @s if score @s launch matches 1.. at @s run function ub:custom_projectiles/custom/throw {custom_projectile:"minecraft:boat"}

The command will detect if the score launch matches 1 and it will shoot a boat. To reset the score after you shoot, use this command:

execute as @a at @s if score @s launch matches 1.. run scoreboard players set @s launch 0

Enjoy Launching Boats!

You can replace “minecraft:boat”, with any entity you want.

YouTube Rank

You can give yourself YouTube rank by typing the command below:

function ub:ranks/give_rank {rank:"youtuber"}
All Ranks

owner

helper

user

streamer

master

expert

killer

bot

afk

banned

noob

Thank you for using ADA!

常见问题

Ashen’s Datapack Athenaeum 支持哪些 Minecraft 版本?

Ashen’s Datapack Athenaeum 支持 Minecraft Java 版 1.20.4。下载时注意选择和你游戏版本一致的文件。

Ashen’s Datapack Athenaeum 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Ashen_Arrow 的其他作品

查看全部 →