Java Code Examples for net.minecraft.entity.EntityType#Builder
The following examples show how to use
net.minecraft.entity.EntityType#Builder .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MixinEntityTypeBuilder.java From patchwork-api with GNU Lesser General Public License v2.1 | 4 votes |
@SuppressWarnings("unchecked") public EntityType.Builder<T> setCustomClientFactory(BiFunction<FMLPlayMessages.SpawnEntity, World, T> customClientFactory) { this.customClientFactory = customClientFactory; return (EntityType.Builder) (Object) this; }
Example 2
Source File: MixinEntityTypeBuilder.java From patchwork-api with GNU Lesser General Public License v2.1 | 4 votes |
@Override public EntityType.Builder setUpdateInterval(int interval) { this.updateInterval = interval; return (EntityType.Builder) (Object) this; }
Example 3
Source File: MixinEntityTypeBuilder.java From patchwork-api with GNU Lesser General Public License v2.1 | 4 votes |
@Override public EntityType.Builder setTrackingRange(int range) { this.trackingRange = range; return (EntityType.Builder) (Object) this; }
Example 4
Source File: MixinEntityTypeBuilder.java From patchwork-api with GNU Lesser General Public License v2.1 | 4 votes |
@Override public EntityType.Builder setShouldReceiveVelocityUpdates(boolean value) { this.shouldRecieveVelocityUpdates = value; return (EntityType.Builder) (Object) this; }
Example 5
Source File: PatchworkEntityTypeBuilderExtensions.java From patchwork-api with GNU Lesser General Public License v2.1 | votes |
EntityType.Builder<T> setUpdateInterval(int interval);
Example 6
Source File: PatchworkEntityTypeBuilderExtensions.java From patchwork-api with GNU Lesser General Public License v2.1 | votes |
EntityType.Builder<T> setTrackingRange(int range);
Example 7
Source File: PatchworkEntityTypeBuilderExtensions.java From patchwork-api with GNU Lesser General Public License v2.1 | votes |
EntityType.Builder<T> setShouldReceiveVelocityUpdates(boolean value);