why doesn't this command use the current player as the default target?
private static final RiftCommand INSTANCE = new RiftCommand();
public static void register(@Nonnull CommandDispatcher<CommandSource> dispatcher) {
dispatcher.register(literal("rift")
.requires((commandSource) -> commandSource.hasPermission(2))
.then(argument("target", EntityArgument.player())
.executes(INSTANCE)) );
}
I've been working for over 2 days on migrating my mod from 1.15.2 to 1.16.4, but when I run the game and create a new world or open an existing world, this happens: https://paste.gg/p/anonymous/9e6e95fc5d2b48dcb2fb81a4f3212cef
I can't for the life of me figure out what's happening.
I need help. Please.
Edit: I can send any logs if necessary.
How would I generate loot table for structures?
For example, here's my code to generate block loot tables: https://paste.gg/p/anonymous/aa78cddf46914b20920c9210824acfb9
How would I adapt it for loot chests?
Hello, I'm trying to implement data gen for my custom sheep, and so far, I've just used the regular sheep's loot table.
How do I replicate the same behavior?
My original loot table: https://pastebin.com/UbZ1bgHv
My progress so far on the data gen version: https://pastebin.com/ajxaf1EE
Thanks!
Well - It now works.
But guess what? I discovered another problem!
Logging out and then in again clears the inventory of the block. Any idea why that may be?