mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 12:32:29 +00:00
- transformReplace() now gives the replacement item in the player inventory if it is part of a stack (instead of modifying the whole stack)
- Added noReturn() transformation to avoid any item from being returned. Suppressed programmed vanilla/mod behaviour to, for example, give a bucket back. - Added giveBack() and giveBack(item) transformation to return the item, or a replacement item, back into the inventory instead of the crafting table. Fixes fighting between transformations and default mod/vanilla behavior. - Fixed asterisks in multiline comments breaking script parsing. - Fixed removeShaped function not working properly if no ingredients are given - Fixed addAll for oredict entries in 1.7.10
This commit is contained in:
1 parent
56b8c9355c
commit
25b9589af7
34 files changed
+163
-59
No files matched your search
@@ -58,6 +58,9 @@ public interface IPlayer {
|
||||
@ZenGetter("adventure")
|
||||
public boolean isAdventure();
|
||||
|
||||
@ZenMethod
|
||||
public void give(IItemStack stack);
|
||||
|
||||
// not an exposed method. risks abuse
|
||||
public void openBrowser(String url);
|
||||
}
|
||||
Reference in new issue
Block a user