net.minecraftforge.common

## Class MinecartRegistry.MinecartKey

- java.lang.Object
- - net.minecraftforge.common.MinecartRegistry.MinecartKey

- Enclosing class:
    MinecartRegistry

      public static class MinecartRegistry.MinecartKey
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `Class<? extends EntityMinecart>` | `minecart`
    `int` | `type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MinecartRegistry.MinecartKey(Class<? extends EntityMinecart> cls, int typtID)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `int` | `hashCode()`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### minecart

          public final Class<? extends EntityMinecart> minecart

    - #### type

          public final int type

  - ### Constructor Detail

    - #### MinecartRegistry.MinecartKey

          public MinecartRegistry.MinecartKey(Class<? extends EntityMinecart> cls,
                                      int typtID)

  - ### Method Detail

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`