Skip to content

Commit

Permalink
meta improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jul 22, 2020
1 parent e7568d4 commit 8afed58
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2043,7 +2043,7 @@ else if (attribute.startsWith("percent", 2)) {
// @returns ElementTag(Decimal)
// @mechanism PlayerTag.saturation
// @description
// Returns the current saturation of the player.
// Returns the current food saturation of the player.
// -->
registerOnlineOnlyTag("saturation", (attribute, object) -> {
return new ElementTag(object.getPlayerEntity().getSaturation());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public BurnCommand() {
//
// @Tags
// <EntityTag.fire_time>
// <EntityTag.on_fire>
//
// @Usage
// Use to set an entity on fire.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public CastCommand() {
// @Tags
// <EntityTag.has_effect[<effect>]>
// <server.potion_effect_types>
// <EntityTag.list_effects>
//
// @Usage
// Use to cast a level 1 effect onto the player.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public FeedCommand() {
// @Tags
// <PlayerTag.food_level>
// <PlayerTag.formatted_food_level>
// <PlayerTag.saturation>
//
// @Usage
// Use to feed the player for 5 foodpoints (or 2.5 bars).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public HealCommand() {
//
// @Tags
// <EntityTag.health>
// <EntityTag.health_max>
//
// @Usage
// Use to fully heal a player.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public HealthCommand() {
//
// @Tags
// <EntityTag.health>
// <EntityTag.health_max>
// <NPCTag.has_trait[health]>
//
// @Usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public RenameCommand() {
// Optionally specify "for:" a list of players when using per_player.
//
// @Tags
// <NPCTag.name>
// <EntityTag.name>
// <NPCTag.nickname>
//
// @Usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@ public FakeItemCommand() {
//
// @Description
// This command allows you to display an item in an inventory that is not really there.
//
// To make it automatically disappear at a specific time, use the 'duration:' argument.
// By default, it will use any inventory the player currently has open. To force it to use only the player's
// inventory, use the 'player_only' argument.
//
// By default, it will use any inventory the player currently has open.
// To force it to use only the player's inventory, use the 'player_only' argument.
//
// The slot argument can be any valid slot, see <@link language Slot Inputs>.
//
// @Tags
// None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ public InventoryCommand() {
// Note that to add items to an inventory, you should usually use <@link command give>,
// and to remove items from an inventory, you should usually use <@link command take>.
//
// The slot argument can be any valid slot, see <@link language Slot Inputs>.
//
// @Tags
// <PlayerTag.inventory>
// <PlayerTag.enderchest>
Expand Down

0 comments on commit 8afed58

Please sign in to comment.