Get rid of all the nullable-nonnull stuff, warning huge diff

This commit is contained in:
Vincent Lee committed 2016-05-18 21:03:12 -05:00
1 parent bdf51cbc8b
commit 8fb3b886a8
344 files changed
+1603 -582

No files matched your search

@@ -16,6 +16,8 @@ import net.minecraft.entity.Entity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import javax.annotation.Nonnull;
// Same as RenderSnowball, but ItemStack sensitive
public class RenderSnowballStack<T extends Entity> extends RenderSnowball<T> {
@@ -26,6 +28,7 @@ public class RenderSnowballStack<T extends Entity> extends RenderSnowball<T> {
this.stackGetter = stackGetter;
}
@Nonnull
@Override
public ItemStack getStackToRender(T entity) {
return stackGetter.apply(entity);