Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
A dropped torch now lights charcoal pits. Basics of Item size and wei…
…ght are in; lots of changes to registry stuff to accomodate itemBlocks. Only itemblocks are sized currently, will add to items next.
- Loading branch information
1 parent
025bf3e
commit 89bae36
Showing
19 changed files
with
509 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Work under Copyright. Licensed under the EUPL. | ||
* See the project README.md and LICENSE.txt for more information. | ||
* | ||
*/ | ||
|
||
package net.dries007.tfc.objects; | ||
|
||
public enum Size | ||
{ | ||
TINY("tiny", 64), | ||
VERY_SMALL("very_small", 32), | ||
SMALL("small", 16), | ||
NORMAL("normal", 8), | ||
LARGE("large", 4), | ||
VERY_LARGE("very_large", 2), | ||
HUGE("huge", 1); | ||
|
||
public final int stackSize; | ||
public final String name; | ||
|
||
Size(String name, int stackSize) | ||
{ | ||
this.name = name; | ||
this.stackSize = stackSize; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Work under Copyright. Licensed under the EUPL. | ||
* See the project README.md and LICENSE.txt for more information. | ||
* | ||
*/ | ||
|
||
package net.dries007.tfc.objects; | ||
|
||
public enum Weight | ||
{ | ||
LIGHT("light", 4), | ||
MEDIUM("medium", 2), | ||
HEAVY("heavy", 1); | ||
|
||
public final String name; | ||
public final int multiplier; | ||
|
||
Weight(String name, int multiplier) | ||
{ | ||
this.name = name; | ||
this.multiplier = multiplier; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.