File size: 591 Bytes
d46f4a3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package net.minecraft.gametest.framework;

import javax.annotation.Nullable;

class GameTestEvent {
    @Nullable
    public final Long expectedDelay;
    public final Runnable assertion;

    private GameTestEvent(@Nullable Long p_177092_, Runnable p_177093_) {
        this.expectedDelay = p_177092_;
        this.assertion = p_177093_;
    }

    static GameTestEvent create(Runnable p_177098_) {
        return new GameTestEvent(null, p_177098_);
    }

    static GameTestEvent create(long p_177095_, Runnable p_177096_) {
        return new GameTestEvent(p_177095_, p_177096_);
    }
}