Package net.minecraft

Class class_7264

All Implemented Interfaces:
class_7248, class_7265, Inventory, NamedScreenHandlerFactory, ScreenHandlerFactory, CommandOutput, Clearable, Nameable, EntityLike

public class class_7264 extends BoatEntity implements class_7248, class_7265
Mappings:
Namespace Name
official bsa
intermediary net/minecraft/class_7264
named net/minecraft/class_7264
  • Field Details

    • field_38207

      private static final int field_38207
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lbsa;f:I
      intermediary field_38207 Lnet/minecraft/class_7264;field_38207:I
      named field_38207 Lnet/minecraft/class_7264;field_38207:I
    • field_38204

      private DefaultedList<ItemStack> field_38204
      Mappings:
      Namespace Name Mixin selector
      official ao Lbsa;ao:Lgz;
      intermediary field_38204 Lnet/minecraft/class_7264;field_38204:Lnet/minecraft/class_2371;
      named field_38204 Lnet/minecraft/class_7264;field_38204:Lnet/minecraft/util/collection/DefaultedList;
    • field_38205

      @Nullable private @Nullable Identifier field_38205
      Mappings:
      Namespace Name Mixin selector
      official ap Lbsa;ap:Lza;
      intermediary field_38205 Lnet/minecraft/class_7264;field_38205:Lnet/minecraft/class_2960;
      named field_38205 Lnet/minecraft/class_7264;field_38205:Lnet/minecraft/util/Identifier;
    • field_38206

      private long field_38206
      Mappings:
      Namespace Name Mixin selector
      official aq Lbsa;aq:J
      intermediary field_38206 Lnet/minecraft/class_7264;field_38206:J
      named field_38206 Lnet/minecraft/class_7264;field_38206:J
  • Constructor Details

    • class_7264

      public class_7264(EntityType<? extends BoatEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Layg;<init>(Layk;Lccx;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
    • class_7264

      public class_7264(World world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbrz;<init>(Lccx;DDD)V
      intermediary <init> Lnet/minecraft/class_1690;<init>(Lnet/minecraft/class_1937;DDD)V
      named <init> Lnet/minecraft/entity/vehicle/BoatEntity;<init>(Lnet/minecraft/world/World;DDD)V
  • Method Details

    • method_42280

      protected float method_42280()
      Overrides:
      method_42280 in class BoatEntity
      Mappings:
      Namespace Name Mixin selector
      official n Lbrz;n()F
      intermediary method_42280 Lnet/minecraft/class_1690;method_42280()F
      named method_42280 Lnet/minecraft/entity/vehicle/BoatEntity;method_42280()F
    • method_42281

      protected int method_42281()
      Overrides:
      method_42281 in class BoatEntity
      Mappings:
      Namespace Name Mixin selector
      official t Lbrz;t()I
      intermediary method_42281 Lnet/minecraft/class_1690;method_42281()I
      named method_42281 Lnet/minecraft/entity/vehicle/BoatEntity;method_42281()I
    • writeCustomDataToNbt

      protected void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class BoatEntity
      Mappings:
      Namespace Name Mixin selector
      official b Layg;b(Los;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class BoatEntity
      Mappings:
      Namespace Name Mixin selector
      official a Layg;a(Los;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • method_42279

      public void method_42279(DamageSource damageSource)
      Overrides:
      method_42279 in class BoatEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbrz;a(Laxp;)V
      intermediary method_42279 Lnet/minecraft/class_1690;method_42279(Lnet/minecraft/class_1282;)V
      named method_42279 Lnet/minecraft/entity/vehicle/BoatEntity;method_42279(Lnet/minecraft/entity/damage/DamageSource;)V
    • interact

      public ActionResult interact(PlayerEntity player, Hand hand)
      Called when a player interacts with this entity.
      Overrides:
      interact in class BoatEntity
      Parameters:
      player - the player
      hand - the hand the player used to interact with this entity
      Mappings:
      Namespace Name Mixin selector
      official a Layg;a(Lbqi;Laxb;)Laxc;
      intermediary method_5688 Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interact Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • openInventory

      public void openInventory(PlayerEntity playerEntity)
      Specified by:
      openInventory in interface class_7248
      Mappings:
      Namespace Name Mixin selector
      official b Layp;b(Lbqi;)V
      intermediary method_6722 Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)V
      named openInventory Lnet/minecraft/class_7248;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)V
    • asItem

      public Item asItem()
      Overrides:
      asItem in class BoatEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lbrz;h()Lbwt;
      intermediary method_7557 Lnet/minecraft/class_1690;method_7557()Lnet/minecraft/class_1792;
      named asItem Lnet/minecraft/entity/vehicle/BoatEntity;asItem()Lnet/minecraft/item/Item;
    • clear

      public void clear()
      Specified by:
      clear in interface Clearable
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a()V
      intermediary method_5448 Lnet/minecraft/class_3829;method_5448()V
      named clear Lnet/minecraft/util/Clearable;clear()V
    • size

      public int size()
      Specified by:
      size in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official b Lawv;b()I
      intermediary method_5439 Lnet/minecraft/class_1263;method_5439()I
      named size Lnet/minecraft/inventory/Inventory;size()I
    • getStack

      public ItemStack getStack(int slot)
      Fetches the stack currently stored at the given slot. If the slot is empty, or is outside the bounds of this inventory, returns see ItemStack.EMPTY.
      Specified by:
      getStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lawv;a(I)Lbwx;
      intermediary method_5438 Lnet/minecraft/class_1263;method_5438(I)Lnet/minecraft/class_1799;
      named getStack Lnet/minecraft/inventory/Inventory;getStack(I)Lnet/minecraft/item/ItemStack;
    • removeStack

      public ItemStack removeStack(int slot, int amount)
      Removes a specific number of items from the given slot.
      Specified by:
      removeStack in interface Inventory
      Returns:
      the removed items as a stack
      Mappings:
      Namespace Name Mixin selector
      official a Lawv;a(II)Lbwx;
      intermediary method_5434 Lnet/minecraft/class_1263;method_5434(II)Lnet/minecraft/class_1799;
      named removeStack Lnet/minecraft/inventory/Inventory;removeStack(II)Lnet/minecraft/item/ItemStack;
    • removeStack

      public ItemStack removeStack(int slot)
      Removes the stack currently stored at the indicated slot.
      Specified by:
      removeStack in interface Inventory
      Returns:
      the stack previously stored at the indicated slot.
      Mappings:
      Namespace Name Mixin selector
      official b Lawv;b(I)Lbwx;
      intermediary method_5441 Lnet/minecraft/class_1263;method_5441(I)Lnet/minecraft/class_1799;
      named removeStack Lnet/minecraft/inventory/Inventory;removeStack(I)Lnet/minecraft/item/ItemStack;
    • setStack

      public void setStack(int slot, ItemStack stack)
      Specified by:
      setStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lawv;a(ILbwx;)V
      intermediary method_5447 Lnet/minecraft/class_1263;method_5447(ILnet/minecraft/class_1799;)V
      named setStack Lnet/minecraft/inventory/Inventory;setStack(ILnet/minecraft/item/ItemStack;)V
    • getStackReference

      public StackReference getStackReference(int mappedIndex)
      Obtains a stack reference to be modified. Used by commands like /loot or /item.
      Overrides:
      getStackReference in class Entity
      Parameters:
      mappedIndex - the mapped index as given by the item slot argument
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Layg;k(I)Lazm;
      intermediary method_32318 Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;
      named getStackReference Lnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
    • markDirty

      public void markDirty()
      Specified by:
      markDirty in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official e Lawv;e()V
      intermediary method_5431 Lnet/minecraft/class_1263;method_5431()V
      named markDirty Lnet/minecraft/inventory/Inventory;markDirty()V
    • canPlayerUse

      public boolean canPlayerUse(PlayerEntity player)
      Specified by:
      canPlayerUse in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lawv;a(Lbqi;)Z
      intermediary method_5443 Lnet/minecraft/class_1263;method_5443(Lnet/minecraft/class_1657;)Z
      named canPlayerUse Lnet/minecraft/inventory/Inventory;canPlayerUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • createMenu

      @Nullable public @Nullable ScreenHandler createMenu(int syncId, PlayerInventory inv, PlayerEntity player)
      Specified by:
      createMenu in interface ScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official createMenu Lbtt;createMenu(ILbqh;Lbqi;)Lbsq;
      intermediary createMenu Lnet/minecraft/class_1270;createMenu(ILnet/minecraft/class_1661;Lnet/minecraft/class_1657;)Lnet/minecraft/class_1703;
      named createMenu Lnet/minecraft/screen/ScreenHandlerFactory;createMenu(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
    • method_42282

      public void method_42282(@Nullable @Nullable PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      official d Lbsa;d(Lbqi;)V
      intermediary method_42282 Lnet/minecraft/class_7264;method_42282(Lnet/minecraft/class_1657;)V
      named method_42282 Lnet/minecraft/class_7264;method_42282(Lnet/minecraft/entity/player/PlayerEntity;)V
    • method_42276

      @Nullable public @Nullable Identifier method_42276()
      Specified by:
      method_42276 in interface class_7265
      Mappings:
      Namespace Name Mixin selector
      official x Lbsb;x()Lza;
      intermediary method_42276 Lnet/minecraft/class_7265;method_42276()Lnet/minecraft/class_2960;
      named method_42276 Lnet/minecraft/class_7265;method_42276()Lnet/minecraft/util/Identifier;
    • method_42275

      public void method_42275(@Nullable @Nullable Identifier identifier)
      Specified by:
      method_42275 in interface class_7265
      Mappings:
      Namespace Name Mixin selector
      official a Lbsb;a(Lza;)V
      intermediary method_42275 Lnet/minecraft/class_7265;method_42275(Lnet/minecraft/class_2960;)V
      named method_42275 Lnet/minecraft/class_7265;method_42275(Lnet/minecraft/util/Identifier;)V
    • method_42277

      public long method_42277()
      Specified by:
      method_42277 in interface class_7265
      Mappings:
      Namespace Name Mixin selector
      official y Lbsb;y()J
      intermediary method_42277 Lnet/minecraft/class_7265;method_42277()J
      named method_42277 Lnet/minecraft/class_7265;method_42277()J
    • method_42274

      public void method_42274(long long2)
      Specified by:
      method_42274 in interface class_7265
      Mappings:
      Namespace Name Mixin selector
      official a Lbsb;a(J)V
      intermediary method_42274 Lnet/minecraft/class_7265;method_42274(J)V
      named method_42274 Lnet/minecraft/class_7265;method_42274(J)V
    • method_42278

      public DefaultedList<ItemStack> method_42278()
      Specified by:
      method_42278 in interface class_7265
      Mappings:
      Namespace Name Mixin selector
      official z Lbsb;z()Lgz;
      intermediary method_42278 Lnet/minecraft/class_7265;method_42278()Lnet/minecraft/class_2371;
      named method_42278 Lnet/minecraft/class_7265;method_42278()Lnet/minecraft/util/collection/DefaultedList;
    • method_42273

      public void method_42273()
      Specified by:
      method_42273 in interface class_7265
      Mappings:
      Namespace Name Mixin selector
      official A Lbsb;A()V
      intermediary method_42273 Lnet/minecraft/class_7265;method_42273()V
      named method_42273 Lnet/minecraft/class_7265;method_42273()V