mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-21 03:10:54 -04:00
Update to 1.14.3
This commit is contained in:
parent
f0d568005e
commit
39ff57de0b
3 changed files with 9 additions and 9 deletions
build.gradle
fabric-object-builders-v0/src/main/java/net/fabricmc/fabric
|
@ -12,8 +12,8 @@ plugins {
|
|||
def ENV = System.getenv()
|
||||
|
||||
def baseVersion = "0.3.0"
|
||||
def mcVersion = "1.14.3-pre2"
|
||||
def yarnVersion = "+build.2"
|
||||
def mcVersion = "1.14.3"
|
||||
def yarnVersion = "+build.1"
|
||||
|
||||
def getSubprojectVersion(project, version) {
|
||||
if (grgit == null) {
|
||||
|
|
|
@ -19,7 +19,7 @@ package net.fabricmc.fabric.api.entity;
|
|||
import net.fabricmc.fabric.impl.entity.FabricEntityType;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityCategory;
|
||||
import net.minecraft.entity.EntitySize;
|
||||
import net.minecraft.entity.EntityDimensions;
|
||||
import net.minecraft.entity.EntityType;
|
||||
import net.minecraft.world.World;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
|
@ -44,7 +44,7 @@ public class FabricEntityTypeBuilder<T extends Entity> {
|
|||
private int updateIntervalTicks = -1;
|
||||
private Boolean alwaysUpdateVelocity;
|
||||
private boolean immuneToFire = false;
|
||||
private EntitySize size = EntitySize.resizeable(-1.0f, -1.0f);
|
||||
private EntityDimensions size = EntityDimensions.changing(-1.0f, -1.0f);
|
||||
|
||||
protected FabricEntityTypeBuilder(EntityCategory category, EntityType.EntityFactory<T> function) {
|
||||
this.category = category;
|
||||
|
@ -83,15 +83,15 @@ public class FabricEntityTypeBuilder<T extends Entity> {
|
|||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link FabricEntityTypeBuilder#size(EntitySize)}
|
||||
* @deprecated Use {@link FabricEntityTypeBuilder#size(EntityDimensions)}
|
||||
*/
|
||||
@Deprecated
|
||||
public FabricEntityTypeBuilder<T> size(float width, float height) {
|
||||
this.size = EntitySize.resizeable(width, height);
|
||||
this.size = EntityDimensions.changing(width, height);
|
||||
return this;
|
||||
}
|
||||
|
||||
public FabricEntityTypeBuilder<T> size(EntitySize size) {
|
||||
public FabricEntityTypeBuilder<T> size(EntityDimensions size) {
|
||||
this.size = size;
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -19,14 +19,14 @@ package net.fabricmc.fabric.impl.entity;
|
|||
import com.mojang.datafixers.types.Type;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityCategory;
|
||||
import net.minecraft.entity.EntitySize;
|
||||
import net.minecraft.entity.EntityDimensions;
|
||||
import net.minecraft.entity.EntityType;
|
||||
|
||||
public class FabricEntityType<T extends Entity> extends EntityType<T> {
|
||||
private final int maxTrackDistance, trackTickInterval;
|
||||
private final Boolean alwaysUpdateVelocity;
|
||||
|
||||
public FabricEntityType(EntityFactory<T> entityType$EntityFactory_1, EntityCategory entityCategory_1, boolean boolean_1, boolean boolean_2, boolean boolean_3, Type<?> type_1, EntitySize entitySize_1, int maxTrackDistance, int trackTickInterval, Boolean alwaysUpdateVelocity) {
|
||||
public FabricEntityType(EntityFactory<T> entityType$EntityFactory_1, EntityCategory entityCategory_1, boolean boolean_1, boolean boolean_2, boolean boolean_3, Type<?> type_1, EntityDimensions entitySize_1, int maxTrackDistance, int trackTickInterval, Boolean alwaysUpdateVelocity) {
|
||||
super(entityType$EntityFactory_1, entityCategory_1, boolean_1, boolean_2, boolean_3, type_1, entitySize_1);
|
||||
this.maxTrackDistance = maxTrackDistance;
|
||||
this.trackTickInterval = trackTickInterval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue