Creates a new Textfield, using the original super constructor. @param id The id of the Textfield. Currently, only used, to identify textfield by iterating though all textfields. @param x The x-location of the Textfield. @param y The y-location of the Textfie
(int id, int x, int y, int width, int height, int maxStringLength)
| 26 | * @param maxStringLength The Max Length the Text of the Textfield can have. |
| 27 | */ |
| 28 | public Textfield(int id, int x, int y, int width, int height, int maxStringLength) { |
| 29 | super(id, ((Variables) MinecraftFactory.getVars()).getFontrenderer(), x, y, width, height); |
| 30 | this.width = width; |
| 31 | this.height = height; |
| 32 | setMaxStringLength(maxStringLength); |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Creates a new Textfield, using the original super constructor and 32 as max String length. |
nothing calls this directly
no test coverage detected